Skip to content

Commit

Permalink
Add more copyright notices
Browse files Browse the repository at this point in the history
  • Loading branch information
kauwua committed Dec 15, 2023
1 parent 05f6f89 commit 6c4b44c
Show file tree
Hide file tree
Showing 24 changed files with 395 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wch-ch56x-lib/memory/alloc.h
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
18 changes: 18 additions & 0 deletions src/wch-ch56x-lib/memory/pool.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_hspi/User/main.c
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_loopback/User/definitions.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_loopback/User/main.c
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_loopback/User/usb2_device_descriptors.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_loopback/User/usb3_device_descriptors.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_loopback/User/usb_device.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_serdes/User/main.c
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_unittests/User/main.c
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_unittests/User/test_interrupt_queue.h
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_unittests/User/test_memory_allocator.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_unittests/User/test_pool.h
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_unittests/User/test_usb_device.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_usb_loopback/User/definitions.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_usb_loopback/User/main.c
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_usb_loopback/User/usb2_device_descriptors.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_usb_loopback/User/usb3_device_descriptors.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/test_firmware_usb_loopback/User/usb_device.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Loading

0 comments on commit 6c4b44c

Please sign in to comment.