mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_NORDIC/TARGET_NRF5/reloc_vector_table.c
- Revision:
- 174:b96e65c34a4d
- Parent:
- 150:02e0a0aed4ec
--- a/targets/TARGET_NORDIC/TARGET_NRF5/reloc_vector_table.c Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_NORDIC/TARGET_NRF5/reloc_vector_table.c Mon Oct 02 15:33:19 2017 +0100 @@ -42,8 +42,8 @@ #include "nrf_sdm.h" #include "section_vars.h" -#if defined(__CC_ARM) - __attribute__ ((section("noinit"),zero_init)) +#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) + __attribute__ ((section(".bss.noinit"),zero_init)) uint32_t nrf_dispatch_vector[NVIC_NUM_VECTORS]; #elif defined(__GNUC__) __attribute__ ((section(".noinit")))