Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update K64F memory map for for larger static data
The KSDK2 update restricts static data to the first 64K of RAM. This breaks some applications which require more than 64K of static data. This patch moves the static data sections (bss and data) into the second ram region which is 192K. Changes taken from similar patches here: ARMmbed/target-kinetis-k64-gcc#5 ARMmbed/target-kinetis-k64-gcc#6 Previous layout --------------- 0x1FFF0000 m_data .interrupts_ram 0x1FFF0400 data, bss 0x1FFFFFFF end of bss 0x20000000 m_data_2 start of heap, end of stack 0x2002ffff end of heap, start of stack New layout ---------- 0x1FFF0000 m_data .interrupts_ram 0x1FFF0400 start of unused ram 0x1FFFFFFF end of unused ram 0x20000000 m_data_2 data, bss 0x200XXXXX end of bss 0x200XXXXX+1 start of heap, end of stack 0x2002ffff end of heap, start of stack
- Loading branch information