This is an automated email from the ASF dual-hosted git repository.
GUIDINGLI pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new dc465bef19a boards/imx93-qsb: enable LTO on the rpmsg config
dc465bef19a is described below
commit dc465bef19a9c5716c73cc0354812befe9cf75ef
Author: zhangyuan29 <[email protected]>
AuthorDate: Mon Nov 30 13:55:25 2026 +0800
boards/imx93-qsb: enable LTO on the rpmsg config
The rpmsg configuration is 97.5% of the ITCM region; any scheduler
or driver change can push it over. Link-time optimization shrinks
the linked image by 9.5K (90.2% after), giving the board room for
future code growth.
Signed-off-by: zhangyuan29 <[email protected]>
---
boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig
b/boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig
index db6c5d15100..85d9ab2b531 100644
--- a/boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig
+++ b/boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig
@@ -38,6 +38,7 @@ CONFIG_FS_PROCFS_REGISTER=y
CONFIG_IMX9_LPUART2=y
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_LPUART2_SERIAL_CONSOLE=y
+CONFIG_LTO_FULL=y
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_FILEIOSIZE=64
CONFIG_NSH_MAXARGUMENTS=6