summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/pybrtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/mods/pybrtc.c')
-rw-r--r--cc3200/mods/pybrtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc3200/mods/pybrtc.c b/cc3200/mods/pybrtc.c
index 5d6c2a7ca1..1844a6d7f3 100644
--- a/cc3200/mods/pybrtc.c
+++ b/cc3200/mods/pybrtc.c
@@ -51,6 +51,7 @@
/// rtc.datetime((2014, 5, 1, 4, 13, 0, 0, 0))
/// print(rtc.datetime())
+__attribute__ ((section (".boot")))
void pybrtc_init(void) {
// if RTC was previously set leave it alone
if (MAP_PRCMSysResetCauseGet() == PRCM_POWER_ON) {