You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
applications: nrf_desktop: nrf54h20: disable LTO in the IPC Radio image
Disabled the Link Time Optimization (LTO) for the
nrf54h20dk/nrf54h20/cpurad board target in the IPC Radio image
configuration of the nRF Desktop application. This change is done
to prevent the LTO warnings about the type mismatch
(-Wlto-type-mismatch) in the device_deps.c file, which is
autogenerated if the CONFIG_DEVICE_DEPS Kconfig option is enabled.
This file is required by the Zephyr domain driver to notify child
devices in the domain to turn on or off when the domain itself is
powered up or down.
Ref: NCSDK-35587
Signed-off-by: Kamil Piszczek <[email protected]>
Copy file name to clipboardExpand all lines: applications/nrf_desktop/configuration/nrf54h20dk_nrf54h20_cpurad/images/ipc_radio/prj_release_dongle.conf
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -43,9 +43,13 @@ CONFIG_RESET_ON_FATAL_ERROR=y
43
43
44
44
CONFIG_SPEED_OPTIMIZATIONS=y
45
45
46
-
# Activate Link Time Optimization (LTO)
47
-
CONFIG_LTO=y
48
-
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
46
+
# Temporarily disable Link Time Optimization (LTO) to prevent linker warnings about the type
47
+
# mismatch (-Wlto-type-mismatch) that are caused by the device_deps.c file. The device_deps.c
48
+
# file is autogenerated and its generation is controlled by the CONFIG_DEVICE_DEPS Kconfig option.
49
+
# This file is required by the Zephyr domain driver to notify child devices in the domain to turn
50
+
# on or off when the domain itself is powered up or down.
0 commit comments