blob: 60fd5e8610e7dcf18f1d14b19c006d9a30a02cc8 [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
Carles Cufidf4d9a42018-06-15 12:42:26 +02005CONFIG_SYS_POWER_MANAGEMENT=n
David Brown5153bd62017-01-06 11:16:53 -07006
7CONFIG_MAIN_STACK_SIZE=10240
Marti Bolivara4818a52018-04-12 13:02:38 -04008CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h"
David Brown5153bd62017-01-06 11:16:53 -07009
Fabio Utzigc690c762018-04-26 10:51:09 -030010### Default to RSA
11CONFIG_BOOT_SIGNATURE_TYPE_RSA=y
12CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=n
13
Carles Cufi29af9fe2018-06-11 13:31:41 +020014### The bootloader generates its own signature verification based on a
15### key file which needs to be provided and needs to match the selected signing
16### algorithm (CONFIG_BOOT_SIGNATURE_TYPE_).
Fabio Utzigc690c762018-04-26 10:51:09 -030017### The PEM files below are provided as examples.
Carles Cufi29af9fe2018-06-11 13:31:41 +020018CONFIG_BOOT_SIGNATURE_KEY_FILE="root-rsa-2048.pem"
Fabio Utzigc690c762018-04-26 10:51:09 -030019#CONFIG_BOOT_SIGNATURE_KEY_FILE="root-ec-p256.pem"
20
David Brown0bae9652017-10-19 16:45:09 -060021### mbedTLS has its own heap
22# CONFIG_HEAP_MEM_POOL_SIZE is not set
David Brown5153bd62017-01-06 11:16:53 -070023
Marti Bolivara4818a52018-04-12 13:02:38 -040024### We never want Zephyr's copy of tinycrypt. If tinycrypt is needed,
25### MCUboot has its own copy in tree.
26# CONFIG_TINYCRYPT is not set
27# CONFIG_TINYCRYPT_ECC_DSA is not set
28# CONFIG_TINYCRYPT_SHA256 is not set
29
David Brown5153bd62017-01-06 11:16:53 -070030CONFIG_FLASH=y
David Brown0d1b0b92017-07-26 00:34:56 -060031CONFIG_MPU_ALLOW_FLASH_WRITE=y
Ricardo Salveti3dbf2222017-01-18 11:34:47 -020032
Andrew Boie240ac642017-03-02 13:40:39 -080033CONFIG_MULTITHREADING=n
Marti Bolivarf4d0e1a2017-08-30 18:39:07 -040034
35### Zephyr keeps turning on major subsystems by default that we don't want.
36# CONFIG_BT is not set
37# CONFIG_I2C is not set