mbed library sources

Dependents:   SPI_slave_frdm

Fork of mbed-src by mbed official

Revision:
482:d9a48e768ce0
Parent:
401:6d559ae9fd59
--- a/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mbed_sf_boot.c	Thu Feb 26 09:30:08 2015 +0000
+++ b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mbed_sf_boot.c	Fri Feb 27 10:00:08 2015 +0000
@@ -26,8 +26,14 @@
 * $Date::                           $
 * @brief        RZ_A1 serial flash boot loader
 ******************************************************************************/
+#if defined  (__CC_ARM)
 #pragma arm section rodata = "BOOT_LOADER"
 const char boot_loader[]  __attribute__((used)) =
+
+#else
+const char boot_loader[]  __attribute__ ((section(".boot_loader"), used)) =
+
+#endif
 {
     0x18,0xF0,0x9F,0xE5,0x18,0xF0,0x9F,0xE5,0x18,0xF0,0x9F,0xE5,0x18,0xF0,0x9F,0xE5,
     0x18,0xF0,0x9F,0xE5,0x18,0xF0,0x9F,0xE5,0x18,0xF0,0x9F,0xE5,0x18,0xF0,0x9F,0xE5,
@@ -814,6 +820,7 @@
     0x00,0x02,0x00,0x18,0x00,0x00,0x02,0x20,0x04,0x00,0x9F,0xE5,0x10,0x0F,0x0C,0xEE,
     0x1E,0xFF,0x2F,0xE1,0x00,0x00,0x00,0x18,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 };
+#if defined  (__CC_ARM)
 #pragma arm section
+#endif
 
-