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:
Anna Bridge
Date:
Fri Jun 22 15:38:59 2018 +0100
Revision:
169:a7c7b631e539
Parent:
156:ff21514d8981
mbed library. Release version 162

Who changed what in which revision?

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