mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# SPDX-FileCopyrightText: 2020 HAW Hamburg
|
|
# SPDX-FileCopyrightText: 2022 Gunar Schorcht
|
|
# SPDX-License-Identifier: LGPL-2.1-only
|
|
|
|
config BOARD
|
|
default "esp32c3-wemos-mini" if BOARD_ESP32C3_WEMOS_MINI
|
|
|
|
config BOARD_ESP32C3_WEMOS_MINI
|
|
bool
|
|
default y
|
|
select BOARD_COMMON_ESP32C3
|
|
select CPU_MODEL_ESP32C3_FH4
|
|
|
|
choice
|
|
bool "Wemos ESP32-C3 mini board version"
|
|
default BOARD_VERSION_ESP32C3_WEMOS_MINI_V2_1_0
|
|
config BOARD_VERSION_ESP32C3_WEMOS_MINI_V1_0_0
|
|
bool "Version 1.0.0"
|
|
config BOARD_VERSION_ESP32C3_WEMOS_MINI_V2_1_0
|
|
bool "Version 2.1.0"
|
|
help
|
|
There are different versions on the market which differ in the pin
|
|
layout for ADC channels and the SPI interface. In addition,
|
|
version 2.1.0 has an RGB LED connected to GPIO7 instead of an LED.
|
|
Select your version for correct peripheral configuration. If your
|
|
board has a RGB LED, it is version 2.1.0 or newer, otherwise it is
|
|
version 1.0.0
|
|
endchoice
|
|
|
|
source "$(RIOTBOARD)/common/esp32c3/Kconfig"
|