From f7cd9b461ca33845339f4a11f49bdc142696827a Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Tue, 28 Jun 2016 09:51:29 +0200 Subject: Apalis_TK1_K20: SPI Communication, ADC, TSC, GPIO Support for Communication between TK1 SoC and K20 MCU This patch includes ADC, TSC and GPIO functionality. Signed-off-by: Dominik Sliwa --- MK20DN512xxx10_flash.ld | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'MK20DN512xxx10_flash.ld') 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 : -- cgit v1.2.3