summaryrefslogtreecommitdiff
path: root/src/drivers/test
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/drivers/test
parent876e5e70e93e3031e2acb32ddedc3b262d737ded (diff)
parenta4f94c812a4da7254d31af4061a8f234a1e0e23d (diff)
downloadtangara-fw-3041e48ca6ebcbe107927e4b7c212ef1a829fab0.tar.gz
Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw
Diffstat (limited to 'src/drivers/test')
-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
5 files changed, 28 insertions, 0 deletions
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>