diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-01-10 13:51:07 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:53 -0400 |
commit | 59e02b35a7714a6d10afbf33dd4ea933cfaebab4 (patch) | |
tree | c6830509fbeec6fe5bfb2eb9a02ed5f8dc076a15 /support | |
parent | 1ffbef80396cdb13a7976de0eefdc3017ca4499c (diff) | |
download | librambutan-59e02b35a7714a6d10afbf33dd4ea933cfaebab4.tar.gz librambutan-59e02b35a7714a6d10afbf33dd4ea933cfaebab4.zip |
ld/make: Add support for STM3220G-EVAL board.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'support')
-rw-r--r-- | support/ld/st_stm3220g_eval/jtag.ld | 17 | ||||
-rw-r--r-- | support/make/board-includes/st_stm3220g_eval.mk | 4 |
2 files changed, 21 insertions, 0 deletions
diff --git a/support/ld/st_stm3220g_eval/jtag.ld b/support/ld/st_stm3220g_eval/jtag.ld new file mode 100644 index 0000000..4193f5b --- /dev/null +++ b/support/ld/st_stm3220g_eval/jtag.ld @@ -0,0 +1,17 @@ +/* + * STM3220G-EVAL (STM32F207IGH6) linker script for JTAG (bare metal, + * no bootloader) builds. + */ + +MEMORY +{ + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K + rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K +} + +REGION_ALIAS("REGION_TEXT", rom); +REGION_ALIAS("REGION_DATA", ram); +REGION_ALIAS("REGION_BSS", ram); +REGION_ALIAS("REGION_RODATA", rom); + +INCLUDE common.inc diff --git a/support/make/board-includes/st_stm3220g_eval.mk b/support/make/board-includes/st_stm3220g_eval.mk new file mode 100644 index 0000000..f8073ea --- /dev/null +++ b/support/make/board-includes/st_stm3220g_eval.mk @@ -0,0 +1,4 @@ +MCU := STM32F207IG +ERROR_LED_PORT := GPIOG +ERROR_LED_PIN := 6 +MCU_SERIES := stm32f2 |