diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/ld/stm32/mem/sram_192k_flash_1024k/mem-jtag.inc | 5 | ||||
-rw-r--r-- | support/ld/stm32/mem/sram_192k_flash_1024k/mem-ram.inc | 5 | ||||
-rw-r--r-- | support/make/board-includes/st_stm32f4discovery.mk | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/support/ld/stm32/mem/sram_192k_flash_1024k/mem-jtag.inc b/support/ld/stm32/mem/sram_192k_flash_1024k/mem-jtag.inc new file mode 100644 index 0000000..074e315 --- /dev/null +++ b/support/ld/stm32/mem/sram_192k_flash_1024k/mem-jtag.inc @@ -0,0 +1,5 @@ +MEMORY +{ + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 192K + rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K +} diff --git a/support/ld/stm32/mem/sram_192k_flash_1024k/mem-ram.inc b/support/ld/stm32/mem/sram_192k_flash_1024k/mem-ram.inc new file mode 100644 index 0000000..d21f17c --- /dev/null +++ b/support/ld/stm32/mem/sram_192k_flash_1024k/mem-ram.inc @@ -0,0 +1,5 @@ +MEMORY +{ + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K + rom (rx) : ORIGIN = 0x08000000, LENGTH = 0K +} diff --git a/support/make/board-includes/st_stm32f4discovery.mk b/support/make/board-includes/st_stm32f4discovery.mk new file mode 100644 index 0000000..0dc44d9 --- /dev/null +++ b/support/make/board-includes/st_stm32f4discovery.mk @@ -0,0 +1,6 @@ +MCU := STM32F407VG +PRODUCT_ID := 0003 +ERROR_LED_PORT := GPIOD +ERROR_LED_PIN := 14 +MCU_SERIES := stm32f4 +LD_MEM_DIR := sram_192k_flash_1024k |