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.

Committer:
AnnaBridge
Date:
Wed Feb 20 20:53:29 2019 +0000
Revision:
172:65be27845400
Parent:
157:e7ca05fa8600
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 157:e7ca05fa8600 1 #! armcc -E
AnnaBridge 157:e7ca05fa8600 2
AnnaBridge 157:e7ca05fa8600 3 #if !defined(MBED_APP_START)
AnnaBridge 157:e7ca05fa8600 4 #define MBED_APP_START 0x00000000
AnnaBridge 157:e7ca05fa8600 5 #endif
AnnaBridge 157:e7ca05fa8600 6
AnnaBridge 157:e7ca05fa8600 7 #if !defined(MBED_APP_SIZE)
AnnaBridge 157:e7ca05fa8600 8 #define MBED_APP_SIZE 0x80000
AnnaBridge 157:e7ca05fa8600 9 #endif
AnnaBridge 157:e7ca05fa8600 10
AnnaBridge 157:e7ca05fa8600 11 LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
AnnaBridge 157:e7ca05fa8600 12 ER_IROM0 MBED_APP_START 0x2FC { ; load address = execution address
AnnaBridge 157:e7ca05fa8600 13 *.o (RESET, +First)
AnnaBridge 157:e7ca05fa8600 14 .ANY (+RO)
AnnaBridge 157:e7ca05fa8600 15 }
AnnaBridge 157:e7ca05fa8600 16 ER_CRP (MBED_APP_START + 0x2FC) FIXED 4 {
AnnaBridge 157:e7ca05fa8600 17 *.o (.CRPSection)
AnnaBridge 157:e7ca05fa8600 18 }
AnnaBridge 157:e7ca05fa8600 19 ER_IROM1 (MBED_APP_START + (0x2FC + 4)) FIXED (MBED_APP_SIZE - (0x2FC + 4)) {
AnnaBridge 157:e7ca05fa8600 20 *(InRoot$$Sections)
AnnaBridge 157:e7ca05fa8600 21 .ANY (+RO)
AnnaBridge 157:e7ca05fa8600 22 }
AnnaBridge 157:e7ca05fa8600 23 ; 8_byte_aligned(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8
AnnaBridge 157:e7ca05fa8600 24 ; 32KB (RAM size) - 0xC8 (NIVT) - 32 (topmost 32 bytes used by IAP functions) = 0x7F18
AnnaBridge 157:e7ca05fa8600 25 RW_IRAM1 0x100000C8 0x7F18 {
AnnaBridge 157:e7ca05fa8600 26 .ANY (+RW +ZI)
AnnaBridge 157:e7ca05fa8600 27 }
AnnaBridge 157:e7ca05fa8600 28 RW_IRAM2 0x2007C000 0x4000 { ; RW data, ETH RAM
AnnaBridge 157:e7ca05fa8600 29 .ANY (AHBSRAM0)
AnnaBridge 157:e7ca05fa8600 30 }
AnnaBridge 157:e7ca05fa8600 31 RW_IRAM3 0x20080000 0x4000 { ; RW data, ETH RAM
AnnaBridge 157:e7ca05fa8600 32 .ANY (AHBSRAM1)
AnnaBridge 157:e7ca05fa8600 33 }
AnnaBridge 157:e7ca05fa8600 34 RW_IRAM4 0x40038000 0x0800 { ; RW data, CAN RAM
AnnaBridge 157:e7ca05fa8600 35 .ANY (CANRAM)
AnnaBridge 157:e7ca05fa8600 36 }
AnnaBridge 157:e7ca05fa8600 37 }