From dc146be244c8063971d7b769f35c8c9991cf144a Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 21 Mar 2025 22:24:27 +0100 Subject: fw: html: Move HTML to src folder --- fw/CMakeLists.txt | 9 ++++++--- fw/src/html/index.html | 11 ----------- fw/src/index.html | 11 +++++++++++ 3 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 fw/src/html/index.html create mode 100644 fw/src/index.html diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt index d07494b..cffb6a1 100644 --- a/fw/CMakeLists.txt +++ b/fw/CMakeLists.txt @@ -30,6 +30,9 @@ zephyr_linker_section(NAME http_resource_desc_http_service KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN}) -set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/) -set(source_file_index src/html/index.html) -generate_inc_file_for_target(app ${source_file_index} ${gen_dir}/index.html.gz.inc --gzip) +generate_inc_file_for_target( + app + src/index.html + ${ZEPHYR_BINARY_DIR}/include/generated/index.html.gz.inc + --gzip +) diff --git a/fw/src/html/index.html b/fw/src/html/index.html deleted file mode 100644 index a7e3ce9..0000000 --- a/fw/src/html/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - iot-contact - - -

iot-contact

- - diff --git a/fw/src/index.html b/fw/src/index.html new file mode 100644 index 0000000..a7e3ce9 --- /dev/null +++ b/fw/src/index.html @@ -0,0 +1,11 @@ + + + + + + iot-contact + + +

iot-contact

+ + -- cgit v1.2.3-70-g09d2