diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-07 16:04:49 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-07 23:34:23 -0400 |
commit | d2575d27e944905626f36f926a13a40d4832373e (patch) | |
tree | a4b41148a0f52cb4b9170de9c3db33ae7b5e3874 /libmaple/libmaple.h | |
parent | f2bce4d21302f50e70dc8d00fbb846748749103b (diff) | |
download | librambutan-d2575d27e944905626f36f926a13a40d4832373e.tar.gz librambutan-d2575d27e944905626f36f926a13a40d4832373e.zip |
stm32.h: Remove SRAM_SIZE, prefix all #defines.
Remove SRAM_SIZE define. This seems like a bad idea given that
bootloader builds drop user code at an offset from the SRAM start
address.
Prefix every #define with "STM32_" to avoid polluting the namespace.
Keep and deprecate the remaining ones (except for aforementioned
SRAM_SIZE), but define them to be the same as their prefixed variant.
Take a little extra care to break libmaple builds which specify PCLK1
and PCLK2 instead of the prefixed versions. Some libmaple forks make
use of these; they will break in mysterious ways if they don't handle
this change properly.
Diffstat (limited to 'libmaple/libmaple.h')
0 files changed, 0 insertions, 0 deletions