Bläddra i källkod

add missing license

sakumisu 1 år sedan
förälder
incheckning
51b9640489

+ 5 - 0
demo/audio_v1_mic_multichan_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_audio.h"
 

+ 5 - 0
demo/audio_v1_mic_speaker_multichan_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_audio.h"
 

+ 5 - 0
demo/audio_v2_mic_multichan_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_audio.h"
 

+ 5 - 0
demo/audio_v2_mic_speaker_multichan_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_audio.h"
 

+ 5 - 0
demo/audio_v2_speaker_multichan_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_audio.h"
 

+ 5 - 0
demo/cdc_acm_hid_msc_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_msc.h"
 #include "usbd_cdc.h"

+ 5 - 0
demo/cdc_acm_msc_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_cdc.h"
 #include "usbd_msc.h"

+ 5 - 0
demo/cdc_acm_multi_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_cdc.h"
 

+ 5 - 0
demo/cdc_acm_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_cdc.h"
 

+ 5 - 0
demo/cdc_ecm_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_cdc_ecm.h"
 

+ 5 - 0
demo/cdc_rndis_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_rndis.h"
 

+ 5 - 0
demo/dfu_with_st_tool_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_dfu.h"
 

+ 5 - 0
demo/hid_keyboard_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_hid.h"
 

+ 5 - 0
demo/hid_mouse_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_hid.h"
 

+ 5 - 0
demo/midi_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usb_midi.h"
 

+ 5 - 0
demo/msc_ram_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_msc.h"
 

+ 5 - 0
demo/msc_storage_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_msc.h"
 

+ 3 - 20
demo/pic_data.h

@@ -1,24 +1,7 @@
-/**
- * @file pic_data.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.
+/*
+ * Copyright (c) 2024, sakumisu
  *
+ * SPDX-License-Identifier: Apache-2.0
  */
 #ifndef __PIC_DATA_H_
 #define __PIC_DATA_H_

+ 5 - 0
demo/usb_host.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbh_core.h"
 #include "usbh_cdc_acm.h"
 #include "usbh_hid.h"

+ 5 - 0
demo/video_static_mjpeg_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_video.h"
 #include "pic_data.h"

+ 5 - 0
demo/webusb_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 
 #define MS_OS_20_DESCRIPTOR_LENGTH (0xB2)

+ 5 - 0
demo/winusb1.0_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_cdc.h"
 

+ 5 - 0
demo/winusb2.0_cdc_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_cdc.h"
 

+ 5 - 0
demo/winusb2.0_hid_template.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 #include "usbd_hid.h"
 

+ 5 - 0
port/bouffalolab/usb_dc_bl.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "bflb_core.h"
 #include "usbd_core.h"
 #include "hardware/usb_v2_reg.h"

+ 5 - 0
port/dwc2/usb_glue_at.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usb_config.h"
 #include "stdint.h"
 #include "usb_dwc2_reg.h"

+ 5 - 0
port/dwc2/usb_glue_gd.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usb_config.h"
 #include "stdint.h"
 #include "usb_dwc2_reg.h"

+ 5 - 0
port/dwc2/usb_glue_st.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usb_config.h"
 #include "stdint.h"
 #include "usb_dwc2_reg.h"

+ 5 - 0
port/ehci/usb_glue_bouffalo.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2024, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "bflb_core.h"
 #include "usbh_core.h"
 #include "hardware/usb_v2_reg.h"

+ 6 - 0
port/ehci/usb_glue_hpm.c

@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2022 HPMicro
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
 #include "usbh_core.h"
 #include "hpm_common.h"
 #include "hpm_soc.h"

+ 5 - 0
port/fsdev/usb_dc_fsdev.c

@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2022, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
 #include "usbd_core.h"
 
 #ifndef CONFIG_USBDEV_FSDEV_PMA_ACCESS

+ 6 - 0
port/hpm/usb_dc_hpm.c

@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2022 HPMicro
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
 #include "usbd_core.h"
 #include "hpm_usb_device.h"