55 lines
752 B
Plaintext
55 lines
752 B
Plaintext
# ESP32C3 board configuration
|
|
|
|
# Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_ESP32C3
|
|
|
|
if BOOTLOADER_MCUBOOT
|
|
|
|
config HAS_FLASH_LOAD_OFFSET
|
|
default y
|
|
|
|
config MCUBOOT_GENERATE_UNSIGNED_IMAGE
|
|
default y
|
|
|
|
config MCUBOOT_GENERATE_CONFIRMED_IMAGE
|
|
default y
|
|
|
|
config ROM_START_OFFSET
|
|
default 0x20
|
|
|
|
config HAS_DYNAMIC_DEVICE_HANDLES
|
|
default y
|
|
|
|
endif
|
|
|
|
config SOC
|
|
default "esp32c3"
|
|
|
|
config NUM_IRQS
|
|
default 62
|
|
|
|
config GEN_ISR_TABLES
|
|
default y
|
|
|
|
config GEN_SW_ISR_TABLE
|
|
default y
|
|
|
|
config GEN_IRQ_VECTOR_TABLE
|
|
default n
|
|
|
|
config DYNAMIC_INTERRUPTS
|
|
default y
|
|
|
|
config ISR_STACK_SIZE
|
|
default 2048
|
|
|
|
config ATOMIC_OPERATIONS_C
|
|
default y
|
|
|
|
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
|
|
default n
|
|
|
|
endif
|