soc: nxp_kinetis: Mark __kinetis_flash_config with __used attribute
This is a fix for issue #90426 . Marking __kinetis_flash_config with __used attribute prevents unwanted deletion when compiling with LTO. Signed-off-by: Matthieu Speder <mspeder@users.sourceforge.net>
This commit is contained in:
parent
481711e5a6
commit
66d90e7782
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/linker/sections.h>
|
||||
|
||||
uint8_t __kinetis_flash_config_section __kinetis_flash_config[] = {
|
||||
uint8_t __used __kinetis_flash_config_section __kinetis_flash_config[] = {
|
||||
/* Backdoor Comparison Key (unused) */
|
||||
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue