diff options
-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 |