diff --git a/src/wch-ch56x-lib/memory/alloc.h b/src/wch-ch56x-lib/memory/alloc.h index 3cf0f4b..1632845 100644 --- a/src/wch-ch56x-lib/memory/alloc.h +++ b/src/wch-ch56x-lib/memory/alloc.h @@ -1,6 +1,6 @@ -/********************************** (C) COPYRIGHT -******************************* Copyright (c) 2020 Nicolas OBERLI -(HydraBus/HydraNFC) Copyright (c) 2023 Quarkslab +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2020 Nicolas OBERLI (HydraBus/HydraNFC) +Copyright (c) 2023 Quarkslab Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/wch-ch56x-lib/memory/pool.h b/src/wch-ch56x-lib/memory/pool.h index 2b9be24..933460f 100644 --- a/src/wch-ch56x-lib/memory/pool.h +++ b/src/wch-ch56x-lib/memory/pool.h @@ -1,3 +1,21 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + + +Licensed 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 HYDRA_POOL_H #define HYDRA_POOL_H diff --git a/tests/test_firmware_hspi/User/main.c b/tests/test_firmware_hspi/User/main.c index 03c0a81..4f01db7 100644 --- a/tests/test_firmware_hspi/User/main.c +++ b/tests/test_firmware_hspi/User/main.c @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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. + +*******************************************************************************/ + // Disable warnings in bsp arising from -pedantic -Wall -Wconversion #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/tests/test_firmware_loopback/User/definitions.h b/tests/test_firmware_loopback/User/definitions.h index 0653b75..703eea3 100644 --- a/tests/test_firmware_loopback/User/definitions.h +++ b/tests/test_firmware_loopback/User/definitions.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 DEFINITIONS_H #define DEFINITIONS_H diff --git a/tests/test_firmware_loopback/User/main.c b/tests/test_firmware_loopback/User/main.c index 6227336..fb19491 100644 --- a/tests/test_firmware_loopback/User/main.c +++ b/tests/test_firmware_loopback/User/main.c @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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. + +*******************************************************************************/ + // Disable warnings in bsp arising from -pedantic -Wall -Wconversion #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/tests/test_firmware_loopback/User/usb2_device_descriptors.h b/tests/test_firmware_loopback/User/usb2_device_descriptors.h index 563a341..165daec 100644 --- a/tests/test_firmware_loopback/User/usb2_device_descriptors.h +++ b/tests/test_firmware_loopback/User/usb2_device_descriptors.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 USB2_DEVICE_DESCRIPTOR_H #define USB2_DEVICE_DESCRIPTOR_H diff --git a/tests/test_firmware_loopback/User/usb3_device_descriptors.h b/tests/test_firmware_loopback/User/usb3_device_descriptors.h index e0c97f1..c7a7c28 100644 --- a/tests/test_firmware_loopback/User/usb3_device_descriptors.h +++ b/tests/test_firmware_loopback/User/usb3_device_descriptors.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 USB3_DEVICE_DESCRIPTOR_H #define USB3_DEVICE_DESCRIPTOR_H diff --git a/tests/test_firmware_loopback/User/usb_device.h b/tests/test_firmware_loopback/User/usb_device.h index 0062ee0..cdf4816 100644 --- a/tests/test_firmware_loopback/User/usb_device.h +++ b/tests/test_firmware_loopback/User/usb_device.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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_DEVICE_USER_H #define USB_DEVICE_USER_H diff --git a/tests/test_firmware_serdes/User/main.c b/tests/test_firmware_serdes/User/main.c index 5a36205..be20511 100644 --- a/tests/test_firmware_serdes/User/main.c +++ b/tests/test_firmware_serdes/User/main.c @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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. + +*******************************************************************************/ + // Disable warnings in bsp arising from -pedantic -Wall -Wconversion #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/tests/test_firmware_unittests/User/main.c b/tests/test_firmware_unittests/User/main.c index f5c3010..4a460ea 100644 --- a/tests/test_firmware_unittests/User/main.c +++ b/tests/test_firmware_unittests/User/main.c @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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. + +*******************************************************************************/ + // Disable warnings in bsp arising from -pedantic -Wall -Wconversion #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/tests/test_firmware_unittests/User/test_interrupt_queue.h b/tests/test_firmware_unittests/User/test_interrupt_queue.h index 5a3de80..ae10e18 100644 --- a/tests/test_firmware_unittests/User/test_interrupt_queue.h +++ b/tests/test_firmware_unittests/User/test_interrupt_queue.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 TEST_HYDRA_INTERRUPT_QUEUE_H #define TEST_HYDRA_INTERRUPT_QUEUE_H #include "wch-ch56x-lib/interrupt_queue/interrupt_queue.h" diff --git a/tests/test_firmware_unittests/User/test_memory_allocator.h b/tests/test_firmware_unittests/User/test_memory_allocator.h index 0a3cea4..fbc8b78 100644 --- a/tests/test_firmware_unittests/User/test_memory_allocator.h +++ b/tests/test_firmware_unittests/User/test_memory_allocator.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 TEST_MEMORY_ALLOCATOR_H #define TEST_MEMORY_ALLOCATOR_H diff --git a/tests/test_firmware_unittests/User/test_pool.h b/tests/test_firmware_unittests/User/test_pool.h index 8769212..bcd8bb3 100644 --- a/tests/test_firmware_unittests/User/test_pool.h +++ b/tests/test_firmware_unittests/User/test_pool.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 TEST_POOL_H #define TEST_POOL_H #include "wch-ch56x-lib/memory/pool.h" diff --git a/tests/test_firmware_unittests/User/test_usb_device.h b/tests/test_firmware_unittests/User/test_usb_device.h index 028ea5b..ecd1666 100644 --- a/tests/test_firmware_unittests/User/test_usb_device.h +++ b/tests/test_firmware_unittests/User/test_usb_device.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 TEST_USBDEVICE_H #define TEST_USBDEVICE_H diff --git a/tests/test_firmware_usb_loopback/User/definitions.h b/tests/test_firmware_usb_loopback/User/definitions.h index 9f573d6..b36e361 100644 --- a/tests/test_firmware_usb_loopback/User/definitions.h +++ b/tests/test_firmware_usb_loopback/User/definitions.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 DEFINITIONS_H #define DEFINITIONS_H diff --git a/tests/test_firmware_usb_loopback/User/main.c b/tests/test_firmware_usb_loopback/User/main.c index 797f253..de35c3b 100644 --- a/tests/test_firmware_usb_loopback/User/main.c +++ b/tests/test_firmware_usb_loopback/User/main.c @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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. + +*******************************************************************************/ + // Disable warnings in bsp arising from -pedantic -Wall -Wconversion #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/tests/test_firmware_usb_loopback/User/usb2_device_descriptors.h b/tests/test_firmware_usb_loopback/User/usb2_device_descriptors.h index 3468698..eed5e43 100644 --- a/tests/test_firmware_usb_loopback/User/usb2_device_descriptors.h +++ b/tests/test_firmware_usb_loopback/User/usb2_device_descriptors.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 USB2_DEVICE_DESCRIPTOR_H #define USB2_DEVICE_DESCRIPTOR_H diff --git a/tests/test_firmware_usb_loopback/User/usb3_device_descriptors.h b/tests/test_firmware_usb_loopback/User/usb3_device_descriptors.h index 1430bc0..8cf6c6b 100644 --- a/tests/test_firmware_usb_loopback/User/usb3_device_descriptors.h +++ b/tests/test_firmware_usb_loopback/User/usb3_device_descriptors.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 USB3_DEVICE_DESCRIPTOR_H #define USB3_DEVICE_DESCRIPTOR_H diff --git a/tests/test_firmware_usb_loopback/User/usb_device.h b/tests/test_firmware_usb_loopback/User/usb_device.h index 48693fd..04b1785 100644 --- a/tests/test_firmware_usb_loopback/User/usb_device.h +++ b/tests/test_firmware_usb_loopback/User/usb_device.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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_DEVICE_USER_H #define USB_DEVICE_USER_H diff --git a/tests/test_firmware_usb_speedtest/User/definitions.h b/tests/test_firmware_usb_speedtest/User/definitions.h index b203299..d219fc0 100644 --- a/tests/test_firmware_usb_speedtest/User/definitions.h +++ b/tests/test_firmware_usb_speedtest/User/definitions.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 DEFINITIONS_H #define DEFINITIONS_H diff --git a/tests/test_firmware_usb_speedtest/User/main.c b/tests/test_firmware_usb_speedtest/User/main.c index b4b1fdd..9502bad 100644 --- a/tests/test_firmware_usb_speedtest/User/main.c +++ b/tests/test_firmware_usb_speedtest/User/main.c @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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. + +*******************************************************************************/ + // Disable warnings in bsp arising from -pedantic -Wall -Wconversion #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/tests/test_firmware_usb_speedtest/User/usb2_device_descriptors.h b/tests/test_firmware_usb_speedtest/User/usb2_device_descriptors.h index d9d1a5a..3d45643 100644 --- a/tests/test_firmware_usb_speedtest/User/usb2_device_descriptors.h +++ b/tests/test_firmware_usb_speedtest/User/usb2_device_descriptors.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 USB2_DEVICE_DESCRIPTOR_H #define USB2_DEVICE_DESCRIPTOR_H diff --git a/tests/test_firmware_usb_speedtest/User/usb3_device_descriptors.h b/tests/test_firmware_usb_speedtest/User/usb3_device_descriptors.h index de5bf0d..ae64007 100644 --- a/tests/test_firmware_usb_speedtest/User/usb3_device_descriptors.h +++ b/tests/test_firmware_usb_speedtest/User/usb3_device_descriptors.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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 USB3_DEVICE_DESCRIPTOR_H #define USB3_DEVICE_DESCRIPTOR_H diff --git a/tests/test_firmware_usb_speedtest/User/usb_device.h b/tests/test_firmware_usb_speedtest/User/usb_device.h index 371a3a1..0eb8c5a 100644 --- a/tests/test_firmware_usb_speedtest/User/usb_device.h +++ b/tests/test_firmware_usb_speedtest/User/usb_device.h @@ -1,3 +1,20 @@ +/********************************** (C) COPYRIGHT ******************************* +Copyright (c) 2023 Quarkslab + +Licensed 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_DEVICE_USER_H #define USB_DEVICE_USER_H