diff options
author | Marti Bolivar <mbolivar@mit.edu> | 2010-12-28 19:06:27 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@mit.edu> | 2010-12-28 19:06:27 -0500 |
commit | d1a8d832af96efdd1b399799dfae81517dc04dfa (patch) | |
tree | 3ce037909f3fdec9167557544c19a8c94726838b /libmaple/libmaple.h | |
parent | d38ffc1c658476a5c28e3d70ac9abd300f914433 (diff) | |
download | librambutan-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/libmaple.h')
-rw-r--r-- | libmaple/libmaple.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h index 6921b63..417d732 100644 --- a/libmaple/libmaple.h +++ b/libmaple/libmaple.h @@ -40,6 +40,9 @@ #ifdef MCU_STM32F103RB // eg, LeafLabs Maple + // Number of 16-bit backup registers + #define NR_BKP_REGS 10 + // Number of GPIO ports (GPIOA, GPIOB, etc), definately used #define NR_GPIO_PORTS 4 @@ -94,6 +97,7 @@ #ifdef MCU_STM32F103ZE // eg, LeafLabs Maple Native + #define NR_BKP_REGS 42 #define NR_GPIO_PORTS 7 #define NR_GPIO_PINS 63 #define NR_TIMERS 8 |