| # Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd. |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| config SOC_ESP32C3 |
| bool "ESP32C3" |
| select RISCV |
| select RISCV_GP |
| select DYNAMIC_INTERRUPTS |
| select CLOCK_CONTROL |
| select CLOCK_CONTROL_ESP32 |
| |
| if SOC_ESP32C3 |
| |
| config IDF_TARGET_ESP32C3 |
| bool "ESP32C3 as target board" |
| default y |
| |
| config ESPTOOLPY_FLASHFREQ_80M |
| bool |
| default y |
| |
| config FLASH_SIZE |
| int |
| default $(dt_node_reg_size_int,/soc/flash-controller@60002000/flash@0,0) |
| |
| config FLASH_BASE_ADDRESS |
| hex |
| default $(dt_node_reg_addr_hex,/soc/flash-controller@60002000/flash@0) |
| |
| endif |