summaryrefslogtreecommitdiff
path: root/src/stm/registers.ld
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-01 08:58:17 -0700
committerKeith Packard <keithp@keithp.com>2013-05-07 20:08:01 -0700
commit091582c446319fe4a79154153ece5372b2faec83 (patch)
treea0b16053cc636cac751129db75e3cdc20fe857d1 /src/stm/registers.ld
parentb7b0ddfddee3f8e21f21d67cd9f522fa50777265 (diff)
altos: Use SYSTICK on STM32L
It's probably more power efficient than using one of the timers, and it's certainly easier to configure. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/registers.ld')
-rw-r--r--src/stm/registers.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stm/registers.ld b/src/stm/registers.ld
index 95a86e35..8318c75a 100644
--- a/src/stm/registers.ld
+++ b/src/stm/registers.ld
@@ -44,6 +44,8 @@ stm_tim4 = 0x40000800;
stm_tim3 = 0x40000400;
stm_tim2 = 0x40000000;
+stm_systick = 0xe000e010;
+
stm_nvic = 0xe000e100;
stm_scb = 0xe000ed00;