stm32f103-minimum: enable LTO to reducing the code size

This commit is contained in:
zhangyuan21 2022-11-16 11:21:57 +08:00 committed by Xiang Xiao
parent 6376d90c3d
commit 61535798a0
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ CONFIG_I2C_DRIVER=y
CONFIG_I2C_RESET=y
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LTO_FULL=y
CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_FILEIOSIZE=1024