mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Revision:
181:57724642e740
Parent:
180:96ed750bd169
Child:
187:0387e8f68319
--- a/platform/CThunk.h	Wed Jan 17 15:23:54 2018 +0000
+++ b/platform/CThunk.h	Fri Feb 16 16:09:33 2018 +0000
@@ -42,7 +42,7 @@
 #define CTHUNK_VARIABLES volatile uint32_t code[2]
 
 #if (defined(__CORTEX_M3) || defined(__CORTEX_M4) || defined(__CORTEX_M7) || defined(__CORTEX_A9) \
-    || defined(__CORTEX_M23) || defined(__CORTEX_M33))
+    || defined(__CORTEX_M33))
 /**
 * CTHUNK disassembly for Cortex-M3/M4/M7/A9 (thumb2):
 * * adr  r0, #4
@@ -59,7 +59,7 @@
                              m_thunk.code[1] = 0x00008007; \
                          } while (0)
 
-#elif (defined(__CORTEX_M0PLUS) || defined(__CORTEX_M0))
+#elif (defined(__CORTEX_M0PLUS) || defined(__CORTEX_M0) || defined(__CORTEX_M23))
 /*
 * CTHUNK disassembly for Cortex M0/M0+ (thumb):
 * * adr  r0, #4