aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/systick.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@mit.edu>2010-12-28 19:06:27 -0500
committerMarti Bolivar <mbolivar@mit.edu>2010-12-28 19:06:27 -0500
commitd1a8d832af96efdd1b399799dfae81517dc04dfa (patch)
tree3ce037909f3fdec9167557544c19a8c94726838b /libmaple/systick.h
parentd38ffc1c658476a5c28e3d70ac9abd300f914433 (diff)
downloadlibrambutan-d1a8d832af96efdd1b399799dfae81517dc04dfa.tar.gz
librambutan-d1a8d832af96efdd1b399799dfae81517dc04dfa.zip
nzmichaelh's pull request mods compile and upload.
renamed SysTick_Handler back to SysTickHandler since all of our linker magic/lanchon-stm32 depends on that name. added backup register support in order to test independent watchdog support; it seems to work. next major test target is DMA support.
Diffstat (limited to 'libmaple/systick.h')
-rw-r--r--libmaple/systick.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/systick.h b/libmaple/systick.h
index ae1268a..33a3cf8 100644
--- a/libmaple/systick.h
+++ b/libmaple/systick.h
@@ -43,7 +43,7 @@ extern "C"{
#define SYSTICK_CSR_COUNTFLAG BIT(16)
/** System elapsed time in milliseconds */
-volatile uint32 systick_timer_millis;
+extern volatile uint32 systick_timer_millis;
void systick_init(uint32 reload_val);
void systick_disable();