Merge pull request #7486 from marcuschangarm/fix-nrf52-iar

Fix linker script for NRF52840/IAR
pull/7502/head
Cruz Monrreal 2018-07-12 10:09:12 -05:00 committed by GitHub
commit f4c936f455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,6 @@ place at address mem:__ICFEDIT_region_RAM_NVIC_start__ { section .nvictable };
do not initialize { section .noinit };
place in RAM_region { section .noinit };
keep { section .intvec };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };

View File

@ -54,8 +54,11 @@ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
initialize by copy { readwrite };
do not initialize { section .nvictable };
place at address mem:__ICFEDIT_region_RAM_NVIC_start__ { section .nvictable };
do not initialize { section .noinit };
place at address mem:__ICFEDIT_region_RAM_NVIC_start__ { section .noinit };
place in RAM_region { section .noinit };
keep { section .intvec };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };