Keep time across reset for NRF52

This commit is contained in:
Kevin Le committed 2026-10-17 12:08:24 +07:00
1 parent fe44cb4326
commit a9845842d1
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;
}