Basic code for mk20dx256vlh7 flashing
This commit is contained in:
parent
1acbc97e98
commit
02b919a4cb
8 changed files with 158 additions and 90 deletions
|
@ -33,13 +33,12 @@ MEMORY
|
|||
{
|
||||
FLASH (rx) : ORIGIN = 0x0, LENGTH = 256K
|
||||
FLASH_APP (rx) : ORIGIN = 8K, LENGTH = 256K-8K
|
||||
FLASH_END (r) : ORIGIN = 256K, LENGTH = 32
|
||||
RAM (rwx) : ORIGIN = 0x20000000 - 64K / 2, LENGTH = 64K
|
||||
}
|
||||
|
||||
/* Starting Address of the application ROM */
|
||||
_bootloader = ORIGIN( FLASH );
|
||||
_app_rom = ORIGIN( FLASH_APP );
|
||||
_app_rom_end = ORIGIN( FLASH_END );
|
||||
|
||||
FlexRAM = 0x14000000;
|
||||
FTFL = 0x40020000;
|
||||
|
|
|
@ -43,6 +43,7 @@ SECTIONS
|
|||
. = 0;
|
||||
KEEP(* (.vectors))
|
||||
*(.startup*)
|
||||
. = 0x400; KEEP(* (.flashconfig)) /* MUST BE AT 0x400 */
|
||||
*(.text*)
|
||||
*(.rodata*)
|
||||
. = ALIGN(4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue