Skip to content

Instantly share code, notes, and snippets.

@hieuv
Last active November 7, 2023 08:45
Show Gist options
  • Save hieuv/54065d553b82562b00138abee1bc00cd to your computer and use it in GitHub Desktop.
Save hieuv/54065d553b82562b00138abee1bc00cd to your computer and use it in GitHub Desktop.
NCS v2.4.0 Add MCUboot and MCUmgr over UART to an application
# Add MCUboot and DFU over UART to application
# Applicable for NCS 2.4.0+
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUMGR=y
CONFIG_MCUMGR_GRP_IMG=y
# DFU over UART
CONFIG_MCUMGR_TRANSPORT_UART=y
# CONFIG_MCUMGR_TRANSPORT_UART dependencies
CONFIG_BASE64=y
# CONFIG_MCUMGR_GRP_IMG dependencies
CONFIG_FLASH=y
CONFIG_IMG_MANAGER=y
# CONFIG_IMG_MANAGER dependencies
CONFIG_STREAM_FLASH=y
# CONFIG_MCUMGR dependencies
CONFIG_NET_BUF=y
CONFIG_ZCBOR=y
# Required for CONFIG_IMG_MANAGER
CONFIG_FLASH_MAP=y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment