diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-23 13:30:00 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-23 13:30:07 -0400 |
commit | c213a1af51dff8655d23c1b66d19533ec35b5265 (patch) | |
tree | a3aa8540eac6ec91cf663eda7a7ca92326e01715 /wirish/start_c.c | |
parent | 5fa30279b80cd9ae401f61a127a33034b241a2e8 (diff) | |
download | librambutan-c213a1af51dff8655d23c1b66d19533ec35b5265.tar.gz librambutan-c213a1af51dff8655d23c1b66d19533ec35b5265.zip |
stm32f1: stm32.h: Put MCU section first, allow overrides.
Put the section defining MCU-specific values before the other
sections. Surround the density-specific defines with #ifndef/#endif
pairs. This allows any of the settings in the STM32F1 stm32.h to be
overridden on a per-MCU basis. That's hopefully useful to e.g. people
porting libmaple to STM32F100 MCUs, which have slower clocks.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/start_c.c')
0 files changed, 0 insertions, 0 deletions