Skip to content

Commit 74b1c7c

Browse files
committed
sysbuild: Add default (overridable) MCUboot Kconfigs without clock
Disables some options including system clock support for MCUboot to reduce the size of the application as they are not needed Signed-off-by: Jamie McCrae <[email protected]>
1 parent b5e5191 commit 74b1c7c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

sysbuild/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function(bm_install_setup)
2222
)
2323

2424
add_overlay_dts(${SB_CONFIG_BM_FIRMWARE_LOADER_IMAGE_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/image_configurations/FIRMWARE_LOADER_image_default.overlay)
25+
add_overlay_config(mcuboot ${CMAKE_CURRENT_SOURCE_DIR}/image_configurations/BOOTLOADER_image_default.conf)
2526

2627
# Enable LTO on MCUboot image
2728
add_overlay_config(mcuboot ${CMAKE_CURRENT_SOURCE_DIR}/image_configurations/lto.conf)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CONFIG_KERNEL_MEM_POOL=n
2+
CONFIG_CURRENT_THREAD_USE_TLS=n
3+
CONFIG_ERRNO=n
4+
CONFIG_FP16=n
5+
CONFIG_HW_STACK_PROTECTION=n
6+
CONFIG_BUILTIN_STACK_GUARD=n
7+
CONFIG_TIMEOUT_64BIT=n
8+
CONFIG_SYS_CLOCK_EXISTS=n
9+
CONFIG_NRF_GRTC_START_SYSCOUNTER=n

0 commit comments

Comments
 (0)