From ab1e3346956f2165eaaae1bbf9337dc0c2709cf2 Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Wed, 20 Aug 2025 22:30:56 +0200 Subject: [PATCH] move files into firmware folder Signed-off-by: Peter Siegmund --- .clang-format => firmware/.clang-format | 0 .clangd => firmware/.clangd | 0 .gitignore => firmware/.gitignore | 0 {.vscode => firmware/.vscode}/c_cpp_properties.json | 0 {.vscode => firmware/.vscode}/launch.json | 0 CMakeLists.txt => firmware/CMakeLists.txt | 0 README.md => firmware/README.md | 0 .../bootloader_components}/my_boot_hooks/CMakeLists.txt | 0 .../bootloader_components}/my_boot_hooks/hooks.c | 0 .../bootloader_components}/my_boot_hooks/include/hooks.h | 0 .../components}/led_matrix/CMakeLists.txt | 0 .../components}/led_matrix/idf_component.yml | 0 .../components}/led_matrix/include/led_matrix.h | 0 {components => firmware/components}/led_matrix/led_matrix.c | 0 .../components}/persistence/CMakeLists.txt | 0 .../components}/persistence/include/persistence.h | 0 .../components}/persistence/persistence.c | 0 .../components}/remote_control/CMakeLists.txt | 0 .../components}/remote_control/capability_service.c | 0 .../components}/remote_control/device_service.c | 0 .../components}/remote_control/include/capability_service.h | 0 .../components}/remote_control/include/device_service.h | 0 .../components}/remote_control/include/led_service.h | 0 .../components}/remote_control/include/remote_control.h | 0 .../components}/remote_control/led_service.c | 0 .../components}/remote_control/remote_control.c | 0 {components => firmware/components}/storage/CMakeLists.txt | 0 .../components}/storage/include/storage.h | 0 {components => firmware/components}/storage/storage.c | 0 {data => firmware/data}/capability.json | 0 dependencies.lock => firmware/dependencies.lock | 0 {main => firmware/main}/CMakeLists.txt | 6 +++++- {main => firmware/main}/Kconfig.projbuild | 0 {main => firmware/main}/idf_component.yml | 0 {main => firmware/main}/main.c | 0 partitions.csv => firmware/partitions.csv | 0 sdkconfig.defaults => firmware/sdkconfig.defaults | 0 .../sdkconfig.defaults.esp32 | 0 .../sdkconfig.defaults.esp32c3 | 0 .../sdkconfig.defaults.esp32c5 | 0 .../sdkconfig.defaults.esp32c6 | 0 .../sdkconfig.defaults.esp32h2 | 0 .../sdkconfig.defaults.esp32p4 | 0 .../sdkconfig.defaults.esp32s3 | 0 version.txt => firmware/version.txt | 0 45 files changed, 5 insertions(+), 1 deletion(-) rename .clang-format => firmware/.clang-format (100%) rename .clangd => firmware/.clangd (100%) rename .gitignore => firmware/.gitignore (100%) rename {.vscode => firmware/.vscode}/c_cpp_properties.json (100%) rename {.vscode => firmware/.vscode}/launch.json (100%) rename CMakeLists.txt => firmware/CMakeLists.txt (100%) rename README.md => firmware/README.md (100%) rename {bootloader_components => firmware/bootloader_components}/my_boot_hooks/CMakeLists.txt (100%) rename {bootloader_components => firmware/bootloader_components}/my_boot_hooks/hooks.c (100%) rename {bootloader_components => firmware/bootloader_components}/my_boot_hooks/include/hooks.h (100%) rename {components => firmware/components}/led_matrix/CMakeLists.txt (100%) rename {components => firmware/components}/led_matrix/idf_component.yml (100%) rename {components => firmware/components}/led_matrix/include/led_matrix.h (100%) rename {components => firmware/components}/led_matrix/led_matrix.c (100%) rename {components => firmware/components}/persistence/CMakeLists.txt (100%) rename {components => firmware/components}/persistence/include/persistence.h (100%) rename {components => firmware/components}/persistence/persistence.c (100%) rename {components => firmware/components}/remote_control/CMakeLists.txt (100%) rename {components => firmware/components}/remote_control/capability_service.c (100%) rename {components => firmware/components}/remote_control/device_service.c (100%) rename {components => firmware/components}/remote_control/include/capability_service.h (100%) rename {components => firmware/components}/remote_control/include/device_service.h (100%) rename {components => firmware/components}/remote_control/include/led_service.h (100%) rename {components => firmware/components}/remote_control/include/remote_control.h (100%) rename {components => firmware/components}/remote_control/led_service.c (100%) rename {components => firmware/components}/remote_control/remote_control.c (100%) rename {components => firmware/components}/storage/CMakeLists.txt (100%) rename {components => firmware/components}/storage/include/storage.h (100%) rename {components => firmware/components}/storage/storage.c (100%) rename {data => firmware/data}/capability.json (100%) rename dependencies.lock => firmware/dependencies.lock (100%) rename {main => firmware/main}/CMakeLists.txt (61%) rename {main => firmware/main}/Kconfig.projbuild (100%) rename {main => firmware/main}/idf_component.yml (100%) rename {main => firmware/main}/main.c (100%) rename partitions.csv => firmware/partitions.csv (100%) rename sdkconfig.defaults => firmware/sdkconfig.defaults (100%) rename sdkconfig.defaults.esp32 => firmware/sdkconfig.defaults.esp32 (100%) rename sdkconfig.defaults.esp32c3 => firmware/sdkconfig.defaults.esp32c3 (100%) rename sdkconfig.defaults.esp32c5 => firmware/sdkconfig.defaults.esp32c5 (100%) rename sdkconfig.defaults.esp32c6 => firmware/sdkconfig.defaults.esp32c6 (100%) rename sdkconfig.defaults.esp32h2 => firmware/sdkconfig.defaults.esp32h2 (100%) rename sdkconfig.defaults.esp32p4 => firmware/sdkconfig.defaults.esp32p4 (100%) rename sdkconfig.defaults.esp32s3 => firmware/sdkconfig.defaults.esp32s3 (100%) rename version.txt => firmware/version.txt (100%) diff --git a/.clang-format b/firmware/.clang-format similarity index 100% rename from .clang-format rename to firmware/.clang-format diff --git a/.clangd b/firmware/.clangd similarity index 100% rename from .clangd rename to firmware/.clangd diff --git a/.gitignore b/firmware/.gitignore similarity index 100% rename from .gitignore rename to firmware/.gitignore diff --git a/.vscode/c_cpp_properties.json b/firmware/.vscode/c_cpp_properties.json similarity index 100% rename from .vscode/c_cpp_properties.json rename to firmware/.vscode/c_cpp_properties.json diff --git a/.vscode/launch.json b/firmware/.vscode/launch.json similarity index 100% rename from .vscode/launch.json rename to firmware/.vscode/launch.json diff --git a/CMakeLists.txt b/firmware/CMakeLists.txt similarity index 100% rename from CMakeLists.txt rename to firmware/CMakeLists.txt diff --git a/README.md b/firmware/README.md similarity index 100% rename from README.md rename to firmware/README.md diff --git a/bootloader_components/my_boot_hooks/CMakeLists.txt b/firmware/bootloader_components/my_boot_hooks/CMakeLists.txt similarity index 100% rename from bootloader_components/my_boot_hooks/CMakeLists.txt rename to firmware/bootloader_components/my_boot_hooks/CMakeLists.txt diff --git a/bootloader_components/my_boot_hooks/hooks.c b/firmware/bootloader_components/my_boot_hooks/hooks.c similarity index 100% rename from bootloader_components/my_boot_hooks/hooks.c rename to firmware/bootloader_components/my_boot_hooks/hooks.c diff --git a/bootloader_components/my_boot_hooks/include/hooks.h b/firmware/bootloader_components/my_boot_hooks/include/hooks.h similarity index 100% rename from bootloader_components/my_boot_hooks/include/hooks.h rename to firmware/bootloader_components/my_boot_hooks/include/hooks.h diff --git a/components/led_matrix/CMakeLists.txt b/firmware/components/led_matrix/CMakeLists.txt similarity index 100% rename from components/led_matrix/CMakeLists.txt rename to firmware/components/led_matrix/CMakeLists.txt diff --git a/components/led_matrix/idf_component.yml b/firmware/components/led_matrix/idf_component.yml similarity index 100% rename from components/led_matrix/idf_component.yml rename to firmware/components/led_matrix/idf_component.yml diff --git a/components/led_matrix/include/led_matrix.h b/firmware/components/led_matrix/include/led_matrix.h similarity index 100% rename from components/led_matrix/include/led_matrix.h rename to firmware/components/led_matrix/include/led_matrix.h diff --git a/components/led_matrix/led_matrix.c b/firmware/components/led_matrix/led_matrix.c similarity index 100% rename from components/led_matrix/led_matrix.c rename to firmware/components/led_matrix/led_matrix.c diff --git a/components/persistence/CMakeLists.txt b/firmware/components/persistence/CMakeLists.txt similarity index 100% rename from components/persistence/CMakeLists.txt rename to firmware/components/persistence/CMakeLists.txt diff --git a/components/persistence/include/persistence.h b/firmware/components/persistence/include/persistence.h similarity index 100% rename from components/persistence/include/persistence.h rename to firmware/components/persistence/include/persistence.h diff --git a/components/persistence/persistence.c b/firmware/components/persistence/persistence.c similarity index 100% rename from components/persistence/persistence.c rename to firmware/components/persistence/persistence.c diff --git a/components/remote_control/CMakeLists.txt b/firmware/components/remote_control/CMakeLists.txt similarity index 100% rename from components/remote_control/CMakeLists.txt rename to firmware/components/remote_control/CMakeLists.txt diff --git a/components/remote_control/capability_service.c b/firmware/components/remote_control/capability_service.c similarity index 100% rename from components/remote_control/capability_service.c rename to firmware/components/remote_control/capability_service.c diff --git a/components/remote_control/device_service.c b/firmware/components/remote_control/device_service.c similarity index 100% rename from components/remote_control/device_service.c rename to firmware/components/remote_control/device_service.c diff --git a/components/remote_control/include/capability_service.h b/firmware/components/remote_control/include/capability_service.h similarity index 100% rename from components/remote_control/include/capability_service.h rename to firmware/components/remote_control/include/capability_service.h diff --git a/components/remote_control/include/device_service.h b/firmware/components/remote_control/include/device_service.h similarity index 100% rename from components/remote_control/include/device_service.h rename to firmware/components/remote_control/include/device_service.h diff --git a/components/remote_control/include/led_service.h b/firmware/components/remote_control/include/led_service.h similarity index 100% rename from components/remote_control/include/led_service.h rename to firmware/components/remote_control/include/led_service.h diff --git a/components/remote_control/include/remote_control.h b/firmware/components/remote_control/include/remote_control.h similarity index 100% rename from components/remote_control/include/remote_control.h rename to firmware/components/remote_control/include/remote_control.h diff --git a/components/remote_control/led_service.c b/firmware/components/remote_control/led_service.c similarity index 100% rename from components/remote_control/led_service.c rename to firmware/components/remote_control/led_service.c diff --git a/components/remote_control/remote_control.c b/firmware/components/remote_control/remote_control.c similarity index 100% rename from components/remote_control/remote_control.c rename to firmware/components/remote_control/remote_control.c diff --git a/components/storage/CMakeLists.txt b/firmware/components/storage/CMakeLists.txt similarity index 100% rename from components/storage/CMakeLists.txt rename to firmware/components/storage/CMakeLists.txt diff --git a/components/storage/include/storage.h b/firmware/components/storage/include/storage.h similarity index 100% rename from components/storage/include/storage.h rename to firmware/components/storage/include/storage.h diff --git a/components/storage/storage.c b/firmware/components/storage/storage.c similarity index 100% rename from components/storage/storage.c rename to firmware/components/storage/storage.c diff --git a/data/capability.json b/firmware/data/capability.json similarity index 100% rename from data/capability.json rename to firmware/data/capability.json diff --git a/dependencies.lock b/firmware/dependencies.lock similarity index 100% rename from dependencies.lock rename to firmware/dependencies.lock diff --git a/main/CMakeLists.txt b/firmware/main/CMakeLists.txt similarity index 61% rename from main/CMakeLists.txt rename to firmware/main/CMakeLists.txt index 2c23daf..bd49b4e 100644 --- a/main/CMakeLists.txt +++ b/firmware/main/CMakeLists.txt @@ -1,6 +1,10 @@ -idf_component_register(SRCS "main.c" +idf_component_register(SRCS + main.c INCLUDE_DIRS "." PRIV_REQUIRES + driver + esp_timer + led_strip led_matrix remote_control persistence diff --git a/main/Kconfig.projbuild b/firmware/main/Kconfig.projbuild similarity index 100% rename from main/Kconfig.projbuild rename to firmware/main/Kconfig.projbuild diff --git a/main/idf_component.yml b/firmware/main/idf_component.yml similarity index 100% rename from main/idf_component.yml rename to firmware/main/idf_component.yml diff --git a/main/main.c b/firmware/main/main.c similarity index 100% rename from main/main.c rename to firmware/main/main.c diff --git a/partitions.csv b/firmware/partitions.csv similarity index 100% rename from partitions.csv rename to firmware/partitions.csv diff --git a/sdkconfig.defaults b/firmware/sdkconfig.defaults similarity index 100% rename from sdkconfig.defaults rename to firmware/sdkconfig.defaults diff --git a/sdkconfig.defaults.esp32 b/firmware/sdkconfig.defaults.esp32 similarity index 100% rename from sdkconfig.defaults.esp32 rename to firmware/sdkconfig.defaults.esp32 diff --git a/sdkconfig.defaults.esp32c3 b/firmware/sdkconfig.defaults.esp32c3 similarity index 100% rename from sdkconfig.defaults.esp32c3 rename to firmware/sdkconfig.defaults.esp32c3 diff --git a/sdkconfig.defaults.esp32c5 b/firmware/sdkconfig.defaults.esp32c5 similarity index 100% rename from sdkconfig.defaults.esp32c5 rename to firmware/sdkconfig.defaults.esp32c5 diff --git a/sdkconfig.defaults.esp32c6 b/firmware/sdkconfig.defaults.esp32c6 similarity index 100% rename from sdkconfig.defaults.esp32c6 rename to firmware/sdkconfig.defaults.esp32c6 diff --git a/sdkconfig.defaults.esp32h2 b/firmware/sdkconfig.defaults.esp32h2 similarity index 100% rename from sdkconfig.defaults.esp32h2 rename to firmware/sdkconfig.defaults.esp32h2 diff --git a/sdkconfig.defaults.esp32p4 b/firmware/sdkconfig.defaults.esp32p4 similarity index 100% rename from sdkconfig.defaults.esp32p4 rename to firmware/sdkconfig.defaults.esp32p4 diff --git a/sdkconfig.defaults.esp32s3 b/firmware/sdkconfig.defaults.esp32s3 similarity index 100% rename from sdkconfig.defaults.esp32s3 rename to firmware/sdkconfig.defaults.esp32s3 diff --git a/version.txt b/firmware/version.txt similarity index 100% rename from version.txt rename to firmware/version.txt