summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2022-01-15 17:11:38 +0800
committersakumisu <[email protected]>2022-01-15 17:13:57 +0800
commitc5bfeed867b07d5492e56093a9c16262301f05c3 (patch)
tree0e09c3fb7deef35d1083714552dd6386d0a2b176
parent95f3b81cfd375ba82cca90b601c5d835b7d2fddd (diff)
update license
-rw-r--r--class/audio/usbd_audio.c22
-rw-r--r--class/audio/usbd_audio.h26
-rw-r--r--class/cdc/usbd_cdc.c2
-rw-r--r--class/cdc/usbd_cdc.h27
-rw-r--r--class/dfu/usbd_dfu.c2
-rw-r--r--class/dfu/usbd_dfu.h22
-rw-r--r--class/hid/usbd_hid.c2
-rw-r--r--class/hid/usbd_hid.h23
-rw-r--r--class/hub/usbd_hub.c2
-rw-r--r--class/hub/usbd_hub.h22
-rw-r--r--class/msc/usbd_msc.c2
-rw-r--r--class/video/usbd_video.c2
-rw-r--r--class/video/usbd_video.h24
-rw-r--r--common/usb_dc.h22
-rw-r--r--common/usb_def.h22
-rw-r--r--common/usb_slist.h22
-rw-r--r--common/usb_util.h22
-rw-r--r--core/usbd_core.c2
-rw-r--r--core/usbd_core.h2
19 files changed, 231 insertions, 39 deletions
diff --git a/class/audio/usbd_audio.c b/class/audio/usbd_audio.c
index 521209c2..fe46d3d9 100644
--- a/class/audio/usbd_audio.c
+++ b/class/audio/usbd_audio.c
@@ -1,3 +1,25 @@
+/**
+ * @file usbd_audio.c
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ *
+ */
#include "usbd_core.h"
#include "usbd_audio.h"
diff --git a/class/audio/usbd_audio.h b/class/audio/usbd_audio.h
index d5030e5b..66cb58be 100644
--- a/class/audio/usbd_audio.h
+++ b/class/audio/usbd_audio.h
@@ -1,15 +1,25 @@
/**
- * @file
- * @brief USB Audio Device Class public header
+ * @file usbd_audio.h
+ * @brief
*
- * Header follows below documentation:
- * - USB Device Class Definition for Audio Devices (audio10.pdf)
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
- * Additional documentation considered a part of USB Audio v1.0:
- * - USB Device Class Definition for Audio Data Formats (frmts10.pdf)
- * - USB Device Class Definition for Terminal Types (termt10.pdf)
*/
-
#ifndef _USBD_AUDIO_H_
#define _USBD_AUDIO_H_
diff --git a/class/cdc/usbd_cdc.c b/class/cdc/usbd_cdc.c
index c93e9f86..c0bfd205 100644
--- a/class/cdc/usbd_cdc.c
+++ b/class/cdc/usbd_cdc.c
@@ -2,7 +2,7 @@
* @file usbd_cdc.c
* @brief
*
- * Copyright (c) 2021 Bouffalolab team
+ * Copyright (c) 2022 sakumisu
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/class/cdc/usbd_cdc.h b/class/cdc/usbd_cdc.h
index 1e71e5d5..cb8ceea0 100644
--- a/class/cdc/usbd_cdc.h
+++ b/class/cdc/usbd_cdc.h
@@ -1,14 +1,25 @@
/**
- * @file
- * @brief USB Communications Device Class (CDC) public header
+ * @file usbd_cdc.h
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
- * Header follows the Class Definitions for
- * Communications Devices Specification (CDC120-20101103-track.pdf),
- * PSTN Devices Specification (PSTN120.pdf) and
- * Ethernet Control Model Devices Specification (ECM120.pdf).
- * Header is limited to ACM and ECM Subclasses.
*/
-
#ifndef _USBD_CDC_H
#define _USBD_CDC_H
diff --git a/class/dfu/usbd_dfu.c b/class/dfu/usbd_dfu.c
index 1bdf7006..2842aaa9 100644
--- a/class/dfu/usbd_dfu.c
+++ b/class/dfu/usbd_dfu.c
@@ -2,7 +2,7 @@
* @file usbd_dfu.c
* @brief
*
- * Copyright (c) 2021 sakumisu
+ * Copyright (c) 2022 sakumisu
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/class/dfu/usbd_dfu.h b/class/dfu/usbd_dfu.h
index 6a380318..0206609f 100644
--- a/class/dfu/usbd_dfu.h
+++ b/class/dfu/usbd_dfu.h
@@ -1,9 +1,25 @@
/**
- * @file
- * @brief USB DFU Device Class public header
+ * @file usbd_dfu.h
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
*/
-
#ifndef _USBD_DFU_H_
#define _USBD_DFU_H_
diff --git a/class/hid/usbd_hid.c b/class/hid/usbd_hid.c
index e7b34fff..cbba6ab9 100644
--- a/class/hid/usbd_hid.c
+++ b/class/hid/usbd_hid.c
@@ -2,7 +2,7 @@
* @file usbd_hid.c
* @brief
*
- * Copyright (c) 2021 Bouffalolab team
+ * Copyright (c) 2022 sakumisu
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/class/hid/usbd_hid.h b/class/hid/usbd_hid.h
index 2d6d7a93..55037663 100644
--- a/class/hid/usbd_hid.h
+++ b/class/hid/usbd_hid.h
@@ -1,9 +1,24 @@
/**
- * @file
- * @brief USB Human Interface Device (HID) Class public header
+ * @file usbd_hid.h
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
- * Header follows Device Class Definition for Human Interface Devices (HID)
- * Version 1.11 document (HID1_11-1.pdf).
*/
#ifndef _USBD_HID_H_
#define _USBD_HID_H_
diff --git a/class/hub/usbd_hub.c b/class/hub/usbd_hub.c
index beafea69..f5968ce3 100644
--- a/class/hub/usbd_hub.c
+++ b/class/hub/usbd_hub.c
@@ -2,7 +2,7 @@
* @file usbd_hub.c
* @brief
*
- * Copyright (c) 2021 sakumisu
+ * Copyright (c) 2022 sakumisu
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/class/hub/usbd_hub.h b/class/hub/usbd_hub.h
index f5ad3e14..1bdb768f 100644
--- a/class/hub/usbd_hub.h
+++ b/class/hub/usbd_hub.h
@@ -1,9 +1,25 @@
/**
- * @file
- * @brief USB HUB Device Class public header
+ * @file usbd_hub.h
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
*/
-
#ifndef _USBD_HUB_H_
#define _USBD_HUB_H_
diff --git a/class/msc/usbd_msc.c b/class/msc/usbd_msc.c
index 98f820fa..563888d9 100644
--- a/class/msc/usbd_msc.c
+++ b/class/msc/usbd_msc.c
@@ -2,7 +2,7 @@
* @file usbd_msc.c
* @brief
*
- * Copyright (c) 2021 Bouffalolab team
+ * Copyright (c) 2022 sakumisu
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/class/video/usbd_video.c b/class/video/usbd_video.c
index 337b87cb..edf9cb9b 100644
--- a/class/video/usbd_video.c
+++ b/class/video/usbd_video.c
@@ -1,7 +1,7 @@
/**
* @file usbd_video.c
*
- * Copyright (c) 2021 Bouffalolab team
+ * Copyright (c) 2022 sakumisu
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/class/video/usbd_video.h b/class/video/usbd_video.h
index f68001e5..7fea7b97 100644
--- a/class/video/usbd_video.h
+++ b/class/video/usbd_video.h
@@ -1,11 +1,25 @@
/**
- * @file
- * @brief USB Video Device Class public header
+ * @file usbd_video.h
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
- * Header follows below documentation:
- * - USB Device Class Definition for Video Devices UVC 1.5 Class specification.pdf
*/
-
#ifndef _USBD_VIDEO_H_
#define _USBD_VIDEO_H_
diff --git a/common/usb_dc.h b/common/usb_dc.h
index 10efd9d2..139b0ae7 100644
--- a/common/usb_dc.h
+++ b/common/usb_dc.h
@@ -1,3 +1,25 @@
+/**
+ * @file usb_dc.h
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ *
+ */
#ifndef _USB_DC_H
#define _USB_DC_H
diff --git a/common/usb_def.h b/common/usb_def.h
index 30db83e9..f6b9cbda 100644
--- a/common/usb_def.h
+++ b/common/usb_def.h
@@ -1,3 +1,25 @@
+/**
+ * @file usb_def.h
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ *
+ */
#ifndef USB_DEF_H
#define USB_DEF_H
diff --git a/common/usb_slist.h b/common/usb_slist.h
index 093d845e..30b08538 100644
--- a/common/usb_slist.h
+++ b/common/usb_slist.h
@@ -1,3 +1,25 @@
+/**
+ * @file usb_slist.h
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ *
+ */
#ifndef __USB_SLIST_H__
#define __USB_SLIST_H__
diff --git a/common/usb_util.h b/common/usb_util.h
index 16f5a5c1..441d0a3f 100644
--- a/common/usb_util.h
+++ b/common/usb_util.h
@@ -1,3 +1,25 @@
+/**
+ * @file usb_util.h
+ * @brief
+ *
+ * Copyright (c) 2022 sakumisu
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ *
+ */
#ifndef _USB_UTIL_H
#define _USB_UTIL_H
diff --git a/core/usbd_core.c b/core/usbd_core.c
index 100842d3..37698c6b 100644
--- a/core/usbd_core.c
+++ b/core/usbd_core.c
@@ -2,7 +2,7 @@
* @file usbd_core.c
* @brief
*
- * Copyright (c) 2021 Bouffalolab team
+ * Copyright (c) 2022 sakumisu
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/core/usbd_core.h b/core/usbd_core.h
index 18b0dcdb..6b502aaa 100644
--- a/core/usbd_core.h
+++ b/core/usbd_core.h
@@ -1,7 +1,7 @@
/**
* @file usbd_core.h
*
- * Copyright (c) 2021 Bouffalolab team
+ * Copyright (c) 2022 sakumisu
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with