Skip to content

Commit

Permalink
Prevent RAM data appearing in the output file
Browse files Browse the repository at this point in the history
  • Loading branch information
clydebarrow committed Apr 6, 2017
1 parent a790dbd commit fcced88
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bootload/bgbootload.ld
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,6 @@ SECTIONS
__UserStart = .;
}> FLASH

/* This is where the enter-dfu key gets written */
.dfu_key :
{
KEEP(*(.dfu_key))
} > BLERAM


.text_app_data : AT (__etext)
{
Expand Down Expand Up @@ -211,10 +205,16 @@ SECTIONS
/* Check if FLASH usage exceeds FLASH size */
/*ASSERT( LENGTH(FLASH) >= (__etext + SIZEOF(.data)), "FLASH memory overflowed !")*/

/* This is where the enter-dfu key gets written */
.dfu_key (NOLOAD) :
{
KEEP(*(.dfu_key))
} > BLERAM

/* Patch the stack */

_patch_addr = 0x63d4;
.patch_stack _patch_addr :
.patch_stack _patch_addr :
{
KEEP(*(.patch*))
}> FLASH
Expand Down

0 comments on commit fcced88

Please sign in to comment.