From f4f05dc8e7ffef2a8e98dfb20e84ad654d4818be Mon Sep 17 00:00:00 2001 From: davide schiavone Date: Thu, 12 Oct 2023 14:06:04 +0200 Subject: [PATCH] add data only flash section --- sw/linker/link_flash_load.ld.tpl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sw/linker/link_flash_load.ld.tpl b/sw/linker/link_flash_load.ld.tpl index e7c54300c..61637a15f 100644 --- a/sw/linker/link_flash_load.ld.tpl +++ b/sw/linker/link_flash_load.ld.tpl @@ -151,4 +151,11 @@ SECTIONS { % endif + .data_flash_only : ALIGN_WITH_INPUT + { + . = ALIGN(4); + *(.xheep_data_flash_only) + . = ALIGN(4); + } >FLASH + }