Skip to content

Commit c09f4c8

Browse files
ahasztagtomchy
authored andcommitted
applications: machine_learning: Enable LTO on MCUBoot
It fixes the overflow on thingy53 Signed-off-by: Artur Hadasz <[email protected]>
1 parent 003d6b2 commit c09f4c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

applications/machine_learning/sysbuild/mcuboot/boards/thingy53_nrf5340_cpuapp.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,6 @@ CONFIG_FLASH_SIMULATOR_STATS=n
7979
# Enable custom command to erase settings partition.
8080
CONFIG_ENABLE_MGMT_PERUSER=y
8181
CONFIG_BOOT_MGMT_CUSTOM_STORAGE_ERASE=y
82+
83+
CONFIG_LTO=y
84+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

0 commit comments

Comments
 (0)