The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct
- Revision:
- 138:093f2bd7b9eb
- Parent:
- 127:25aea2a3f4e3
- Child:
- 141:794e51388b66
diff -r e1686b8d5b90 -r 093f2bd7b9eb TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct --- a/TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct Tue Feb 28 16:44:21 2017 +0000 +++ b/TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct Tue Mar 14 16:20:51 2017 +0000 @@ -60,14 +60,22 @@ #define __ram_vector_table_size__ 0x00000000 #endif -#define m_interrupts_start 0x00000000 +#if !defined(MBED_APP_START) + #define MBED_APP_START 0 +#endif + +#if !defined(MBED_APP_SIZE) + #define MBED_APP_SIZE 0x100000 +#endif + +#define m_interrupts_start MBED_APP_START #define m_interrupts_size 0x00000400 -#define m_flash_config_start 0x00000400 +#define m_flash_config_start MBED_APP_START + 0x400 #define m_flash_config_size 0x00000010 -#define m_text_start 0x00000410 -#define m_text_size 0x000FFBF0 +#define m_text_start MBED_APP_START + 0x410 +#define m_text_size MBED_APP_SIZE - 0x410 #define m_interrupts_ram_start 0x1FFF0000 #define m_interrupts_ram_size __ram_vector_table_size__