meh

Fork of mbed by mbed official

Revision:
89:552587b429a1
Parent:
74:a842253909c9
diff -r 9327015d4013 -r 552587b429a1 TARGET_LPC4088/TOOLCHAIN_ARM_STD/LPC407X_8X.sct
--- a/TARGET_LPC4088/TOOLCHAIN_ARM_STD/LPC407X_8X.sct	Fri Aug 15 15:28:31 2014 +0100
+++ b/TARGET_LPC4088/TOOLCHAIN_ARM_STD/LPC407X_8X.sct	Fri Sep 12 16:41:52 2014 +0100
@@ -6,7 +6,7 @@
   ER_IROM1 0x00000000 0x00080000  {  ; load address = execution address
    *.o (RESET, +First)
    *(InRoot$$Sections)
-   *.o (+RO-CODE)                    ; forces all CODE to IFLASH
+   *.o (+RO-CODE)                    ; prioritizes CODE in IFLASH before SPIFI
    .ANY2 (+RO-DATA)                  ; prioritizes DATA in IFLASH before SPIFI
    .ANY (+RO)                        ; remaining RO
   }
@@ -25,6 +25,7 @@
   ER_IROM2 0x28000000 0x01000000  {  ; load address = execution address
     .ANY1 (+RO-DATA)                 ; all DATA not fitting in IFLASH
     .ANY (SPIFI_MEM)                 ; DATA tagged as SPIFI_MEM
+    *.o (SPIFI_MEM)                  ; CODE tagged as SPIFI_MEM
   }
 }