From 59e02b35a7714a6d10afbf33dd4ea933cfaebab4 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 10 Jan 2012 13:51:07 -0500 Subject: ld/make: Add support for STM3220G-EVAL board. Signed-off-by: Marti Bolivar --- support/ld/st_stm3220g_eval/jtag.ld | 17 +++++++++++++++++ support/make/board-includes/st_stm3220g_eval.mk | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 support/ld/st_stm3220g_eval/jtag.ld create mode 100644 support/make/board-includes/st_stm3220g_eval.mk 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 -- cgit v1.2.3