Skip to content

Commit 65cbf97

Browse files
authored
Merge pull request #13047 from hugueskamba/hk_nrf_arm_compiler
NRF: Migrate ARM Compiler 5 feature re-locate zero initialized variables
2 parents 819b9f9 + 488f06b commit 65cbf97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/reloc_vector_table.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
#include "nrf_dfu_mbr.h"
4848
#endif
4949

50-
#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
51-
__attribute__ ((section(".bss.nvictable"),zero_init))
50+
#if defined(__ARMCC_VERSION)
51+
__attribute__ ((section(".bss.nvictable")))
5252
uint32_t nrf_dispatch_vector[NVIC_NUM_VECTORS];
5353
#elif defined(__GNUC__)
5454
__attribute__ ((section(".nvictable")))

0 commit comments

Comments
 (0)