You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/11/16 04:48:39 UTC
[incubator-nuttx] branch master updated: stm32f103-minimum: enable LTO to reducing the code size
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 61535798a0 stm32f103-minimum: enable LTO to reducing the code size
61535798a0 is described below
commit 61535798a094a5311071bd9a71daf1eded78ce5b
Author: zhangyuan21 <zh...@xiaomi.com>
AuthorDate: Wed Nov 16 11:21:57 2022 +0800
stm32f103-minimum: enable LTO to reducing the code size
---
boards/arm/stm32/stm32f103-minimum/configs/sensors/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/boards/arm/stm32/stm32f103-minimum/configs/sensors/defconfig b/boards/arm/stm32/stm32f103-minimum/configs/sensors/defconfig
index 665b4613ea..7da4a13ce1 100644
--- a/boards/arm/stm32/stm32f103-minimum/configs/sensors/defconfig
+++ b/boards/arm/stm32/stm32f103-minimum/configs/sensors/defconfig
@@ -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