| # |
| # Copyright (c) 2024 Project CHIP Authors |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| |
| CONFIG_MAIN_STACK_SIZE=10240 |
| |
| CONFIG_BOOT_SWAP_SAVE_ENCTLV=n |
| CONFIG_BOOT_BOOTSTRAP=n |
| CONFIG_PM=n |
| |
| CONFIG_FLASH=y |
| CONFIG_FPROTECT=y |
| |
| CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h" |
| |
| # Use minimal C library instead of the Picolib |
| CONFIG_MINIMAL_LIBC=y |
| |
| # Bootloader size optimization |
| CONFIG_CONSOLE=n |
| CONFIG_SERIAL=n |
| CONFIG_UART_CONSOLE=n |
| CONFIG_USE_SEGGER_RTT=n |
| CONFIG_GPIO=n |
| |
| CONFIG_BOOT_MAX_IMG_SECTORS=256 |
| |
| CONFIG_LOG=n |
| CONFIG_CONSOLE_HANDLER=n |
| CONFIG_BOOT_BANNER=n |
| CONFIG_NCS_BOOT_BANNER=n |
| CONFIG_TIMESLICING=n |
| CONFIG_RESET_ON_FATAL_ERROR=n |
| CONFIG_MULTITHREADING=n |
| CONFIG_TICKLESS_KERNEL=n |
| CONFIG_TIMEOUT_64BIT=n |
| CONFIG_NRF_ENABLE_ICACHE=n |