System: add C3 root kconfig settings

This commit is contained in:
Marius Vikhammer 2020-12-29 11:28:27 +08:00 committed by Angus Gratton
parent 62cc864cbe
commit 77eb6b1397

View File

@ -58,11 +58,18 @@ mainmenu "Espressif IoT Development Framework Configuration"
prompt "ESP32-S3 beta2" prompt "ESP32-S3 beta2"
endchoice endchoice
config IDF_TARGET_ESP32C3
bool
default "y" if IDF_TARGET="esp32c3"
select FREERTOS_UNICORE
select IDF_TARGET_ARCH_RISCV
config IDF_FIRMWARE_CHIP_ID config IDF_FIRMWARE_CHIP_ID
hex hex
default 0x0000 if IDF_TARGET_ESP32 default 0x0000 if IDF_TARGET_ESP32
default 0x0002 if IDF_TARGET_ESP32S2 default 0x0002 if IDF_TARGET_ESP32S2
default 0x0004 if IDF_TARGET_ESP32S3 default 0x0004 if IDF_TARGET_ESP32S3
default 0x0005 if IDF_TARGET_ESP32C3
default 0xFFFF default 0xFFFF
menu "SDK tool configuration" menu "SDK tool configuration"
@ -71,6 +78,8 @@ mainmenu "Espressif IoT Development Framework Configuration"
default "xtensa-esp32-elf-" if IDF_TARGET_ESP32 default "xtensa-esp32-elf-" if IDF_TARGET_ESP32
default "xtensa-esp32s2-elf-" if IDF_TARGET_ESP32S2 default "xtensa-esp32s2-elf-" if IDF_TARGET_ESP32S2
default "xtensa-esp32s3-elf-" if IDF_TARGET_ESP32S3 default "xtensa-esp32s3-elf-" if IDF_TARGET_ESP32S3
default "riscv32-esp-elf-" if IDF_TARGET_ESP32C3
help help
The prefix/path that is used to call the toolchain. The default setting assumes The prefix/path that is used to call the toolchain. The default setting assumes
a crosstool-ng gcc setup that is in your PATH. a crosstool-ng gcc setup that is in your PATH.