Initial commit
Initial commit.
This commit is contained in:
45
bootloader/mcuboot/boot/zephyr/prj.conf
Normal file
45
bootloader/mcuboot/boot/zephyr/prj.conf
Normal file
@@ -0,0 +1,45 @@
|
||||
CONFIG_PM=n
|
||||
|
||||
CONFIG_MAIN_STACK_SIZE=10240
|
||||
|
||||
# Enable GPIO for button detection
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_BOOT_SWAP_USING_MOVE=y
|
||||
|
||||
CONFIG_BOOT_SWAP_SAVE_ENCTLV=n
|
||||
CONFIG_BOOT_ENCRYPT_IMAGE=n
|
||||
|
||||
CONFIG_BOOT_UPGRADE_ONLY=n
|
||||
CONFIG_BOOT_BOOTSTRAP=n
|
||||
|
||||
### mbedTLS has its own heap
|
||||
# CONFIG_HEAP_MEM_POOL_SIZE is not set
|
||||
|
||||
### We never want Zephyr's copy of tinycrypt. If tinycrypt is needed,
|
||||
### MCUboot has its own copy in tree.
|
||||
# CONFIG_TINYCRYPT is not set
|
||||
# CONFIG_TINYCRYPT_ECC_DSA is not set
|
||||
# CONFIG_TINYCRYPT_SHA256 is not set
|
||||
|
||||
CONFIG_FLASH=y
|
||||
CONFIG_FPROTECT=y
|
||||
|
||||
### Various Zephyr boards enable features that we don't want.
|
||||
# CONFIG_BT is not set
|
||||
# CONFIG_BT_CTLR is not set
|
||||
# CONFIG_I2C is not set
|
||||
|
||||
CONFIG_LOG=y
|
||||
CONFIG_LOG_MODE_MINIMAL=y # former CONFIG_MODE_MINIMAL
|
||||
### Ensure Zephyr logging changes don't use more resources
|
||||
CONFIG_LOG_DEFAULT_LEVEL=0
|
||||
### Use info log level by default
|
||||
CONFIG_MCUBOOT_LOG_LEVEL_INF=y
|
||||
### Decrease footprint by ~4 KB in comparison to CBPRINTF_COMPLETE=y
|
||||
CONFIG_CBPRINTF_NANO=y
|
||||
### Use the minimal C library to reduce flash usage
|
||||
CONFIG_MINIMAL_LIBC=y
|
||||
CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=0
|
||||
|
||||
# NCS boot banner
|
||||
CONFIG_NCS_APPLICATION_BOOT_BANNER_STRING="MCUboot"
|
||||
Reference in New Issue
Block a user