blob: 72047c0e13c91de5719026f9889e3e660f65758c [file] [log] [blame]
David Brown5153bd62017-01-06 11:16:53 -07001CONFIG_CONSOLE_HANDLER=y
Ricardo Salveti7cf3d9e2017-01-18 16:38:22 -02002CONFIG_SYS_LOG=y
David Brown5153bd62017-01-06 11:16:53 -07003CONFIG_DEBUG=y
Ricardo Salveti8e4d44d2017-02-27 23:00:31 -03004CONFIG_SYSTEM_CLOCK_DISABLE=y
David Brown5153bd62017-01-06 11:16:53 -07005
6CONFIG_MAIN_STACK_SIZE=10240
Marti Bolivara4818a52018-04-12 13:02:38 -04007CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h"
David Brown5153bd62017-01-06 11:16:53 -07008
Fabio Utzigc690c762018-04-26 10:51:09 -03009### Default to RSA
10CONFIG_BOOT_SIGNATURE_TYPE_RSA=y
11CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=n
12
13### The bootloader generates its own signature verification based on an
14### key file which needs to be provided and match the selected sign algo.
15### The PEM files below are provided as examples.
16#CONFIG_BOOT_SIGNATURE_KEY_FILE="root-rsa-2048.pem"
17#CONFIG_BOOT_SIGNATURE_KEY_FILE="root-ec-p256.pem"
18
David Brown0bae9652017-10-19 16:45:09 -060019### mbedTLS has its own heap
20# CONFIG_HEAP_MEM_POOL_SIZE is not set
David Brown5153bd62017-01-06 11:16:53 -070021
Marti Bolivara4818a52018-04-12 13:02:38 -040022### We never want Zephyr's copy of tinycrypt. If tinycrypt is needed,
23### MCUboot has its own copy in tree.
24# CONFIG_TINYCRYPT is not set
25# CONFIG_TINYCRYPT_ECC_DSA is not set
26# CONFIG_TINYCRYPT_SHA256 is not set
27
David Brown5153bd62017-01-06 11:16:53 -070028CONFIG_FLASH=y
David Brown0d1b0b92017-07-26 00:34:56 -060029CONFIG_MPU_ALLOW_FLASH_WRITE=y
Ricardo Salveti3dbf2222017-01-18 11:34:47 -020030
Andrew Boie240ac642017-03-02 13:40:39 -080031CONFIG_MULTITHREADING=n
Marti Bolivarf4d0e1a2017-08-30 18:39:07 -040032
33### Zephyr keeps turning on major subsystems by default that we don't want.
34# CONFIG_BT is not set
35# CONFIG_I2C is not set