aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-07 16:04:49 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-07 23:34:23 -0400
commitd2575d27e944905626f36f926a13a40d4832373e (patch)
treea4b41148a0f52cb4b9170de9c3db33ae7b5e3874 /support/ld
parentf2bce4d21302f50e70dc8d00fbb846748749103b (diff)
downloadlibrambutan-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 'support/ld')
0 files changed, 0 insertions, 0 deletions