From e890df7ab975da181a9f3fb3abc470bf935625ab Mon Sep 17 00:00:00 2001 From: Raffael Rostagno Date: Thu, 12 Sep 2024 10:38:45 -0300 Subject: [PATCH] boot: zephyr: Add ESP32C2/ESP8684 support Adds MCUboot support to ESP32C2/ESP8684 devices. Signed-off-by: Raffael Rostagno --- boot/zephyr/socs/esp32c2.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 boot/zephyr/socs/esp32c2.conf diff --git a/boot/zephyr/socs/esp32c2.conf b/boot/zephyr/socs/esp32c2.conf new file mode 100644 index 000000000..5b49f163b --- /dev/null +++ b/boot/zephyr/socs/esp32c2.conf @@ -0,0 +1,20 @@ +# SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_BOOT_MAX_IMG_SECTORS=512 +CONFIG_BOOT_UPGRADE_ONLY=y +CONFIG_BOOT_VALIDATE_SLOT0=n +CONFIG_BOOT_SIGNATURE_TYPE_NONE=y +CONFIG_BOOT_BANNER=n + +CONFIG_UART_CONSOLE=n +CONFIG_CONSOLE=n +CONFIG_SERIAL=n + +CONFIG_MCUBOOT_LOG_LEVEL_OFF=y +CONFIG_LOG_DEFAULT_LEVEL=0 +CONFIG_DEBUG=n + +CONFIG_XIP=n +CONFIG_HEAP_MEM_POOL_SIZE=4096 +CONFIG_MINIMAL_LIBC=y