mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_STM/nvic_addr.h
- Revision:
- 187:0387e8f68319
- Parent:
- 174:b96e65c34a4d
--- a/targets/TARGET_STM/nvic_addr.h Fri Jun 22 16:45:37 2018 +0100 +++ b/targets/TARGET_STM/nvic_addr.h Thu Sep 06 13:40:20 2018 +0100 @@ -21,16 +21,16 @@ #endif #if defined(__ICCARM__) - #pragma section=".intvec" - #define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)__section_begin(".intvec")) +#pragma section=".intvec" +#define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)__section_begin(".intvec")) #elif defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) - extern uint32_t Load$$LR$$LR_IROM1$$Base[]; - #define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)Load$$LR$$LR_IROM1$$Base) +extern uint32_t Load$$LR$$LR_IROM1$$Base[]; +#define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)Load$$LR$$LR_IROM1$$Base) #elif defined(__GNUC__) - extern uint32_t g_pfnVectors[]; - #define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)g_pfnVectors) +extern uint32_t g_pfnVectors[]; +#define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)g_pfnVectors) #else - #error "Flash vector address not set for this toolchain" +#error "Flash vector address not set for this toolchain" #endif #ifdef __cplusplus