David Brown | 5153bd6 | 2017-01-06 11:16:53 -0700 | [diff] [blame] | 1 | CONFIG_DEBUG=y |
Flavio Ceolin | 5442658 | 2021-06-10 13:01:47 -0700 | [diff] [blame] | 2 | CONFIG_PM=n |
David Brown | 5153bd6 | 2017-01-06 11:16:53 -0700 | [diff] [blame] | 3 | |
| 4 | CONFIG_MAIN_STACK_SIZE=10240 |
Marti Bolivar | a4818a5 | 2018-04-12 13:02:38 -0400 | [diff] [blame] | 5 | CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h" |
David Brown | 5153bd6 | 2017-01-06 11:16:53 -0700 | [diff] [blame] | 6 | |
Fabio Utzig | ca8ead2 | 2019-12-20 07:06:04 -0300 | [diff] [blame] | 7 | CONFIG_BOOT_SWAP_SAVE_ENCTLV=n |
Jamie McCrae | 25d2f2c | 2023-07-17 14:17:53 +0100 | [diff] [blame] | 8 | CONFIG_BOOT_ENCRYPT_IMAGE=n |
Fabio Utzig | 5fe874c | 2018-08-31 07:41:50 -0300 | [diff] [blame] | 9 | |
Fabio Utzig | c58842e | 2019-11-28 10:30:01 -0300 | [diff] [blame] | 10 | CONFIG_BOOT_UPGRADE_ONLY=n |
Fabio Utzig | d0533ed | 2018-12-19 07:56:33 -0200 | [diff] [blame] | 11 | CONFIG_BOOT_BOOTSTRAP=n |
| 12 | |
David Brown | 0bae965 | 2017-10-19 16:45:09 -0600 | [diff] [blame] | 13 | ### mbedTLS has its own heap |
| 14 | # CONFIG_HEAP_MEM_POOL_SIZE is not set |
David Brown | 5153bd6 | 2017-01-06 11:16:53 -0700 | [diff] [blame] | 15 | |
Marti Bolivar | a4818a5 | 2018-04-12 13:02:38 -0400 | [diff] [blame] | 16 | ### We never want Zephyr's copy of tinycrypt. If tinycrypt is needed, |
| 17 | ### MCUboot has its own copy in tree. |
| 18 | # CONFIG_TINYCRYPT is not set |
| 19 | # CONFIG_TINYCRYPT_ECC_DSA is not set |
| 20 | # CONFIG_TINYCRYPT_SHA256 is not set |
| 21 | |
David Brown | 5153bd6 | 2017-01-06 11:16:53 -0700 | [diff] [blame] | 22 | CONFIG_FLASH=y |
Ricardo Salveti | 3dbf222 | 2017-01-18 11:34:47 -0200 | [diff] [blame] | 23 | |
Marti Bolivar | 0e25909 | 2018-09-05 14:54:06 -0400 | [diff] [blame] | 24 | ### Various Zephyr boards enable features that we don't want. |
Marti Bolivar | f4d0e1a | 2017-08-30 18:39:07 -0400 | [diff] [blame] | 25 | # CONFIG_BT is not set |
Marti Bolivar | 0e25909 | 2018-09-05 14:54:06 -0400 | [diff] [blame] | 26 | # CONFIG_BT_CTLR is not set |
Marti Bolivar | f4d0e1a | 2017-08-30 18:39:07 -0400 | [diff] [blame] | 27 | # CONFIG_I2C is not set |
Michael Scott | f9be7a9 | 2019-02-01 11:19:47 -0800 | [diff] [blame] | 28 | |
Piotr Mienkowski | 15aa6ef | 2019-04-08 22:48:15 +0200 | [diff] [blame] | 29 | CONFIG_LOG=y |
Gerard Marull-Paretas | a513b8e | 2021-01-26 22:50:38 +0100 | [diff] [blame] | 30 | CONFIG_LOG_MODE_MINIMAL=y # former CONFIG_MODE_MINIMAL |
Michael Scott | f9be7a9 | 2019-02-01 11:19:47 -0800 | [diff] [blame] | 31 | ### Ensure Zephyr logging changes don't use more resources |
| 32 | CONFIG_LOG_DEFAULT_LEVEL=0 |
Jamie McCrae | 74c4d1c | 2023-06-05 09:37:01 +0100 | [diff] [blame] | 33 | ### Use info log level by default |
| 34 | CONFIG_MCUBOOT_LOG_LEVEL_INF=y |
Andrzej Puzdrowski | efb3203 | 2020-11-27 08:54:35 +0100 | [diff] [blame] | 35 | ### Decrease footprint by ~4 KB in comparison to CBPRINTF_COMPLETE=y |
| 36 | CONFIG_CBPRINTF_NANO=y |