Skip to content

Commit

Permalink
place puf section first in linker script
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKietzmann committed Jul 3, 2018
1 parent 0677145 commit fb99050
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cpu/cortexm_common/ldscripts/cortexm_base.ld
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ SECTIONS
/* stack section */
.stack (NOLOAD):
{
_puf_sram_len = DEFINED(_puf_sram_len) ? _puf_sram_len : 0 ;
KEEP (*(.puf_stack))
. = ALIGN(_puf_sram_len);
_pstack = .;
. = ALIGN(8);
_sstack = .;
KEEP (*(.isr_stack))
. = ALIGN(8);
_estack = .;
_puf_sram_len = DEFINED(_puf_sram_len) ? _puf_sram_len : 0 ;
KEEP (*(.puf_stack))
. = ALIGN(_puf_sram_len);
_pstack = .;
} > ram

.relocate :
Expand Down

0 comments on commit fb99050

Please sign in to comment.