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_UBLOX_C027/TOOLCHAIN_ARM_MICRO/LPC1768.sct
- Revision:
- 154:fb8e0ae1cceb
- Parent:
- 145:64910690c574
diff -r b484a57bc302 -r fb8e0ae1cceb TARGET_UBLOX_C027/TOOLCHAIN_ARM_MICRO/LPC1768.sct --- a/TARGET_UBLOX_C027/TOOLCHAIN_ARM_MICRO/LPC1768.sct Wed Oct 11 12:36:33 2017 +0100 +++ b/TARGET_UBLOX_C027/TOOLCHAIN_ARM_MICRO/LPC1768.sct Wed Oct 25 14:40:21 2017 +0100 @@ -1,9 +1,24 @@ +#! armcc -E -LR_IROM1 0x00000000 0x80000 { ; load region size_region - ER_IROM1 0x00000000 0x80000 { ; load address = execution address - *.o (RESET, +First) - *(InRoot$$Sections) - .ANY (+RO) +#if !defined(MBED_APP_START) + #define MBED_APP_START 0x00000000 +#endif + +#if !defined(MBED_APP_SIZE) + #define MBED_APP_SIZE 0x80000 +#endif + +LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region + ER_IROM0 MBED_APP_START 0x2FC { ; load address = execution address + *.o (RESET, +First) + .ANY (+RO) + } + ER_CRP (MBED_APP_START + 0x2FC) FIXED 4 { + *.o (.CRPSection) + } + ER_IROM1 (MBED_APP_START + (0x2FC + 4)) FIXED (MBED_APP_SIZE - (0x2FC + 4)) { + *(InRoot$$Sections) + .ANY (+RO) } ; 8_byte_aligned(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8 ; 32KB (RAM size) - 0xC8 (NIVT) - 32 (topmost 32 bytes used by IAP functions) = 0x7F18