diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-11-29 14:31:31 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:52 -0400 |
commit | a7652cebf2603007e01d3af166a5c17596e8f207 (patch) | |
tree | 4b923553529e81b613fe292efe43f99c518366c8 /examples/test-usart-dma.cpp | |
parent | 3b127a9bcdcfee2c6648b3014585b6ed60060c10 (diff) | |
download | librambutan-a7652cebf2603007e01d3af166a5c17596e8f207.tar.gz librambutan-a7652cebf2603007e01d3af166a5c17596e8f207.zip |
Add build support for targeting multiple STM32 series.
Add an MCU_SERIES variable to each of the files under
support/make/board-includes, which declares the series as "stm32f1" in
each case.
Use this in target-config.mk when determining LD_SERIES_PATH (with a
hack since we only support performance line) and
LIBMAPLE_MODULE_SERIES. We must move support/ld/stm32/series/f1 to
.../series/stm32f1 as a side-effect.
Adding support for other series (e.g. "stm32f2") should now be a
matter of filling in the contents of libmaple/<series>/ and
support/ld/stm32/<series>/ appropriately (along with moving the rest
of the nonportable code out of the libmaple core and into the STM32F1
series submodule).
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'examples/test-usart-dma.cpp')
0 files changed, 0 insertions, 0 deletions