mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_STM/TARGET_STM32F2/device/stm32f2xx_hal_def.h
- Revision:
- 164:289d4deac6e4
- Parent:
- 153:fa9ff456f731
- Child:
- 167:e84263d55307
diff -r 74e0ce7f98e8 -r 289d4deac6e4 targets/TARGET_STM/TARGET_STM32F2/device/stm32f2xx_hal_def.h --- a/targets/TARGET_STM/TARGET_STM32F2/device/stm32f2xx_hal_def.h Fri Apr 28 14:04:18 2017 +0100 +++ b/targets/TARGET_STM/TARGET_STM32F2/device/stm32f2xx_hal_def.h Wed May 10 12:06:41 2017 +0100 @@ -145,7 +145,7 @@ } while (__STREXW(newValue,(volatile unsigned long*) ptr)); } -#if defined ( __GNUC__ ) +#if defined ( __GNUC__ ) && !defined ( __CC_ARM ) #ifndef __weak #define __weak __attribute__((weak)) #endif /* __weak */