From a0e4715d8d0dd15611ba2b5a3af423b72dc014ee Mon Sep 17 00:00:00 2001 From: izum1 Date: Mon, 9 Oct 2023 18:38:24 +0800 Subject: [PATCH] boot: zephyr: add support for esp32s3_luatos_core(_usb) Add support for esp32s3_luatos_core to MCUBoot --- boot/zephyr/boards/esp32s3_luatos_core.conf | 18 ++++++++++++++++++ .../zephyr/boards/esp32s3_luatos_core_usb.conf | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 boot/zephyr/boards/esp32s3_luatos_core.conf create mode 100644 boot/zephyr/boards/esp32s3_luatos_core_usb.conf diff --git a/boot/zephyr/boards/esp32s3_luatos_core.conf b/boot/zephyr/boards/esp32s3_luatos_core.conf new file mode 100644 index 000000000..d00ac3562 --- /dev/null +++ b/boot/zephyr/boards/esp32s3_luatos_core.conf @@ -0,0 +1,18 @@ +# 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 diff --git a/boot/zephyr/boards/esp32s3_luatos_core_usb.conf b/boot/zephyr/boards/esp32s3_luatos_core_usb.conf new file mode 100644 index 000000000..d00ac3562 --- /dev/null +++ b/boot/zephyr/boards/esp32s3_luatos_core_usb.conf @@ -0,0 +1,18 @@ +# 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