Browse Source
Ports the SoC configuration to hardware model version 2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
90 changed files with 768 additions and 469 deletions
@ -1,5 +1,5 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
add_subdirectory(${SOC_SERIES}) |
|
||||||
add_subdirectory(common) |
add_subdirectory(common) |
||||||
|
add_subdirectory(${SOC_SERIES}) |
@ -1,4 +1,8 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
source "soc/soc_legacy/xtensa/espressif_esp32/*/Kconfig.series" |
if SOC_FAMILY_ESPRESSIF_ESP32 |
||||||
|
|
||||||
|
rsource "*/Kconfig" |
||||||
|
|
||||||
|
endif # SOC_FAMILY_ESPRESSIF_ESP32 |
@ -1,5 +1,8 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
add_subdirectory(${SOC_SERIES}) |
if SOC_FAMILY_ESPRESSIF_ESP32 |
||||||
add_subdirectory(common) |
|
||||||
|
rsource "*/Kconfig.defconfig" |
||||||
|
|
||||||
|
endif # SOC_FAMILY_ESPRESSIF_ESP32 |
@ -0,0 +1,10 @@ |
|||||||
|
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_FAMILY_ESPRESSIF_ESP32 |
||||||
|
bool |
||||||
|
|
||||||
|
config SOC_FAMILY |
||||||
|
default "espressif_esp32" if SOC_FAMILY_ESPRESSIF_ESP32 |
||||||
|
|
||||||
|
rsource "*/Kconfig.soc" |
@ -0,0 +1,6 @@ |
|||||||
|
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
if(CONFIG_SOC_SERIES_ESP32 OR CONFIG_SOC_SERIES_ESP32S2 OR CONFIG_SOC_SERIES_ESP32S3) |
||||||
|
zephyr_include_directories(include) |
||||||
|
endif() |
@ -0,0 +1,103 @@ |
|||||||
|
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
if SOC_SERIES_ESP32C3 |
||||||
|
|
||||||
|
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 |
||||||
|
|
||||||
|
config SYS_CLOCK_HW_CYCLES_PER_SEC |
||||||
|
default 16000000 |
||||||
|
|
||||||
|
config SYS_CLOCK_TICKS_PER_SEC |
||||||
|
default 1000 |
||||||
|
|
||||||
|
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE |
||||||
|
default n |
||||||
|
|
||||||
|
config CLOCK_CONTROL |
||||||
|
default y |
||||||
|
|
||||||
|
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 |
||||||
|
|
||||||
|
endif # BOOTLOADER_MCUBOOT |
||||||
|
|
||||||
|
endif # SOC_SERIES_ESP32C3 |
||||||
|
|
||||||
|
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
if SOC_SERIES_ESP32 || SOC_SERIES_ESP32S2 || SOC_SERIES_ESP32S3 |
||||||
|
|
||||||
|
# Xtensa default options for ESP32 family |
||||||
|
config XTENSA_RESET_VECTOR |
||||||
|
default n |
||||||
|
|
||||||
|
config XTENSA_USE_CORE_CRT1 |
||||||
|
default n |
||||||
|
|
||||||
|
config GEN_ISR_TABLES |
||||||
|
default y |
||||||
|
|
||||||
|
config GEN_IRQ_VECTOR_TABLE |
||||||
|
default n |
||||||
|
|
||||||
|
config CLOCK_CONTROL |
||||||
|
default y |
||||||
|
|
||||||
|
config SYS_CLOCK_HW_CYCLES_PER_SEC |
||||||
|
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) |
||||||
|
|
||||||
|
config XTENSA_CCOUNT_HZ |
||||||
|
default SYS_CLOCK_HW_CYCLES_PER_SEC |
||||||
|
|
||||||
|
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE |
||||||
|
default n |
||||||
|
|
||||||
|
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 |
||||||
|
|
||||||
|
endif # BOOTLOADER_MCUBOOT |
||||||
|
|
||||||
|
endif # SOC_SERIES_ESP32 || SOC_SERIES_ESP32S2 || SOC_SERIES_ESP32S3 |
@ -0,0 +1,153 @@ |
|||||||
|
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_SERIES_ESP32 |
||||||
|
bool |
||||||
|
select SOC_FAMILY_ESPRESSIF_ESP32 |
||||||
|
help |
||||||
|
ESP32 Series |
||||||
|
|
||||||
|
config SOC_ESP32_D0WD_V3 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_D0WD_V3 |
||||||
|
|
||||||
|
config SOC_ESP32_D0WDR2_V3 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_D0WDR2_V3 |
||||||
|
|
||||||
|
config SOC_ESP32_U4WDH |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_U4WDH |
||||||
|
|
||||||
|
config SOC_ESP32_PICO_V3 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_PICO_V3 |
||||||
|
|
||||||
|
config SOC_ESP32_PICO_V3_02 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_PICO_V3_02 |
||||||
|
|
||||||
|
config SOC_ESP32_PICO_D4 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_PICO_D4 |
||||||
|
|
||||||
|
# SiP with external flash / psram |
||||||
|
config SOC_ESP32_WROOM_DA_N4 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROOM_DA_N4 |
||||||
|
|
||||||
|
config SOC_ESP32_WROOM_DA_N8 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROOM_DA_N8 |
||||||
|
|
||||||
|
config SOC_ESP32_WROOM_DA_N16 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROOM_DA_N16 |
||||||
|
|
||||||
|
config SOC_ESP32_WROOM_32UE_N4 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROOM_32UE_N4 |
||||||
|
|
||||||
|
config SOC_ESP32_WROOM_32UE_N8 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROOM_32UE_N8 |
||||||
|
|
||||||
|
config SOC_ESP32_WROOM_32UE_N16 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROOM_32UE_N16 |
||||||
|
|
||||||
|
config SOC_ESP32_WROVER_E_N4R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROVER_E_N4R2 |
||||||
|
|
||||||
|
config SOC_ESP32_WROVER_E_N8R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROVER_E_N8R2 |
||||||
|
|
||||||
|
config SOC_ESP32_WROVER_E_N16R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROVER_E_N16R2 |
||||||
|
|
||||||
|
config SOC_ESP32_WROVER_E_N4R8 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROVER_E_N4R8 |
||||||
|
|
||||||
|
config SOC_ESP32_WROVER_E_N8R8 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROVER_E_N8R8 |
||||||
|
|
||||||
|
config SOC_ESP32_WROVER_E_N16R8 |
||||||
|
bool |
||||||
|
select SOC_ESP32 |
||||||
|
help |
||||||
|
ESP32_WROVER_E_N16R8 |
||||||
|
|
||||||
|
config SOC_ESP32 |
||||||
|
bool |
||||||
|
select SOC_SERIES_ESP32 |
||||||
|
help |
||||||
|
ESP32 |
||||||
|
|
||||||
|
config SOC_SERIES |
||||||
|
default "esp32" if SOC_SERIES_ESP32 |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "esp32" if SOC_SERIES_ESP32 |
||||||
|
|
||||||
|
config SOC_PART_NUMBER |
||||||
|
default "ESP32_D0WD_V3" if SOC_ESP32_D0WD_V3 |
||||||
|
default "ESP32_D0WDR2_V3" if SOC_ESP32_D0WDR2_V3 |
||||||
|
default "ESP32_U4WDH" if SOC_ESP32_U4WDH |
||||||
|
default "ESP32_PICO_V3" if SOC_ESP32_PICO_V3 |
||||||
|
default "ESP32_PICO_V3_02" if SOC_ESP32_PICO_V3_02 |
||||||
|
default "ESP32_PICO_D4" if SOC_ESP32_PICO_D4 |
||||||
|
default "ESP32_WROOM_DA_N4" if SOC_ESP32_WROOM_DA_N4 |
||||||
|
default "ESP32_WROOM_DA_N8" if SOC_ESP32_WROOM_DA_N8 |
||||||
|
default "ESP32_WROOM_DA_N16" if SOC_ESP32_WROOM_DA_N16 |
||||||
|
default "ESP32_WROOM_32UE_N4" if SOC_ESP32_WROOM_32UE_N4 |
||||||
|
default "ESP32_WROOM_32UE_N8" if SOC_ESP32_WROOM_32UE_N8 |
||||||
|
default "ESP32_WROOM_32UE_N16" if SOC_ESP32_WROOM_32UE_N16 |
||||||
|
default "ESP32_WROVER_E_N4R2" if SOC_ESP32_WROVER_E_N4R2 |
||||||
|
default "ESP32_WROVER_E_N8R2" if SOC_ESP32_WROVER_E_N8R2 |
||||||
|
default "ESP32_WROVER_E_N16R2" if SOC_ESP32_WROVER_E_N16R2 |
||||||
|
default "ESP32_WROVER_E_N4R8" if SOC_ESP32_WROVER_E_N4R8 |
||||||
|
default "ESP32_WROVER_E_N8R8" if SOC_ESP32_WROVER_E_N8R8 |
||||||
|
default "ESP32_WROVER_E_N16R8" if SOC_ESP32_WROVER_E_N16R8 |
||||||
|
|
||||||
|
config SOC_TOOLCHAIN_NAME |
||||||
|
string |
||||||
|
default "espressif_esp32" if SOC_SERIES_ESP32 |
@ -1,29 +1,27 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_SERIES_ESP32C3 |
||||||
|
select RISCV |
||||||
|
select RISCV_GP |
||||||
|
select DYNAMIC_INTERRUPTS |
||||||
|
select CLOCK_CONTROL |
||||||
|
select PINCTRL |
||||||
|
select RISCV_ISA_RV32I |
||||||
|
select RISCV_ISA_EXT_M |
||||||
|
select RISCV_ISA_EXT_C |
||||||
|
select RISCV_ISA_EXT_ZICSR |
||||||
|
select HAS_ESPRESSIF_HAL |
||||||
|
select XIP if !MCUBOOT |
||||||
|
select HAS_PM |
||||||
|
select HAS_POWEROFF |
||||||
|
|
||||||
if SOC_SERIES_ESP32C3 |
if SOC_SERIES_ESP32C3 |
||||||
|
|
||||||
config IDF_TARGET_ESP32C3 |
config IDF_TARGET_ESP32C3 |
||||||
bool "ESP32C3 as target board" |
bool "ESP32C3 as target board" |
||||||
default y |
default y |
||||||
|
|
||||||
choice SOC_PART_NUMBER |
|
||||||
prompt "ESP32-C3 SOC Selection" |
|
||||||
depends on SOC_SERIES_ESP32C3 |
|
||||||
|
|
||||||
config SOC_ESP32C3 |
|
||||||
bool "ESP32C3" |
|
||||||
config SOC_ESP32C3_FX4 |
|
||||||
bool "ESP32C3_FX4" |
|
||||||
config SOC_ESP32C3_MINI_N4 |
|
||||||
bool "ESP32C3_MINI_N4" |
|
||||||
config SOC_ESP32C3_WROOM_02_N4 |
|
||||||
bool "ESP32C3_WROOM_02_N4" |
|
||||||
config SOC_ESP32C3_WROOM_02_N8 |
|
||||||
bool "ESP32C3_WROOM_02_N8" |
|
||||||
|
|
||||||
endchoice # SOC_PART_NUMBER |
|
||||||
|
|
||||||
config ESP_SYSTEM_RTC_EXT_XTAL |
config ESP_SYSTEM_RTC_EXT_XTAL |
||||||
bool |
bool |
||||||
|
|
@ -0,0 +1,51 @@ |
|||||||
|
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_SERIES_ESP32C3 |
||||||
|
bool |
||||||
|
select SOC_FAMILY_ESPRESSIF_ESP32 |
||||||
|
help |
||||||
|
ESP32C3 |
||||||
|
|
||||||
|
config SOC_ESP32C3_FX4 |
||||||
|
bool |
||||||
|
select SOC_ESP32C3 |
||||||
|
help |
||||||
|
ESP32C3_FX4 |
||||||
|
|
||||||
|
config SOC_ESP32C3_MINI_N4 |
||||||
|
bool |
||||||
|
select SOC_ESP32C3 |
||||||
|
help |
||||||
|
ESP32C3_MINI_N4 |
||||||
|
|
||||||
|
config SOC_ESP32C3_WROOM_02_N4 |
||||||
|
bool |
||||||
|
select SOC_ESP32C3 |
||||||
|
help |
||||||
|
ESP32C3_WROOM_02_N4 |
||||||
|
|
||||||
|
config SOC_ESP32C3_WROOM_02_N8 |
||||||
|
bool |
||||||
|
select SOC_ESP32C3 |
||||||
|
help |
||||||
|
ESP32C3_WROOM_02_N8 |
||||||
|
|
||||||
|
config SOC_ESP32C3 |
||||||
|
bool |
||||||
|
select SOC_SERIES_ESP32C3 |
||||||
|
help |
||||||
|
ESP32C3 |
||||||
|
|
||||||
|
config SOC_SERIES |
||||||
|
default "esp32c3" if SOC_SERIES_ESP32C3 |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "esp32c3" if SOC_SERIES_ESP32C3 |
||||||
|
|
||||||
|
config SOC_PART_NUMBER |
||||||
|
default "ESP32C3_FX4" if SOC_ESP32C3_FX4 |
||||||
|
default "ESP32C3_MINI_N4" if SOC_ESP32C3_MINI_N4 |
||||||
|
default "ESP32C3_WROOM_02_N4" if SOC_ESP32C3_WROOM_02_N4 |
||||||
|
default "ESP32C3_WROOM_02_N8" if SOC_ESP32C3_WROOM_02_N8 |
||||||
|
default "ESP32C3" if SOC_ESP32C3 |
@ -1,55 +1,24 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_SERIES_ESP32S2 |
||||||
|
select XTENSA |
||||||
|
select ATOMIC_OPERATIONS_C |
||||||
|
select DYNAMIC_INTERRUPTS |
||||||
|
select CLOCK_CONTROL |
||||||
|
select PINCTRL |
||||||
|
select XIP if !MCUBOOT |
||||||
|
select HAS_ESPRESSIF_HAL |
||||||
|
select ARCH_SUPPORTS_COREDUMP |
||||||
|
select HAS_PM |
||||||
|
select HAS_POWEROFF |
||||||
|
|
||||||
if SOC_SERIES_ESP32S2 |
if SOC_SERIES_ESP32S2 |
||||||
|
|
||||||
config IDF_TARGET_ESP32S2 |
config IDF_TARGET_ESP32S2 |
||||||
bool "ESP32S2 as target SOC" |
bool "ESP32S2 as target SOC" |
||||||
default y |
default y |
||||||
|
|
||||||
config SOC_TOOLCHAIN_NAME |
|
||||||
string |
|
||||||
default "espressif_esp32s2" |
|
||||||
|
|
||||||
choice SOC_PART_NUMBER |
|
||||||
prompt "ESP32-S2 SOC Selection" |
|
||||||
depends on SOC_SERIES_ESP32S2 |
|
||||||
|
|
||||||
# SoC with/without embedded flash |
|
||||||
config SOC_ESP32S2 |
|
||||||
bool "ESP32S2" |
|
||||||
config SOC_ESP32S2_R2 |
|
||||||
bool "ESP32S2_R2" |
|
||||||
config SOC_ESP32S2_FH2 |
|
||||||
bool "ESP32S2_FH2" |
|
||||||
config SOC_ESP32S2_FH4 |
|
||||||
bool "ESP32S2_FH4" |
|
||||||
config SOC_ESP32S2_FN4R2 |
|
||||||
bool "ESP32S2_FN4R2" |
|
||||||
# SiP with external flash / psram |
|
||||||
config SOC_ESP32S2_SOLO_N4 |
|
||||||
bool "ESP32S2_SOLO_N4" |
|
||||||
config SOC_ESP32S2_SOLO_N8 |
|
||||||
bool "ESP32S2_SOLO_N8" |
|
||||||
config SOC_ESP32S2_SOLO_N16 |
|
||||||
bool "ESP32S2_SOLO_N16" |
|
||||||
config SOC_ESP32S2_SOLO_N4R2 |
|
||||||
bool "ESP32S2_SOLO_N4R2" |
|
||||||
config SOC_ESP32S2_MINI_N4 |
|
||||||
bool "ESP32S2_MINI_N4" |
|
||||||
config SOC_ESP32S2_MINI_N4R2 |
|
||||||
bool "ESP32S2_MINI_N4R2" |
|
||||||
config SOC_ESP32S2_WROOM |
|
||||||
bool "ESP32S2_WROOM" |
|
||||||
config SOC_ESP32S2_WROVER_N4R2 |
|
||||||
bool "ESP32S2_WROVER_N4R2" |
|
||||||
config SOC_ESP32S2_WROVER_N8R2 |
|
||||||
bool "ESP32S2_WROVER_N8R2" |
|
||||||
config SOC_ESP32S2_WROVER_N16R2 |
|
||||||
bool "ESP32S2_WROVER_N16R2" |
|
||||||
|
|
||||||
endchoice # SOC_PART_NUMBER |
|
||||||
|
|
||||||
config ESP_SYSTEM_RTC_EXT_XTAL |
config ESP_SYSTEM_RTC_EXT_XTAL |
||||||
bool |
bool |
||||||
|
|
@ -0,0 +1,24 @@ |
|||||||
|
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
if SOC_SERIES_ESP32S2 |
||||||
|
|
||||||
|
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE |
||||||
|
default n |
||||||
|
|
||||||
|
config SYS_CLOCK_HW_CYCLES_PER_SEC |
||||||
|
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) |
||||||
|
|
||||||
|
config XTENSA_CCOUNT_HZ |
||||||
|
default SYS_CLOCK_HW_CYCLES_PER_SEC |
||||||
|
|
||||||
|
config ESPTOOLPY_FLASHFREQ_80M |
||||||
|
default y |
||||||
|
|
||||||
|
config FLASH_SIZE |
||||||
|
default $(dt_node_reg_size_int,/soc/flash-controller@3f402000/flash@0,0) |
||||||
|
|
||||||
|
config FLASH_BASE_ADDRESS |
||||||
|
default $(dt_node_reg_addr_hex,/soc/flash-controller@3f402000/flash@0) |
||||||
|
|
||||||
|
endif # SOC_SERIES_ESP32S3 |
@ -0,0 +1,126 @@ |
|||||||
|
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_SERIES_ESP32S2 |
||||||
|
bool |
||||||
|
select SOC_FAMILY_ESPRESSIF_ESP32 |
||||||
|
help |
||||||
|
ESP32-S2 Series |
||||||
|
|
||||||
|
config SOC_ESP32S2_R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_R2 |
||||||
|
|
||||||
|
config SOC_ESP32S2_FH2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_FH2 |
||||||
|
|
||||||
|
config SOC_ESP32S2_FH4 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_FH4 |
||||||
|
|
||||||
|
config SOC_ESP32S2_FN4R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_FN4R2 |
||||||
|
|
||||||
|
# SiP with external flash / psram |
||||||
|
config SOC_ESP32S2_SOLO_N4 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_SOLO_N4 |
||||||
|
|
||||||
|
config SOC_ESP32S2_SOLO_N8 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_SOLO_N8 |
||||||
|
|
||||||
|
config SOC_ESP32S2_SOLO_N16 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_SOLO_N16 |
||||||
|
|
||||||
|
config SOC_ESP32S2_SOLO_N4R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_SOLO_N4R2 |
||||||
|
|
||||||
|
config SOC_ESP32S2_MINI_N4 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_MINI_N4 |
||||||
|
|
||||||
|
config SOC_ESP32S2_MINI_N4R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_MINI_N4R2 |
||||||
|
|
||||||
|
config SOC_ESP32S2_WROOM |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_WROOM |
||||||
|
|
||||||
|
config SOC_ESP32S2_WROVER_N4R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_WROVER_N4R2 |
||||||
|
|
||||||
|
config SOC_ESP32S2_WROVER_N8R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_WROVER_N8R2 |
||||||
|
|
||||||
|
config SOC_ESP32S2_WROVER_N16R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2_WROVER_N16R2 |
||||||
|
|
||||||
|
config SOC_ESP32S2 |
||||||
|
bool |
||||||
|
select SOC_SERIES_ESP32S2 |
||||||
|
help |
||||||
|
ESP32S2 |
||||||
|
|
||||||
|
config SOC_SERIES |
||||||
|
default "esp32s2" if SOC_SERIES_ESP32S2 |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "esp32s2" if SOC_SERIES_ESP32S2 |
||||||
|
|
||||||
|
config SOC_PART_NUMBER |
||||||
|
default "ESP32S2" if SOC_ESP32S2 |
||||||
|
default "ESP32S2_R2" if SOC_ESP32S2_R2 |
||||||
|
default "ESP32S2_FH2" if SOC_ESP32S2_FH2 |
||||||
|
default "ESP32S2_FH4" if SOC_ESP32S2_FH4 |
||||||
|
default "ESP32S2_FN4R2" if SOC_ESP32S2_FN4R2 |
||||||
|
default "ESP32S2_SOLO_N4" if SOC_ESP32S2_SOLO_N4 |
||||||
|
default "ESP32S2_SOLO_N8" if SOC_ESP32S2_SOLO_N8 |
||||||
|
default "ESP32S2_SOLO_N16" if SOC_ESP32S2_SOLO_N16 |
||||||
|
default "ESP32S2_SOLO_N4R2" if SOC_ESP32S2_SOLO_N4R2 |
||||||
|
default "ESP32S2_MINI_N4" if SOC_ESP32S2_MINI_N4 |
||||||
|
default "ESP32S2_MINI_N4R2" if SOC_ESP32S2_MINI_N4R2 |
||||||
|
default "ESP32S2_WROOM" if SOC_ESP32S2_WROOM |
||||||
|
default "ESP32S2_WROVER_N4R2" if SOC_ESP32S2_WROVER_N4R2 |
||||||
|
default "ESP32S2_WROVER_N8R2" if SOC_ESP32S2_WROVER_N8R2 |
||||||
|
default "ESP32S2_WROVER_N16R2" if SOC_ESP32S2_WROVER_N16R2 |
||||||
|
|
||||||
|
config SOC_TOOLCHAIN_NAME |
||||||
|
string |
||||||
|
default "espressif_esp32s2" if SOC_SERIES_ESP32S2 |
@ -0,0 +1,146 @@ |
|||||||
|
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_SERIES_ESP32S3 |
||||||
|
bool |
||||||
|
select SOC_FAMILY_ESPRESSIF_ESP32 |
||||||
|
help |
||||||
|
ESP32-S3 Series |
||||||
|
|
||||||
|
config SOC_ESP32S3_R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_R2 |
||||||
|
|
||||||
|
config SOC_ESP32S3_R8 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_R8 |
||||||
|
|
||||||
|
config SOC_ESP32S3_R8V |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_R8V |
||||||
|
|
||||||
|
config SOC_ESP32S3_FN8 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_FN8 |
||||||
|
|
||||||
|
config SOC_ESP32S3_PICO_N8R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_PICO_N8R2 |
||||||
|
|
||||||
|
config SOC_ESP32S3_PICO_N8R8 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_PICO_N8R8 |
||||||
|
|
||||||
|
# SiP with flash and/or psram |
||||||
|
config SOC_ESP32S3_MINI_N8 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_MINI_N8 |
||||||
|
|
||||||
|
config SOC_ESP32S3_MINI_N4R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_MINI_N4R2 |
||||||
|
|
||||||
|
config SOC_ESP32S3_WROOM_N4 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_WROOM_N4 |
||||||
|
|
||||||
|
config SOC_ESP32S3_WROOM_N8 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_WROOM_N8 |
||||||
|
|
||||||
|
config SOC_ESP32S3_WROOM_N16 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_WROOM_N16 |
||||||
|
|
||||||
|
config SOC_ESP32S3_WROOM_N4R8 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_WROOM_N4R8 |
||||||
|
|
||||||
|
config SOC_ESP32S3_WROOM_N8R8 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_WROOM_N8R8 |
||||||
|
|
||||||
|
config SOC_ESP32S3_WROOM_N16R8 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_WROOM_N16R8 |
||||||
|
|
||||||
|
config SOC_ESP32S3_WROOM_N4R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_WROOM_N4R2 |
||||||
|
|
||||||
|
config SOC_ESP32S3_WROOM_N8R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_WROOM_N8R2 |
||||||
|
|
||||||
|
config SOC_ESP32S3_WROOM_N16R2 |
||||||
|
bool |
||||||
|
select SOC_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3_WROOM_N16R2 |
||||||
|
|
||||||
|
config SOC_ESP32S3 |
||||||
|
bool |
||||||
|
select SOC_SERIES_ESP32S3 |
||||||
|
help |
||||||
|
ESP32S3 |
||||||
|
|
||||||
|
config SOC_SERIES |
||||||
|
default "esp32s3" if SOC_SERIES_ESP32S3 |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "esp32s3" if SOC_SERIES_ESP32S3 |
||||||
|
|
||||||
|
config SOC_PART_NUMBER |
||||||
|
default "ESP32S3_R2" if SOC_ESP32S3_R2 |
||||||
|
default "ESP32S3_R8" if SOC_ESP32S3_R8 |
||||||
|
default "ESP32S3_R8V" if SOC_ESP32S3_R8V |
||||||
|
default "ESP32S3_FN8" if SOC_ESP32S3_FN8 |
||||||
|
default "ESP32S3_PICO_N8R2" if SOC_ESP32S3_PICO_N8R2 |
||||||
|
default "ESP32S3_PICO_N8R8" if SOC_ESP32S3_PICO_N8R8 |
||||||
|
default "ESP32S3_MINI_N8" if SOC_ESP32S3_MINI_N8 |
||||||
|
default "ESP32S3_MINI_N4R2" if SOC_ESP32S3_MINI_N4R2 |
||||||
|
default "ESP32S3_WROOM_N4" if SOC_ESP32S3_WROOM_N4 |
||||||
|
default "ESP32S3_WROOM_N8" if SOC_ESP32S3_WROOM_N8 |
||||||
|
default "ESP32S3_WROOM_N16" if SOC_ESP32S3_WROOM_N16 |
||||||
|
default "ESP32S3_WROOM_N4R8" if SOC_ESP32S3_WROOM_N4R8 |
||||||
|
default "ESP32S3_WROOM_N8R8" if SOC_ESP32S3_WROOM_N8R8 |
||||||
|
default "ESP32S3_WROOM_N16R8" if SOC_ESP32S3_WROOM_N16R8 |
||||||
|
default "ESP32S3_WROOM_N4R2" if SOC_ESP32S3_WROOM_N4R2 |
||||||
|
default "ESP32S3_WROOM_N8R2" if SOC_ESP32S3_WROOM_N8R2 |
||||||
|
default "ESP32S3_WROOM_N16R2" if SOC_ESP32S3_WROOM_N16R2 |
||||||
|
|
||||||
|
config SOC_TOOLCHAIN_NAME |
||||||
|
string |
||||||
|
default "espressif_esp32s3" if SOC_SERIES_ESP32S3 |
@ -0,0 +1,21 @@ |
|||||||
|
family: |
||||||
|
- name: espressif_esp32 |
||||||
|
series: |
||||||
|
- name: esp32 |
||||||
|
socs: |
||||||
|
- name: esp32 |
||||||
|
cpuclusters: |
||||||
|
- name: procpu |
||||||
|
- name: appcpu |
||||||
|
- name: esp32s2 |
||||||
|
socs: |
||||||
|
- name: esp32s2 |
||||||
|
- name: esp32s3 |
||||||
|
socs: |
||||||
|
- name: esp32s3 |
||||||
|
cpuclusters: |
||||||
|
- name: procpu |
||||||
|
- name: appcpu |
||||||
|
- name: esp32c3 |
||||||
|
socs: |
||||||
|
- name: esp32c3 |
@ -1,16 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_FAMILY_ESP32 |
|
||||||
bool |
|
||||||
|
|
||||||
if SOC_FAMILY_ESP32 |
|
||||||
|
|
||||||
config SOC_FAMILY |
|
||||||
string |
|
||||||
default "espressif_esp32" |
|
||||||
|
|
||||||
source "soc/soc_legacy/riscv/espressif_esp32/common/Kconfig.soc" |
|
||||||
source "soc/soc_legacy/riscv/espressif_esp32/*/Kconfig.soc" |
|
||||||
|
|
||||||
endif # SOC_FAMILY_ESP32 |
|
@ -1,5 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
source "soc/soc_legacy/riscv/espressif_esp32/common/Kconfig.defconfig.series" |
|
||||||
source "soc/soc_legacy/riscv/espressif_esp32/*/Kconfig.defconfig.series" |
|
@ -1,4 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
source "soc/soc_legacy/riscv/espressif_esp32/*/Kconfig.series" |
|
@ -1,2 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
@ -1,52 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
if SOC_FAMILY_ESP32 |
|
||||||
|
|
||||||
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 |
|
||||||
|
|
||||||
config SYS_CLOCK_HW_CYCLES_PER_SEC |
|
||||||
default 16000000 |
|
||||||
|
|
||||||
config SYS_CLOCK_TICKS_PER_SEC |
|
||||||
default 1000 |
|
||||||
|
|
||||||
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE |
|
||||||
default n |
|
||||||
|
|
||||||
config CLOCK_CONTROL |
|
||||||
default y |
|
||||||
|
|
||||||
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 |
|
||||||
|
|
||||||
endif # BOOTLOADER_MCUBOOT config |
|
||||||
|
|
||||||
endif # SOC_FAMILY_ESP32 |
|
@ -1,15 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
if SOC_FAMILY_ESP32 |
|
||||||
|
|
||||||
config ESPTOOLPY_FLASHFREQ_80M |
|
||||||
bool |
|
||||||
|
|
||||||
config FLASH_SIZE |
|
||||||
int |
|
||||||
|
|
||||||
config FLASH_BASE_ADDRESS |
|
||||||
hex |
|
||||||
|
|
||||||
endif # SOC_FAMILY_ESP32 |
|
@ -1,21 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_SERIES_ESP32C3 |
|
||||||
bool "ESP32C3" |
|
||||||
select RISCV |
|
||||||
select RISCV_GP |
|
||||||
select DYNAMIC_INTERRUPTS |
|
||||||
select CLOCK_CONTROL |
|
||||||
select PINCTRL |
|
||||||
select RISCV_ISA_RV32I |
|
||||||
select RISCV_ISA_EXT_M |
|
||||||
select RISCV_ISA_EXT_C |
|
||||||
select RISCV_ISA_EXT_ZICSR |
|
||||||
select HAS_ESPRESSIF_HAL |
|
||||||
select SOC_FAMILY_ESP32 |
|
||||||
select XIP if !MCUBOOT |
|
||||||
select HAS_PM |
|
||||||
select HAS_POWEROFF |
|
||||||
help |
|
||||||
Enable support for Espressif ESP32-C3 |
|
@ -1,16 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_FAMILY_ESP32 |
|
||||||
bool |
|
||||||
|
|
||||||
if SOC_FAMILY_ESP32 |
|
||||||
|
|
||||||
config SOC_FAMILY |
|
||||||
string |
|
||||||
default "espressif_esp32" |
|
||||||
|
|
||||||
source "soc/soc_legacy/xtensa/espressif_esp32/common/Kconfig.soc" |
|
||||||
source "soc/soc_legacy/xtensa/espressif_esp32/*/Kconfig.soc" |
|
||||||
|
|
||||||
endif # SOC_FAMILY_ESP32 |
|
@ -1,5 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
source "soc/soc_legacy/xtensa/espressif_esp32/common/Kconfig.defconfig.series" |
|
||||||
source "soc/soc_legacy/xtensa/espressif_esp32/*/Kconfig.defconfig.series" |
|
@ -1,4 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
zephyr_include_directories(include) |
|
@ -1,44 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
if SOC_FAMILY_ESP32 |
|
||||||
|
|
||||||
# Xtensa default options for ESP32 family |
|
||||||
config XTENSA_RESET_VECTOR |
|
||||||
default n |
|
||||||
|
|
||||||
config XTENSA_USE_CORE_CRT1 |
|
||||||
default n |
|
||||||
|
|
||||||
config GEN_ISR_TABLES |
|
||||||
default y |
|
||||||
|
|
||||||
config GEN_IRQ_VECTOR_TABLE |
|
||||||
default n |
|
||||||
|
|
||||||
config CLOCK_CONTROL |
|
||||||
default y |
|
||||||
|
|
||||||
config SYS_CLOCK_HW_CYCLES_PER_SEC |
|
||||||
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) |
|
||||||
|
|
||||||
config XTENSA_CCOUNT_HZ |
|
||||||
default SYS_CLOCK_HW_CYCLES_PER_SEC |
|
||||||
|
|
||||||
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE |
|
||||||
default n |
|
||||||
|
|
||||||
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 |
|
||||||
|
|
||||||
endif # BOOTLOADER_MCUBOOT |
|
||||||
|
|
||||||
endif # SOC_FAMILY_ESP32 |
|
@ -1,33 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_SERIES_ESP32 |
|
||||||
bool "ESP32 Series" |
|
||||||
select XTENSA |
|
||||||
select SOC_FAMILY_ESP32 |
|
||||||
select CLOCK_CONTROL |
|
||||||
select DYNAMIC_INTERRUPTS |
|
||||||
select ARCH_HAS_GDBSTUB |
|
||||||
select ARCH_SUPPORTS_COREDUMP |
|
||||||
select PINCTRL |
|
||||||
select XIP if !MCUBOOT |
|
||||||
select HAS_ESPRESSIF_HAL |
|
||||||
select CPU_HAS_FPU |
|
||||||
select HAS_PM |
|
||||||
select HAS_POWEROFF |
|
||||||
help |
|
||||||
Enable support for Espressif ESP32 |
|
||||||
|
|
||||||
config SOC_ESP32_PROCPU |
|
||||||
bool "Application runs in ESP32 PROCPU (core 0)" |
|
||||||
depends on SOC_SERIES_ESP32 |
|
||||||
help |
|
||||||
When this SOC is enabled, it will run application on PROCPU (core 0). It will automatically |
|
||||||
enable AMP support by building, flashing and loading APPCPU (core 1) image if exists. |
|
||||||
|
|
||||||
config SOC_ESP32_APPCPU |
|
||||||
bool "Application runs in ESP32 APPCPU (core 1)" |
|
||||||
depends on SOC_SERIES_ESP32 |
|
||||||
help |
|
||||||
When this SOC is enabled, it will run application on APPCPU (core 1). It is expected that |
|
||||||
there is another image running on PROCPU (core 0) to trigger the AMP support. |
|
@ -1,18 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_SERIES_ESP32S2 |
|
||||||
bool "ESP32-S2 Series" |
|
||||||
select XTENSA |
|
||||||
select SOC_FAMILY_ESP32 |
|
||||||
select ATOMIC_OPERATIONS_C |
|
||||||
select DYNAMIC_INTERRUPTS |
|
||||||
select CLOCK_CONTROL |
|
||||||
select PINCTRL |
|
||||||
select XIP if !MCUBOOT |
|
||||||
select HAS_ESPRESSIF_HAL |
|
||||||
select ARCH_SUPPORTS_COREDUMP |
|
||||||
select HAS_PM |
|
||||||
select HAS_POWEROFF |
|
||||||
help |
|
||||||
Enable support for Espressif ESP32-S2 |
|
@ -1,28 +0,0 @@ |
|||||||
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_SERIES_ESP32S3 |
|
||||||
bool "ESP32-S3 Series" |
|
||||||
select XTENSA |
|
||||||
select SOC_FAMILY_ESP32 |
|
||||||
select DYNAMIC_INTERRUPTS |
|
||||||
select ARCH_SUPPORTS_COREDUMP |
|
||||||
select CLOCK_CONTROL |
|
||||||
select PINCTRL |
|
||||||
select XIP if !MCUBOOT |
|
||||||
select HAS_ESPRESSIF_HAL |
|
||||||
select CPU_HAS_FPU |
|
||||||
|
|
||||||
config SOC_ESP32S3_PROCPU |
|
||||||
bool "Application runs in ESP32S3 PROCPU (core 0)" |
|
||||||
depends on SOC_SERIES_ESP32S3 |
|
||||||
help |
|
||||||
When this SOC is enabled, it will run application on PROCPU (core 0). It will automatically |
|
||||||
enable AMP support by building, flashing and loading APPCPU (core 1) image if exists. |
|
||||||
|
|
||||||
config SOC_ESP32S3_APPCPU |
|
||||||
bool "Application runs in ESP32S3 APPCPU (core 1)" |
|
||||||
depends on SOC_SERIES_ESP32S3 |
|
||||||
help |
|
||||||
When this SOC is enabled, it will run application on APPCPU (core 1). It is expected that |
|
||||||
there is another image running on PROCPU (core 0) to trigger the AMP support. |
|
Loading…
Reference in new issue