summaryrefslogtreecommitdiff
path: root/MK20DN512xxx10_flash.ld
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2016-06-28 09:51:29 +0200
committerDominik Sliwa <dominik.sliwa@toradex.com>2017-01-25 16:49:22 +0100
commitf7cd9b461ca33845339f4a11f49bdc142696827a (patch)
tree058f5e4f20307f26bf4d7d811047d4c90a25522e /MK20DN512xxx10_flash.ld
parentfc8127294072ecff476706f073314738512ec1c9 (diff)
Apalis_TK1_K20: SPI Communication, ADC, TSC, GPIOapalis-tk1-k20-freertos-v8
Support for Communication between TK1 SoC and K20 MCU This patch includes ADC, TSC and GPIO functionality. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'MK20DN512xxx10_flash.ld')
-rw-r--r--MK20DN512xxx10_flash.ld10
1 files changed, 8 insertions, 2 deletions
diff --git a/MK20DN512xxx10_flash.ld b/MK20DN512xxx10_flash.ld
index 31b2d0f..782d555 100644
--- a/MK20DN512xxx10_flash.ld
+++ b/MK20DN512xxx10_flash.ld
@@ -60,7 +60,8 @@ MEMORY
{
m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010
- m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x0007FBF0
+ m_fw_version (RX) : ORIGIN = 0x00000410, LENGTH = 0x00000004
+ m_text (RX) : ORIGIN = 0x00000414, LENGTH = 0x0007FBEC
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00010000
}
@@ -79,10 +80,15 @@ SECTIONS
.flash_config :
{
- . = ALIGN(4);
+ . = ALIGN(4);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
} > m_flash_config
+
+ .fw_config :
+ {
+ KEEP(*(.FwVersion)) /* Firmware version */
+ } > m_fw_version
/* The program code and other data goes into internal flash */
.text :