From 2014ee84a513a65859baa4c5651800029acf6ec2 Mon Sep 17 00:00:00 2001 From: Sylvio Alves Date: Fri, 31 Jul 2026 10:16:35 -0300 Subject: [PATCH] boot: zephyr: socs: add esp32c61 and esp32s31 config Add Kconfig for the ESP32-C61 and ESP32-S31 SoCs, mirroring the existing Espressif bootloader configuration. Signed-off-by: Sylvio Alves --- boot/zephyr/socs/esp32c61.conf | 20 ++++++++++++++++++++ boot/zephyr/socs/esp32s31_hpcore.conf | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 boot/zephyr/socs/esp32c61.conf create mode 100644 boot/zephyr/socs/esp32s31_hpcore.conf diff --git a/boot/zephyr/socs/esp32c61.conf b/boot/zephyr/socs/esp32c61.conf new file mode 100644 index 0000000000..9917cc18d4 --- /dev/null +++ b/boot/zephyr/socs/esp32c61.conf @@ -0,0 +1,20 @@ +# SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD +# SPDX-License-Identifier: Apache-2.0 + +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_PICOLIBC=y +CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0 diff --git a/boot/zephyr/socs/esp32s31_hpcore.conf b/boot/zephyr/socs/esp32s31_hpcore.conf new file mode 100644 index 0000000000..9917cc18d4 --- /dev/null +++ b/boot/zephyr/socs/esp32s31_hpcore.conf @@ -0,0 +1,20 @@ +# SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD +# SPDX-License-Identifier: Apache-2.0 + +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_PICOLIBC=y +CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0