diff --git a/boards/arm/kl/freedom-kl25z/scripts/freedom-kl25z.ld b/boards/arm/kl/freedom-kl25z/scripts/freedom-kl25z.ld index 165055ea3e..5f59ac0c1b 100644 --- a/boards/arm/kl/freedom-kl25z/scripts/freedom-kl25z.ld +++ b/boards/arm/kl/freedom-kl25z/scripts/freedom-kl25z.ld @@ -43,7 +43,7 @@ SECTIONS } > vectflash .cfmprotect : { - *(.cfmconfig) + KEEP(*(.cfmconfig)) } > cfmprotect .text : { diff --git a/boards/arm/kl/freedom-kl26z/scripts/freedom-kl26z.ld b/boards/arm/kl/freedom-kl26z/scripts/freedom-kl26z.ld index fd1d583bc0..9d89206883 100644 --- a/boards/arm/kl/freedom-kl26z/scripts/freedom-kl26z.ld +++ b/boards/arm/kl/freedom-kl26z/scripts/freedom-kl26z.ld @@ -43,7 +43,7 @@ SECTIONS } > vectflash .cfmprotect : { - *(.cfmconfig) + KEEP(*(.cfmconfig)) } > cfmprotect .text : { diff --git a/boards/arm/kl/teensy-lc/scripts/teensy-lc.ld b/boards/arm/kl/teensy-lc/scripts/teensy-lc.ld index 1a922110d0..074acc2cd4 100644 --- a/boards/arm/kl/teensy-lc/scripts/teensy-lc.ld +++ b/boards/arm/kl/teensy-lc/scripts/teensy-lc.ld @@ -43,7 +43,7 @@ SECTIONS } > vectflash .cfmprotect : { - *(.cfmconfig) + KEEP(*(.cfmconfig)) } > cfmprotect .text : {