From 251be2924e3aa0077b086946442d27c8790a8c58 Mon Sep 17 00:00:00 2001 From: YuLong Yao Date: Sat, 23 Sep 2023 16:03:17 +0800 Subject: [PATCH] boot: zephyr: esp32: zephyr port Add support for ESP32xx_luatos_core targets to build as Zephyr application. This target is simular to esp32 devkitm, copy conf file from esp32xx_devkitm Signed-off-by: YuLong Yao --- boot/zephyr/boards/esp32c3_luatos_core.conf | 20 ++++++++++++++++++++ boot/zephyr/boards/esp32s3_luatos_core.conf | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 boot/zephyr/boards/esp32c3_luatos_core.conf create mode 100644 boot/zephyr/boards/esp32s3_luatos_core.conf diff --git a/boot/zephyr/boards/esp32c3_luatos_core.conf b/boot/zephyr/boards/esp32c3_luatos_core.conf new file mode 100644 index 000000000..56298cd4f --- /dev/null +++ b/boot/zephyr/boards/esp32c3_luatos_core.conf @@ -0,0 +1,20 @@ +# SPDX-FileCopyrightText: 2023 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 diff --git a/boot/zephyr/boards/esp32s3_luatos_core.conf b/boot/zephyr/boards/esp32s3_luatos_core.conf new file mode 100644 index 000000000..b2b405922 --- /dev/null +++ b/boot/zephyr/boards/esp32s3_luatos_core.conf @@ -0,0 +1,19 @@ +# SPDX-FileCopyrightText: 2023 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_HEAP_MEM_POOL_SIZE=4096 +CONFIG_MINIMAL_LIBC=y