Time keep for NRF52 across resets

This commit is contained in:
Kevin Le committed 2026-08-14 23:42:25 +07:00
1 parent a00fbbe252
commit 772dc84708
2 files changed
+46 -2

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#include <stdint.h>
extern "C" {
__attribute__((section(".persistent_magic"))) uint32_t persistent_magic;
__attribute__((section(".persistent_data"))) uint32_t persistent_time;
}