Skip to content

Commit

Permalink
Merge pull request #13047 from hugueskamba/hk_nrf_arm_compiler
Browse files Browse the repository at this point in the history
NRF: Migrate ARM Compiler 5 feature re-locate zero initialized variables
  • Loading branch information
0xc0170 authored Jun 5, 2020
2 parents 819b9f9 + 488f06b commit 65cbf97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
#include "nrf_dfu_mbr.h"
#endif

#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
__attribute__ ((section(".bss.nvictable"),zero_init))
#if defined(__ARMCC_VERSION)
__attribute__ ((section(".bss.nvictable")))
uint32_t nrf_dispatch_vector[NVIC_NUM_VECTORS];
#elif defined(__GNUC__)
__attribute__ ((section(".nvictable")))
Expand Down

0 comments on commit 65cbf97

Please sign in to comment.