From 2ddf4682f4c11f4356b030b6474fb12fea55b8ea Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 21 Mar 2025 22:39:30 +0100 Subject: fw: js: Add web frontend to display heartbeat This makes it transparent to the user that there is an active connection to the firmware. If the connection is broken the user notices that quickly and can re-load the page. --- fw/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'fw/CMakeLists.txt') diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt index 5aaf319..5a8d6c4 100644 --- a/fw/CMakeLists.txt +++ b/fw/CMakeLists.txt @@ -39,3 +39,10 @@ generate_inc_file_for_target( ${ZEPHYR_BINARY_DIR}/include/generated/index.html.gz.inc --gzip ) + +generate_inc_file_for_target( + app + src/iot-contact.js + ${ZEPHYR_BINARY_DIR}/include/generated/iot-contact.js.gz.inc + --gzip +) -- cgit v1.2.3-70-g09d2