Merge pull request #13047 from hugueskamba/hk_nrf_arm_compiler

NRF: Migrate ARM Compiler 5 feature re-locate zero initialized variables
pull/13077/head
Martin Kojtal 2020-06-05 10:48:06 +02:00 committed by GitHub
commit 65cbf9759d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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")))