From a4f94c812a4da7254d31af4061a8f234a1e0e23d Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 23 May 2023 13:56:22 +1000 Subject: Annote E V E R Y T H I N G with license info --- src/drivers/CMakeLists.txt | 4 ++++ src/drivers/battery.cpp | 6 ++++++ src/drivers/dac.cpp | 6 ++++++ src/drivers/display.cpp | 6 ++++++ src/drivers/display_init.cpp | 6 ++++++ src/drivers/driver_cache.cpp | 6 ++++++ src/drivers/gpio_expander.cpp | 6 ++++++ src/drivers/i2c.cpp | 6 ++++++ src/drivers/include/a2dp_audio_output.hpp | 6 ++++++ src/drivers/include/battery.hpp | 6 ++++++ src/drivers/include/dac.hpp | 6 ++++++ src/drivers/include/display.hpp | 6 ++++++ src/drivers/include/display_init.hpp | 6 ++++++ src/drivers/include/driver_cache.hpp | 6 ++++++ src/drivers/include/fatfs_audio_input.hpp | 6 ++++++ src/drivers/include/gpio_expander.hpp | 6 ++++++ src/drivers/include/i2c.hpp | 6 ++++++ src/drivers/include/spi.hpp | 6 ++++++ src/drivers/include/storage.hpp | 6 ++++++ src/drivers/include/touchwheel.hpp | 6 ++++++ src/drivers/spi.cpp | 6 ++++++ src/drivers/storage.cpp | 6 ++++++ src/drivers/test/CMakeLists.txt | 4 ++++ src/drivers/test/test_battery.cpp | 6 ++++++ src/drivers/test/test_dac.cpp | 6 ++++++ src/drivers/test/test_gpio_expander.cpp | 6 ++++++ src/drivers/test/test_storage.cpp | 6 ++++++ src/drivers/touchwheel.cpp | 6 ++++++ 28 files changed, 164 insertions(+) (limited to 'src/drivers') diff --git a/src/drivers/CMakeLists.txt b/src/drivers/CMakeLists.txt index 072a8b68..8e130c3a 100644 --- a/src/drivers/CMakeLists.txt +++ b/src/drivers/CMakeLists.txt @@ -1,3 +1,7 @@ +# Copyright 2023 jacqueline +# +# SPDX-License-Identifier: GPL-3.0-only + idf_component_register( SRCS "touchwheel.cpp" "dac.cpp" "gpio_expander.cpp" "battery.cpp" "storage.cpp" "i2c.cpp" "spi.cpp" "display.cpp" "display_init.cpp" "driver_cache.cpp" diff --git a/src/drivers/battery.cpp b/src/drivers/battery.cpp index 8d747c07..91323312 100644 --- a/src/drivers/battery.cpp +++ b/src/drivers/battery.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "battery.hpp" #include diff --git a/src/drivers/dac.cpp b/src/drivers/dac.cpp index e82f0d27..3d8e0702 100644 --- a/src/drivers/dac.cpp +++ b/src/drivers/dac.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "dac.hpp" #include diff --git a/src/drivers/display.cpp b/src/drivers/display.cpp index f8594a5a..52208aa3 100644 --- a/src/drivers/display.cpp +++ b/src/drivers/display.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "display.hpp" #include diff --git a/src/drivers/display_init.cpp b/src/drivers/display_init.cpp index 293ea5a2..ce70069c 100644 --- a/src/drivers/display_init.cpp +++ b/src/drivers/display_init.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "display_init.hpp" namespace drivers { diff --git a/src/drivers/driver_cache.cpp b/src/drivers/driver_cache.cpp index 650e6f16..9c21b83c 100644 --- a/src/drivers/driver_cache.cpp +++ b/src/drivers/driver_cache.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "driver_cache.hpp" #include diff --git a/src/drivers/gpio_expander.cpp b/src/drivers/gpio_expander.cpp index a7613b2e..87c5d038 100644 --- a/src/drivers/gpio_expander.cpp +++ b/src/drivers/gpio_expander.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "gpio_expander.hpp" #include diff --git a/src/drivers/i2c.cpp b/src/drivers/i2c.cpp index 6c6fc407..814c5140 100644 --- a/src/drivers/i2c.cpp +++ b/src/drivers/i2c.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "i2c.hpp" #include diff --git a/src/drivers/include/a2dp_audio_output.hpp b/src/drivers/include/a2dp_audio_output.hpp index a77d011b..010470c6 100644 --- a/src/drivers/include/a2dp_audio_output.hpp +++ b/src/drivers/include/a2dp_audio_output.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/include/battery.hpp b/src/drivers/include/battery.hpp index d50bb20f..fb2b8818 100644 --- a/src/drivers/include/battery.hpp +++ b/src/drivers/include/battery.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/include/dac.hpp b/src/drivers/include/dac.hpp index 4952c992..22d6c855 100644 --- a/src/drivers/include/dac.hpp +++ b/src/drivers/include/dac.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/include/display.hpp b/src/drivers/include/display.hpp index 9e4a0224..842775fa 100644 --- a/src/drivers/include/display.hpp +++ b/src/drivers/include/display.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/include/display_init.hpp b/src/drivers/include/display_init.hpp index f7d287f7..f6c28b54 100644 --- a/src/drivers/include/display_init.hpp +++ b/src/drivers/include/display_init.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/include/driver_cache.hpp b/src/drivers/include/driver_cache.hpp index c56ebc3f..a8017cbe 100644 --- a/src/drivers/include/driver_cache.hpp +++ b/src/drivers/include/driver_cache.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/include/fatfs_audio_input.hpp b/src/drivers/include/fatfs_audio_input.hpp index 110651d8..e1f62811 100644 --- a/src/drivers/include/fatfs_audio_input.hpp +++ b/src/drivers/include/fatfs_audio_input.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once namespace drivers { diff --git a/src/drivers/include/gpio_expander.hpp b/src/drivers/include/gpio_expander.hpp index cd3719a0..9e011863 100644 --- a/src/drivers/include/gpio_expander.hpp +++ b/src/drivers/include/gpio_expander.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/include/i2c.hpp b/src/drivers/include/i2c.hpp index 811c9333..bc6b3686 100644 --- a/src/drivers/include/i2c.hpp +++ b/src/drivers/include/i2c.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/include/spi.hpp b/src/drivers/include/spi.hpp index e58656a2..7dbc2aae 100644 --- a/src/drivers/include/spi.hpp +++ b/src/drivers/include/spi.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include "esp_err.h" diff --git a/src/drivers/include/storage.hpp b/src/drivers/include/storage.hpp index c19ec935..4090e67a 100644 --- a/src/drivers/include/storage.hpp +++ b/src/drivers/include/storage.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/include/touchwheel.hpp b/src/drivers/include/touchwheel.hpp index 2bbc8e94..669d22c4 100644 --- a/src/drivers/include/touchwheel.hpp +++ b/src/drivers/include/touchwheel.hpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #pragma once #include diff --git a/src/drivers/spi.cpp b/src/drivers/spi.cpp index 66c78e8a..9c112bb5 100644 --- a/src/drivers/spi.cpp +++ b/src/drivers/spi.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "spi.hpp" #include "driver/sdspi_host.h" diff --git a/src/drivers/storage.cpp b/src/drivers/storage.cpp index d90bd811..9b8b1045 100644 --- a/src/drivers/storage.cpp +++ b/src/drivers/storage.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "storage.hpp" #include diff --git a/src/drivers/test/CMakeLists.txt b/src/drivers/test/CMakeLists.txt index c2f7ea65..90e7b3a1 100644 --- a/src/drivers/test/CMakeLists.txt +++ b/src/drivers/test/CMakeLists.txt @@ -1,3 +1,7 @@ +# Copyright 2023 jacqueline +# +# SPDX-License-Identifier: GPL-3.0-only + idf_component_register( SRCS "test_storage.cpp" "test_gpio_expander.cpp" "test_battery.cpp" "test_dac.cpp" INCLUDE_DIRS "." REQUIRES catch2 cmock drivers fixtures) diff --git a/src/drivers/test/test_battery.cpp b/src/drivers/test/test_battery.cpp index 4a52300d..690eb2b7 100644 --- a/src/drivers/test/test_battery.cpp +++ b/src/drivers/test/test_battery.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "battery.hpp" #include diff --git a/src/drivers/test/test_dac.cpp b/src/drivers/test/test_dac.cpp index 01583e34..edf9e1e9 100644 --- a/src/drivers/test/test_dac.cpp +++ b/src/drivers/test/test_dac.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "dac.hpp" #include diff --git a/src/drivers/test/test_gpio_expander.cpp b/src/drivers/test/test_gpio_expander.cpp index 791c0a71..2a31d9c7 100644 --- a/src/drivers/test/test_gpio_expander.cpp +++ b/src/drivers/test/test_gpio_expander.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "gpio_expander.hpp" #include "catch2/catch.hpp" diff --git a/src/drivers/test/test_storage.cpp b/src/drivers/test/test_storage.cpp index 54f9a467..90f2843a 100644 --- a/src/drivers/test/test_storage.cpp +++ b/src/drivers/test/test_storage.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "storage.hpp" #include diff --git a/src/drivers/touchwheel.cpp b/src/drivers/touchwheel.cpp index 3c2e9438..cd189388 100644 --- a/src/drivers/touchwheel.cpp +++ b/src/drivers/touchwheel.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2023 jacqueline + * + * SPDX-License-Identifier: GPL-3.0-only + */ + #include "touchwheel.hpp" #include -- cgit v1.2.3