Time keep for NRF52 across resets
This commit is contained in:
1 parent
a00fbbe252
commit
772dc84708
2 files changed
+46
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user