Skip to content

Commit 3b32c76

Browse files
fabiobaltieriYuval Peress
authored andcommitted
zephyr: link the .unstable_id data in ROM
The data in this section is constant: const char _chreVersionString[]... So it can be linked in ROM, which also solves a build issue with few platforms upstream as this linker section is not supposed to use RAM data in the first place. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
1 parent b7955c2 commit 3b32c76

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎platform/zephyr/linker_chre.ld‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@
1717
SECTION_DATA_PROLOGUE(_CHRE_SECTION,,)
1818
{
1919
KEEP(*(".unstable_id"));
20-
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
21-
20+
} GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)

0 commit comments

Comments
 (0)