ads1115 only
Fork of mbed by
Diff: TARGET_KL27Z/TOOLCHAIN_ARM_STD/MKL27Z64xxx4.sct
- Revision:
- 122:f9eeca106725
- Parent:
- 120:7c328cabac7e
- Child:
- 125:2e9cc70d1897
--- a/TARGET_KL27Z/TOOLCHAIN_ARM_STD/MKL27Z64xxx4.sct Wed May 25 16:44:06 2016 +0100 +++ b/TARGET_KL27Z/TOOLCHAIN_ARM_STD/MKL27Z64xxx4.sct Thu Jul 07 14:34:11 2016 +0100 @@ -50,10 +50,6 @@ */ #define __ram_vector_table__ 1 -/* Heap 1/4 of ram and stack 1/8 */ -#define __stack_size__ 0x800 -#define __heap_size__ 0x1000 - #if (defined(__ram_vector_table__)) #define __ram_vector_table_size__ 0x00000200 #else @@ -75,18 +71,6 @@ #define m_data_start (m_interrupts_ram_start + m_interrupts_ram_size) #define m_data_size (0x00004000 - m_interrupts_ram_size) -/* Sizes */ -#if (defined(__stack_size__)) - #define Stack_Size __stack_size__ -#else - #define Stack_Size 0x0400 -#endif - -#if (defined(__heap_size__)) - #define Heap_Size __heap_size__ -#else - #define Heap_Size 0x0400 -#endif LR_m_text m_interrupts_start 0x10000 { ; load region size_region VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address @@ -101,10 +85,8 @@ } VECTOR_RAM m_interrupts_ram_start EMPTY m_interrupts_ram_size { } - RW_m_data m_data_start m_data_size-Stack_Size-Heap_Size { ; RW data + RW_IRAM1 m_data_start m_data_size { ; RW data .ANY (+RW +ZI) } - RW_IRAM1 +0 EMPTY Heap_Size { ; Heap region growing up - } }