through the reuse of current esp32 interrupt allocator. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
70 lines
1.3 KiB
Text
70 lines
1.3 KiB
Text
# Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SOC_ESP32S2
|
|
bool "ESP32S2"
|
|
select XTENSA
|
|
select ATOMIC_OPERATIONS_C
|
|
select DYNAMIC_INTERRUPTS
|
|
|
|
if SOC_ESP32S2
|
|
|
|
config IDF_TARGET_ESP32S2
|
|
bool "ESP32S2 as target board"
|
|
default y
|
|
|
|
config ESPTOOLPY_FLASHFREQ_80M
|
|
bool
|
|
default y
|
|
|
|
choice
|
|
prompt "Instruction cache line size"
|
|
default ESP32S2_INSTRUCTION_CACHE_LINE_32B
|
|
|
|
config ESP32S2_INSTRUCTION_CACHE_LINE_16B
|
|
bool "16 Bytes"
|
|
|
|
config ESP32S2_INSTRUCTION_CACHE_LINE_32B
|
|
bool "32 Bytes"
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Instruction cache size"
|
|
default ESP32S2_INSTRUCTION_CACHE_8KB
|
|
|
|
config ESP32S2_INSTRUCTION_CACHE_8KB
|
|
bool "8KB instruction cache size"
|
|
|
|
config ESP32S2_INSTRUCTION_CACHE_16KB
|
|
bool "16KB instruction cache size"
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Data cache size"
|
|
default ESP32S2_DATA_CACHE_0KB
|
|
|
|
config ESP32S2_DATA_CACHE_0KB
|
|
bool "0KB data cache size"
|
|
|
|
config ESP32S2_DATA_CACHE_8KB
|
|
bool "8KB data cache size"
|
|
|
|
config ESP32S2_DATA_CACHE_16KB
|
|
bool "16KB data cache size"
|
|
|
|
endchoice
|
|
|
|
config ESP32S2_INSTRUCTION_CACHE_SIZE
|
|
hex
|
|
default 0x2000
|
|
default 0x4000 if ESP32S2_INSTRUCTION_CACHE_16KB
|
|
|
|
config ESP32S2_DATA_CACHE_SIZE
|
|
hex
|
|
default 0x0000
|
|
default 0x2000 if ESP32S2_DATA_CACHE_8KB
|
|
default 0x4000 if ESP32S2_DATA_CACHE_16KB
|
|
|
|
endif
|