summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-05-24 07:20:16 +1000
committerjacqueline <me@jacqueline.id.au>2023-05-24 07:20:16 +1000
commit3041e48ca6ebcbe107927e4b7c212ef1a829fab0 (patch)
tree4d5b6382fed84ef475fb10b509aa8dd47d1ac17f /src
parent876e5e70e93e3031e2acb32ddedc3b262d737ded (diff)
parenta4f94c812a4da7254d31af4061a8f234a1e0e23d (diff)
downloadtangara-fw-3041e48ca6ebcbe107927e4b7c212ef1a829fab0.tar.gz
Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw
Diffstat (limited to 'src')
-rw-r--r--src/app_console/app_console.cpp6
-rw-r--r--src/app_console/include/app_console.hpp6
-rw-r--r--src/audio/CMakeLists.txt4
-rw-r--r--src/audio/README.md5
-rw-r--r--src/audio/audio_decoder.cpp6
-rw-r--r--src/audio/audio_task.cpp6
-rw-r--r--src/audio/chunk.cpp6
-rw-r--r--src/audio/fatfs_audio_input.cpp6
-rw-r--r--src/audio/i2s_audio_output.cpp6
-rw-r--r--src/audio/include/audio_backend.hpp6
-rw-r--r--src/audio/include/audio_decoder.hpp6
-rw-r--r--src/audio/include/audio_element.hpp6
-rw-r--r--src/audio/include/audio_output.hpp6
-rw-r--r--src/audio/include/audio_sink.hpp6
-rw-r--r--src/audio/include/audio_task.hpp6
-rw-r--r--src/audio/include/chunk.hpp6
-rw-r--r--src/audio/include/fatfs_audio_input.hpp6
-rw-r--r--src/audio/include/i2s_audio_output.hpp6
-rw-r--r--src/audio/include/pipeline.hpp6
-rw-r--r--src/audio/include/stream_buffer.hpp6
-rw-r--r--src/audio/include/stream_event.hpp6
-rw-r--r--src/audio/include/stream_info.hpp6
-rw-r--r--src/audio/include/stream_message.hpp6
-rw-r--r--src/audio/pipeline.cpp6
-rw-r--r--src/audio/stream_buffer.cpp6
-rw-r--r--src/audio/stream_event.cpp6
-rw-r--r--src/audio/stream_info.cpp6
-rw-r--r--src/audio/stream_message.cpp6
-rw-r--r--src/audio/test/CMakeLists.txt4
-rw-r--r--src/codecs/CMakeLists.txt4
-rw-r--r--src/codecs/README.md6
-rw-r--r--src/codecs/codec.cpp6
-rw-r--r--src/codecs/include/codec.hpp6
-rw-r--r--src/codecs/include/mad.hpp6
-rw-r--r--src/codecs/include/types.hpp6
-rw-r--r--src/codecs/mad.cpp6
-rw-r--r--src/codecs/test/CMakeLists.txt4
-rw-r--r--src/codecs/test/test.mp3.hpp6
-rw-r--r--src/codecs/test/test_mad.cpp6
-rw-r--r--src/database/CMakeLists.txt4
-rw-r--r--src/database/database.cpp6
-rw-r--r--src/database/env_esp.cpp6
-rw-r--r--src/database/file_gatherer.cpp6
-rw-r--r--src/database/include/database.hpp6
-rw-r--r--src/database/include/env_esp.hpp6
-rw-r--r--src/database/include/file_gatherer.hpp6
-rw-r--r--src/database/include/records.hpp6
-rw-r--r--src/database/include/song.hpp6
-rw-r--r--src/database/include/tag_parser.hpp6
-rw-r--r--src/database/records.cpp6
-rw-r--r--src/database/song.cpp6
-rw-r--r--src/database/tag_parser.cpp6
-rw-r--r--src/database/test/CMakeLists.txt4
-rw-r--r--src/database/test/test_database.cpp6
-rw-r--r--src/database/test/test_records.cpp6
-rw-r--r--src/dev_console/CMakeLists.txt4
-rw-r--r--src/dev_console/console.cpp6
-rw-r--r--src/dev_console/include/console.hpp6
-rw-r--r--src/drivers/CMakeLists.txt4
-rw-r--r--src/drivers/battery.cpp6
-rw-r--r--src/drivers/dac.cpp6
-rw-r--r--src/drivers/display.cpp6
-rw-r--r--src/drivers/display_init.cpp6
-rw-r--r--src/drivers/gpio_expander.cpp6
-rw-r--r--src/drivers/i2c.cpp6
-rw-r--r--src/drivers/include/a2dp_audio_output.hpp6
-rw-r--r--src/drivers/include/battery.hpp6
-rw-r--r--src/drivers/include/dac.hpp6
-rw-r--r--src/drivers/include/display.hpp6
-rw-r--r--src/drivers/include/display_init.hpp6
-rw-r--r--src/drivers/include/fatfs_audio_input.hpp6
-rw-r--r--src/drivers/include/gpio_expander.hpp6
-rw-r--r--src/drivers/include/i2c.hpp6
-rw-r--r--src/drivers/include/spi.hpp6
-rw-r--r--src/drivers/include/storage.hpp6
-rw-r--r--src/drivers/include/touchwheel.hpp6
-rw-r--r--src/drivers/spi.cpp6
-rw-r--r--src/drivers/storage.cpp6
-rw-r--r--src/drivers/test/CMakeLists.txt4
-rw-r--r--src/drivers/test/test_battery.cpp6
-rw-r--r--src/drivers/test/test_dac.cpp6
-rw-r--r--src/drivers/test/test_gpio_expander.cpp6
-rw-r--r--src/drivers/test/test_storage.cpp6
-rw-r--r--src/drivers/touchwheel.cpp6
-rw-r--r--src/main/CMakeLists.txt4
-rw-r--r--src/main/main.cpp6
-rw-r--r--src/memory/CMakeLists.txt4
-rw-r--r--src/memory/arena.cpp6
-rw-r--r--src/memory/include/arena.hpp6
-rw-r--r--src/memory/include/himem.hpp6
-rw-r--r--src/tasks/CMakeLists.txt3
-rw-r--r--src/tasks/tasks.cpp6
-rw-r--r--src/tasks/tasks.hpp6
-rw-r--r--src/ui/CMakeLists.txt4
-rw-r--r--src/ui/include/lvgl_task.hpp6
-rw-r--r--src/ui/lvgl_task.cpp6
96 files changed, 548 insertions, 0 deletions
diff --git a/src/app_console/app_console.cpp b/src/app_console/app_console.cpp
index 95b8881e..23e8875e 100644
--- a/src/app_console/app_console.cpp
+++ b/src/app_console/app_console.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "app_console.hpp"
#include <dirent.h>
diff --git a/src/app_console/include/app_console.hpp b/src/app_console/include/app_console.hpp
index eb079ccb..9df3996b 100644
--- a/src/app_console/include/app_console.hpp
+++ b/src/app_console/include/app_console.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <memory>
diff --git a/src/audio/CMakeLists.txt b/src/audio/CMakeLists.txt
index d9c431ee..2e085306 100644
--- a/src/audio/CMakeLists.txt
+++ b/src/audio/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "audio_decoder.cpp" "audio_task.cpp" "chunk.cpp" "fatfs_audio_input.cpp"
"stream_message.cpp" "i2s_audio_output.cpp" "stream_buffer.cpp"
diff --git a/src/audio/README.md b/src/audio/README.md
index e6a78a61..218be2c4 100644
--- a/src/audio/README.md
+++ b/src/audio/README.md
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
FatfsAudioReader
- input if a queue of filenames.
diff --git a/src/audio/audio_decoder.cpp b/src/audio/audio_decoder.cpp
index 4b9826a9..981cca6f 100644
--- a/src/audio/audio_decoder.cpp
+++ b/src/audio/audio_decoder.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "audio_decoder.hpp"
#include <string.h>
diff --git a/src/audio/audio_task.cpp b/src/audio/audio_task.cpp
index 390e3d2d..58466c4f 100644
--- a/src/audio/audio_task.cpp
+++ b/src/audio/audio_task.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "audio_task.hpp"
#include <stdlib.h>
diff --git a/src/audio/chunk.cpp b/src/audio/chunk.cpp
index 01760a84..11503b2b 100644
--- a/src/audio/chunk.cpp
+++ b/src/audio/chunk.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "chunk.hpp"
#include <algorithm>
diff --git a/src/audio/fatfs_audio_input.cpp b/src/audio/fatfs_audio_input.cpp
index 22d707d6..affe2ff3 100644
--- a/src/audio/fatfs_audio_input.cpp
+++ b/src/audio/fatfs_audio_input.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "fatfs_audio_input.hpp"
#include <algorithm>
diff --git a/src/audio/i2s_audio_output.cpp b/src/audio/i2s_audio_output.cpp
index d4ee7933..70304726 100644
--- a/src/audio/i2s_audio_output.cpp
+++ b/src/audio/i2s_audio_output.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "i2s_audio_output.hpp"
#include <algorithm>
diff --git a/src/audio/include/audio_backend.hpp b/src/audio/include/audio_backend.hpp
index 85985cc2..86d90d25 100644
--- a/src/audio/include/audio_backend.hpp
+++ b/src/audio/include/audio_backend.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
diff --git a/src/audio/include/audio_decoder.hpp b/src/audio/include/audio_decoder.hpp
index 6a1b5177..5927e150 100644
--- a/src/audio/include/audio_decoder.hpp
+++ b/src/audio/include/audio_decoder.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstddef>
diff --git a/src/audio/include/audio_element.hpp b/src/audio/include/audio_element.hpp
index 5884f7b2..133a6ae7 100644
--- a/src/audio/include/audio_element.hpp
+++ b/src/audio/include/audio_element.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <atomic>
diff --git a/src/audio/include/audio_output.hpp b/src/audio/include/audio_output.hpp
index 9726c3b5..074f21d4 100644
--- a/src/audio/include/audio_output.hpp
+++ b/src/audio/include/audio_output.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
diff --git a/src/audio/include/audio_sink.hpp b/src/audio/include/audio_sink.hpp
index 7a535c35..331105af 100644
--- a/src/audio/include/audio_sink.hpp
+++ b/src/audio/include/audio_sink.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <stdint.h>
diff --git a/src/audio/include/audio_task.hpp b/src/audio/include/audio_task.hpp
index bf18fba0..298bd591 100644
--- a/src/audio/include/audio_task.hpp
+++ b/src/audio/include/audio_task.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <memory>
diff --git a/src/audio/include/chunk.hpp b/src/audio/include/chunk.hpp
index 31e1f969..f5ba6654 100644
--- a/src/audio/include/chunk.hpp
+++ b/src/audio/include/chunk.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstddef>
diff --git a/src/audio/include/fatfs_audio_input.hpp b/src/audio/include/fatfs_audio_input.hpp
index 24f62e3c..d2285515 100644
--- a/src/audio/include/fatfs_audio_input.hpp
+++ b/src/audio/include/fatfs_audio_input.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
diff --git a/src/audio/include/i2s_audio_output.hpp b/src/audio/include/i2s_audio_output.hpp
index 53e1dd7a..46c3ada8 100644
--- a/src/audio/include/i2s_audio_output.hpp
+++ b/src/audio/include/i2s_audio_output.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
diff --git a/src/audio/include/pipeline.hpp b/src/audio/include/pipeline.hpp
index 1fa7da83..c1f6bf59 100644
--- a/src/audio/include/pipeline.hpp
+++ b/src/audio/include/pipeline.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <memory>
diff --git a/src/audio/include/stream_buffer.hpp b/src/audio/include/stream_buffer.hpp
index 3853a53f..06fe8af5 100644
--- a/src/audio/include/stream_buffer.hpp
+++ b/src/audio/include/stream_buffer.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstddef>
diff --git a/src/audio/include/stream_event.hpp b/src/audio/include/stream_event.hpp
index 6d270e9d..d98d9baa 100644
--- a/src/audio/include/stream_event.hpp
+++ b/src/audio/include/stream_event.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <memory>
diff --git a/src/audio/include/stream_info.hpp b/src/audio/include/stream_info.hpp
index 28095935..91b2f085 100644
--- a/src/audio/include/stream_info.hpp
+++ b/src/audio/include/stream_info.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
diff --git a/src/audio/include/stream_message.hpp b/src/audio/include/stream_message.hpp
index 043f9dc3..cf9ba39c 100644
--- a/src/audio/include/stream_message.hpp
+++ b/src/audio/include/stream_message.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
diff --git a/src/audio/pipeline.cpp b/src/audio/pipeline.cpp
index 270622cf..60598151 100644
--- a/src/audio/pipeline.cpp
+++ b/src/audio/pipeline.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "pipeline.hpp"
#include <memory>
#include "stream_info.hpp"
diff --git a/src/audio/stream_buffer.cpp b/src/audio/stream_buffer.cpp
index 71ab3965..569c9189 100644
--- a/src/audio/stream_buffer.cpp
+++ b/src/audio/stream_buffer.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "stream_buffer.hpp"
#include "assert.h"
#include "esp_log.h"
diff --git a/src/audio/stream_event.cpp b/src/audio/stream_event.cpp
index e08f26da..d7533ea2 100644
--- a/src/audio/stream_event.cpp
+++ b/src/audio/stream_event.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "stream_event.hpp"
#include <cstddef>
#include <memory>
diff --git a/src/audio/stream_info.cpp b/src/audio/stream_info.cpp
index 7d833d25..ee85f35d 100644
--- a/src/audio/stream_info.cpp
+++ b/src/audio/stream_info.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "stream_info.hpp"
#include <cstdint>
diff --git a/src/audio/stream_message.cpp b/src/audio/stream_message.cpp
index 0f3b56e9..a7b8901a 100644
--- a/src/audio/stream_message.cpp
+++ b/src/audio/stream_message.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "stream_message.hpp"
#include <cstdint>
diff --git a/src/audio/test/CMakeLists.txt b/src/audio/test/CMakeLists.txt
index c5649e6f..4d580b1c 100644
--- a/src/audio/test/CMakeLists.txt
+++ b/src/audio/test/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS ""
INCLUDE_DIRS "." REQUIRES catch2 cmock audio)
diff --git a/src/codecs/CMakeLists.txt b/src/codecs/CMakeLists.txt
index 7807dc3e..0bf79c78 100644
--- a/src/codecs/CMakeLists.txt
+++ b/src/codecs/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "codec.cpp" "mad.cpp"
INCLUDE_DIRS "include"
diff --git a/src/codecs/README.md b/src/codecs/README.md
index 06e0bfde..d8eaf405 100644
--- a/src/codecs/README.md
+++ b/src/codecs/README.md
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
# Software Codecs
This component contains a collection of software decoders for various
diff --git a/src/codecs/codec.cpp b/src/codecs/codec.cpp
index bdc8f51e..4f9e8892 100644
--- a/src/codecs/codec.cpp
+++ b/src/codecs/codec.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "codec.hpp"
#include <memory>
diff --git a/src/codecs/include/codec.hpp b/src/codecs/include/codec.hpp
index 4595f877..9dd717c9 100644
--- a/src/codecs/include/codec.hpp
+++ b/src/codecs/include/codec.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <stdint.h>
diff --git a/src/codecs/include/mad.hpp b/src/codecs/include/mad.hpp
index 074784fb..3b1f5757 100644
--- a/src/codecs/include/mad.hpp
+++ b/src/codecs/include/mad.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstddef>
diff --git a/src/codecs/include/types.hpp b/src/codecs/include/types.hpp
index a962cf68..66f0c840 100644
--- a/src/codecs/include/types.hpp
+++ b/src/codecs/include/types.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <string>
diff --git a/src/codecs/mad.cpp b/src/codecs/mad.cpp
index dd839537..2e55d4c6 100644
--- a/src/codecs/mad.cpp
+++ b/src/codecs/mad.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "mad.hpp"
#include <stdint.h>
diff --git a/src/codecs/test/CMakeLists.txt b/src/codecs/test/CMakeLists.txt
index c058fc22..bd208ae3 100644
--- a/src/codecs/test/CMakeLists.txt
+++ b/src/codecs/test/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "test_mad.cpp"
INCLUDE_DIRS "."
diff --git a/src/codecs/test/test.mp3.hpp b/src/codecs/test/test.mp3.hpp
index f6699b85..759ff9ca 100644
--- a/src/codecs/test/test.mp3.hpp
+++ b/src/codecs/test/test.mp3.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include <cstdint>
std::uint8_t test_mp3[] = {
diff --git a/src/codecs/test/test_mad.cpp b/src/codecs/test/test_mad.cpp
index 64c3ece0..e8c714e7 100644
--- a/src/codecs/test/test_mad.cpp
+++ b/src/codecs/test/test_mad.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "mad.hpp"
#include <algorithm>
diff --git a/src/database/CMakeLists.txt b/src/database/CMakeLists.txt
index c769fa33..211a63cd 100644
--- a/src/database/CMakeLists.txt
+++ b/src/database/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "env_esp.cpp" "database.cpp" "song.cpp" "records.cpp" "file_gatherer.cpp" "tag_parser.cpp"
INCLUDE_DIRS "include"
diff --git a/src/database/database.cpp b/src/database/database.cpp
index 65a500d9..71954bbb 100644
--- a/src/database/database.cpp
+++ b/src/database/database.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "database.hpp"
#include <stdint.h>
diff --git a/src/database/env_esp.cpp b/src/database/env_esp.cpp
index 3bc68984..704e0a54 100644
--- a/src/database/env_esp.cpp
+++ b/src/database/env_esp.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "env_esp.hpp"
#include <atomic>
diff --git a/src/database/file_gatherer.cpp b/src/database/file_gatherer.cpp
index e3b89285..2d17a925 100644
--- a/src/database/file_gatherer.cpp
+++ b/src/database/file_gatherer.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "file_gatherer.hpp"
#include <deque>
diff --git a/src/database/include/database.hpp b/src/database/include/database.hpp
index ce2ca9fe..5214b8df 100644
--- a/src/database/include/database.hpp
+++ b/src/database/include/database.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <stdint.h>
diff --git a/src/database/include/env_esp.hpp b/src/database/include/env_esp.hpp
index 6a415ce6..c7da6d91 100644
--- a/src/database/include/env_esp.hpp
+++ b/src/database/include/env_esp.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <memory>
diff --git a/src/database/include/file_gatherer.hpp b/src/database/include/file_gatherer.hpp
index bba4d0df..ff0a6ac2 100644
--- a/src/database/include/file_gatherer.hpp
+++ b/src/database/include/file_gatherer.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <deque>
diff --git a/src/database/include/records.hpp b/src/database/include/records.hpp
index 371d8d58..1b66ad42 100644
--- a/src/database/include/records.hpp
+++ b/src/database/include/records.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <stdint.h>
diff --git a/src/database/include/song.hpp b/src/database/include/song.hpp
index 9a84e124..2791c0ca 100644
--- a/src/database/include/song.hpp
+++ b/src/database/include/song.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <stdint.h>
diff --git a/src/database/include/tag_parser.hpp b/src/database/include/tag_parser.hpp
index 1aee94c7..7dab93a1 100644
--- a/src/database/include/tag_parser.hpp
+++ b/src/database/include/tag_parser.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <string>
diff --git a/src/database/records.cpp b/src/database/records.cpp
index 572850d2..f04e5da7 100644
--- a/src/database/records.cpp
+++ b/src/database/records.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "records.hpp"
#include <stdint.h>
diff --git a/src/database/song.cpp b/src/database/song.cpp
index b6a1baac..c717e55e 100644
--- a/src/database/song.cpp
+++ b/src/database/song.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "song.hpp"
#include <komihash.h>
diff --git a/src/database/tag_parser.cpp b/src/database/tag_parser.cpp
index 90866ff3..d6109671 100644
--- a/src/database/tag_parser.cpp
+++ b/src/database/tag_parser.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "tag_parser.hpp"
#include <esp_log.h>
diff --git a/src/database/test/CMakeLists.txt b/src/database/test/CMakeLists.txt
index b5532da1..a9f2cedb 100644
--- a/src/database/test/CMakeLists.txt
+++ b/src/database/test/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "test_records.cpp" "test_database.cpp"
INCLUDE_DIRS "."
diff --git a/src/database/test/test_database.cpp b/src/database/test/test_database.cpp
index a88c4bb3..ebaa6307 100644
--- a/src/database/test/test_database.cpp
+++ b/src/database/test/test_database.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "database.hpp"
#include <stdint.h>
diff --git a/src/database/test/test_records.cpp b/src/database/test/test_records.cpp
index d84d2b6a..ca518458 100644
--- a/src/database/test/test_records.cpp
+++ b/src/database/test/test_records.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "records.hpp"
#include <stdint.h>
diff --git a/src/dev_console/CMakeLists.txt b/src/dev_console/CMakeLists.txt
index b7e6357e..74911e66 100644
--- a/src/dev_console/CMakeLists.txt
+++ b/src/dev_console/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "console.cpp"
INCLUDE_DIRS "include"
diff --git a/src/dev_console/console.cpp b/src/dev_console/console.cpp
index 9b51caaf..66fb6bf6 100644
--- a/src/dev_console/console.cpp
+++ b/src/dev_console/console.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "console.hpp"
#include <stdio.h>
#include <string.h>
diff --git a/src/dev_console/include/console.hpp b/src/dev_console/include/console.hpp
index a777bdfe..fedf3632 100644
--- a/src/dev_console/include/console.hpp
+++ b/src/dev_console/include/console.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
diff --git a/src/drivers/CMakeLists.txt b/src/drivers/CMakeLists.txt
index 67dc0236..43e67786 100644
--- a/src/drivers/CMakeLists.txt
+++ b/src/drivers/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# 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" "samd.cpp"
diff --git a/src/drivers/battery.cpp b/src/drivers/battery.cpp
index 92b269de..445e9c23 100644
--- a/src/drivers/battery.cpp
+++ b/src/drivers/battery.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "battery.hpp"
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "dac.hpp"
#include <cstdint>
diff --git a/src/drivers/display.cpp b/src/drivers/display.cpp
index a8aeb935..a503d0e9 100644
--- a/src/drivers/display.cpp
+++ b/src/drivers/display.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "display.hpp"
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "display_init.hpp"
namespace drivers {
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "gpio_expander.hpp"
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "i2c.hpp"
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
diff --git a/src/drivers/include/battery.hpp b/src/drivers/include/battery.hpp
index 302271b2..f0b8c8b3 100644
--- a/src/drivers/include/battery.hpp
+++ b/src/drivers/include/battery.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <stdint.h>
diff --git a/src/drivers/include/display.hpp b/src/drivers/include/display.hpp
index 68ddf9fe..d2e0c14b 100644
--- a/src/drivers/include/display.hpp
+++ b/src/drivers/include/display.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * 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 de1c8aba..da682848 100644
--- a/src/drivers/include/gpio_expander.hpp
+++ b/src/drivers/include/gpio_expander.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <stdint.h>
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * 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 1b51ff7d..daee13c4 100644
--- a/src/drivers/include/storage.hpp
+++ b/src/drivers/include/storage.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <memory>
diff --git a/src/drivers/include/touchwheel.hpp b/src/drivers/include/touchwheel.hpp
index 9daf572e..1468fc65 100644
--- a/src/drivers/include/touchwheel.hpp
+++ b/src/drivers/include/touchwheel.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <stdint.h>
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 <me@jacqueline.id.au>
+ *
+ * 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 49b817f2..211b1484 100644
--- a/src/drivers/storage.cpp
+++ b/src/drivers/storage.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "storage.hpp"
#include <atomic>
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 <me@jacqueline.id.au>
+#
+# 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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "battery.hpp"
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "dac.hpp"
#include <cstdint>
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 <me@jacqueline.id.au>
+ *
+ * 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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "storage.hpp"
#include <dirent.h>
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 <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "touchwheel.hpp"
#include <stdint.h>
diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt
index c557a7df..3ae92ac2 100644
--- a/src/main/CMakeLists.txt
+++ b/src/main/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "main.cpp"
INCLUDE_DIRS "."
diff --git a/src/main/main.cpp b/src/main/main.cpp
index df1eb8b2..b8dd90c5 100644
--- a/src/main/main.cpp
+++ b/src/main/main.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "freertos/portmacro.h"
#include "tinyfsm.hpp"
diff --git a/src/memory/CMakeLists.txt b/src/memory/CMakeLists.txt
index 69afc454..441c6659 100644
--- a/src/memory/CMakeLists.txt
+++ b/src/memory/CMakeLists.txt
@@ -1,2 +1,6 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(SRCS "arena.cpp" INCLUDE_DIRS "include" REQUIRES "span" "esp_psram")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})
diff --git a/src/memory/arena.cpp b/src/memory/arena.cpp
index 1e82e064..8962d8db 100644
--- a/src/memory/arena.cpp
+++ b/src/memory/arena.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "arena.hpp"
#include <cstdint>
diff --git a/src/memory/include/arena.hpp b/src/memory/include/arena.hpp
index 26d49d27..36471651 100644
--- a/src/memory/include/arena.hpp
+++ b/src/memory/include/arena.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstdint>
diff --git a/src/memory/include/himem.hpp b/src/memory/include/himem.hpp
index 517ebfdf..81166e0d 100644
--- a/src/memory/include/himem.hpp
+++ b/src/memory/include/himem.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstddef>
diff --git a/src/tasks/CMakeLists.txt b/src/tasks/CMakeLists.txt
index f7d7244f..473684b9 100644
--- a/src/tasks/CMakeLists.txt
+++ b/src/tasks/CMakeLists.txt
@@ -1,2 +1,5 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(SRCS "tasks.cpp" INCLUDE_DIRS "." REQUIRES "span")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})
diff --git a/src/tasks/tasks.cpp b/src/tasks/tasks.cpp
index f76c32a1..aa5c4aa7 100644
--- a/src/tasks/tasks.cpp
+++ b/src/tasks/tasks.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "tasks.hpp"
#include <functional>
#include "esp_heap_caps.h"
diff --git a/src/tasks/tasks.hpp b/src/tasks/tasks.hpp
index 993e52bf..955acd9f 100644
--- a/src/tasks/tasks.hpp
+++ b/src/tasks/tasks.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <atomic>
diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt
index 13c1e7e3..48961e00 100644
--- a/src/ui/CMakeLists.txt
+++ b/src/ui/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "lvgl_task.cpp" "ui_fsm.cpp"
INCLUDE_DIRS "include"
diff --git a/src/ui/include/lvgl_task.hpp b/src/ui/include/lvgl_task.hpp
index 0d6e4cd3..25e7dd14 100644
--- a/src/ui/include/lvgl_task.hpp
+++ b/src/ui/include/lvgl_task.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <atomic>
diff --git a/src/ui/lvgl_task.cpp b/src/ui/lvgl_task.cpp
index 7924a3d1..55087f77 100644
--- a/src/ui/lvgl_task.cpp
+++ b/src/ui/lvgl_task.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "lvgl_task.hpp"
#include <dirent.h>