mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Sep 28 06:30:09 2015 +0100
Parent:
627:4fa1328d9c60
Child:
629:1806c2edb763
Commit message:
Synchronized with git revision 6e52baedf0dc432749ab3f064b65587fd1bd76f6

Full URL: https://github.com/mbedmicro/mbed/commit/6e52baedf0dc432749ab3f064b65587fd1bd76f6/

Support microbit BOOT and OTA modes

Changed in this revision

targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld Show annotated file Show diff for this revision Revisions of this file
--- a/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld	Fri Sep 25 14:15:10 2015 +0100
+++ b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld	Mon Sep 28 06:30:09 2015 +0100
@@ -8,7 +8,8 @@
   /* Define each memory region */
   MFlash512 (rx) : ORIGIN = 0x0, LENGTH = 0x80000 /* 512k */
   RamLoc32 (rwx) : ORIGIN = 0x100000C8, LENGTH = 0x7F38 /* 32k */
-  RamAHB32 (rwx) : ORIGIN = 0x2007c000, LENGTH = 0x8000 /* 32k */
+  RamAHB_USB (rwx) : ORIGIN = 0x2007c000, LENGTH = 0x4000 /* 16k */
+  RamAHB_Eth (rwx) : ORIGIN = 0x20080000, LENGTH = 0x4000 /* 16k */
 
 }
   /* Define a symbol for the top of each memory region */
@@ -110,11 +111,11 @@
         *(.data.$RAM2*)
         *(.data.$RamAHB32*)
        . = ALIGN(4) ;
-    } > RamAHB32 AT>MFlash512
+    } > RamAHB_USB AT>MFlash512
     
     /* MAIN DATA SECTION */
 
-    .uninit_RESERVED : ALIGN(4)
+    .uninit_RESERVED(NOLOAD) : ALIGN(4)
     {
         KEEP(*(.bss.$RESERVED*))
     } > RamLoc32
@@ -130,15 +131,21 @@
     } > RamLoc32 AT>MFlash512
 
     
-    .bss_RAM2 : ALIGN(4)
+    .bss_RAM2(NOLOAD) : ALIGN(4)
     {
         *(.bss.$RAM2*)
         *(.bss.$RamAHB32*)
+        *(AHBSRAM0)
        . = ALIGN(4) ;
-    } > RamAHB32
+    } > RamAHB_USB
 
+    .bss_RAM3(NOLOAD) : ALIGN(4)
+    {
+        *(AHBSRAM1)
+       . = ALIGN(4) ;
+    } > RamAHB_Eth
     /* MAIN BSS SECTION */
-    .bss : ALIGN(4)
+    .bss(NOLOAD) : ALIGN(4)
     {
         _bss = .;
         *(.bss*)