mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
# Copyright (c) 2020 HAW Hamburg
|
|
# 2022 Gunar Schorcht
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
|
|
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"
|