Skip to content

Commit effc0ce

Browse files
mkapala-nordicanangl
authored andcommitted
applications: nrf_desktop: Reduce nRF54H20DK debug cfg memory footprint
Switched from speed to size optimization for nRF54H20 DK target in debug configurations to reduce memory footprint. Jira: NCSDK-31374 Signed-off-by: Mateusz Kapala <[email protected]>
1 parent 1cc7b87 commit effc0ce

File tree

1 file changed

+2
-1
lines changed
  • applications/nrf_desktop/configuration/nrf54h20dk_nrf54h20_cpuapp

1 file changed

+2
-1
lines changed

applications/nrf_desktop/configuration/nrf54h20dk_nrf54h20_cpuapp/prj.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ CONFIG_IDLE_STACK_SIZE=512
7878
CONFIG_HW_STACK_PROTECTION=y
7979
CONFIG_RESET_ON_FATAL_ERROR=n
8080

81-
CONFIG_SPEED_OPTIMIZATIONS=y
81+
# Optimize for size to reduce memory footprint.
82+
CONFIG_SIZE_OPTIMIZATIONS=y
8283

8384
CONFIG_REBOOT=y
8485

0 commit comments

Comments
 (0)