forked from nuttx/nuttx-update
boards: Enable LTO option for same70-xplained/mcuboot-loader
Avoid compilation errors due to insufficient flash in CI Configuration/Tool: same70-xplained/mcuboot-loader,CONFIG_ARM_TOOLCHAIN_GNU_EABI 2024-10-14 16:17:34 arm-none-eabi-ld: /github/workspace/sources/nuttx/nuttx section `.ramfunc' will not fit in region `flash' arm-none-eabi-ld: region `flash' overflowed by 52 bytes arm-none-eabi-ld: warning: /github/workspace/sources/nuttx/nuttx has a LOAD segment with RWX permissions make[1]: *** [Makefile:212: nuttx] Error 1 make: *** [tools/Unix.mk:551: nuttx] Error 2 make: Target 'all' not remade because of errors. Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
9de0465a8a
commit
8f3060ed52
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ CONFIG_FAT_LFN=y
|
|||
CONFIG_FS_FAT=y
|
||||
CONFIG_FS_PROCFS=y
|
||||
CONFIG_INIT_ENTRYPOINT="mcuboot_loader_main"
|
||||
CONFIG_LTO_FULL=y
|
||||
CONFIG_MCUBOOT_BOOTLOADER=y
|
||||
CONFIG_MCUBOOT_ENABLE_LOGGING=y
|
||||
CONFIG_MMCSD_MULTIBLOCK_LIMIT=1
|
||||
|
|
Loading…
Reference in a new issue