Protoype 1 can read data and retrieve it by pressing button once and reset storage by pressing twice.

This commit is contained in:
2026-04-28 01:04:33 +02:00
parent 9b31240ea9
commit 1d246d6d8a
1033 changed files with 43220 additions and 15793 deletions

View File

@@ -1 +1 @@
662a3be354759d9487bf4b1a629fadb766cb1800
ref: refs/heads/main

View File

@@ -15,10 +15,10 @@
set(HEAD_HASH)
file(READ "/home/douwe/Projects/temperature_measure/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
file(READ "/mnt/douwe/hdd/Projects/SerreklimaatSensor/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
set(GIT_DIR "/home/douwe/.espressif/v6.0/esp-idf/.git")
set(GIT_DIR "/mnt/douwe/hdd/Projects/SerreklimaatSensor/.git")
# handle git-worktree
if(EXISTS "${GIT_DIR}/commondir")
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
@@ -34,17 +34,17 @@ if(HEAD_CONTENTS MATCHES "ref")
# named branch
string(REPLACE "ref: " "" HEAD_REF "${HEAD_CONTENTS}")
if(EXISTS "${GIT_DIR}/${HEAD_REF}")
configure_file("${GIT_DIR}/${HEAD_REF}" "/home/douwe/Projects/temperature_measure/build/CMakeFiles/git-data/head-ref" COPYONLY)
configure_file("${GIT_DIR}/${HEAD_REF}" "/mnt/douwe/hdd/Projects/SerreklimaatSensor/build/CMakeFiles/git-data/head-ref" COPYONLY)
elseif(EXISTS "${GIT_DIR}/logs/${HEAD_REF}")
configure_file("${GIT_DIR}/logs/${HEAD_REF}" "/home/douwe/Projects/temperature_measure/build/CMakeFiles/git-data/head-ref" COPYONLY)
configure_file("${GIT_DIR}/logs/${HEAD_REF}" "/mnt/douwe/hdd/Projects/SerreklimaatSensor/build/CMakeFiles/git-data/head-ref" COPYONLY)
set(HEAD_HASH "${HEAD_REF}")
endif()
else()
# detached HEAD
configure_file("${GIT_DIR}/HEAD" "/home/douwe/Projects/temperature_measure/build/CMakeFiles/git-data/head-ref" COPYONLY)
configure_file("${GIT_DIR}/HEAD" "/mnt/douwe/hdd/Projects/SerreklimaatSensor/build/CMakeFiles/git-data/head-ref" COPYONLY)
endif()
if(NOT HEAD_HASH)
file(READ "/home/douwe/Projects/temperature_measure/build/CMakeFiles/git-data/head-ref" HEAD_HASH LIMIT 1024)
file(READ "/mnt/douwe/hdd/Projects/SerreklimaatSensor/build/CMakeFiles/git-data/head-ref" HEAD_HASH LIMIT 1024)
string(STRIP "${HEAD_HASH}" HEAD_HASH)
endif()

View File

@@ -1 +1 @@
662a3be354759d9487bf4b1a629fadb766cb1800
9b31240ea963261cc15b1abbb396a92a0fff725a