mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
32 lines
945 B
Plaintext
32 lines
945 B
Plaintext
# Copyright (c) 2022 Benjamin Valentin
|
|
#
|
|
# 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 "esp32s2-wemos-mini" if BOARD_ESP32S2_WEMOS_MINI
|
|
|
|
config BOARD_ESP32S2_WEMOS_MINI
|
|
bool
|
|
default y
|
|
select BOARD_COMMON_ESP32S2
|
|
select CPU_MODEL_ESP32S2_FN4R2
|
|
select HAS_PERIPH_ADC
|
|
select HAS_PERIPH_DAC
|
|
select HAS_PERIPH_I2C
|
|
select HAS_PERIPH_PWM
|
|
select HAS_PERIPH_SPI
|
|
select HAS_PERIPH_USBDEV
|
|
select HAS_TINYUSB_DEVICE
|
|
select HAS_HIGHLEVEL_STDIO
|
|
select MODULE_USBUS_CDC_ACM if TEST_KCONFIG && MODULE_USBUS
|
|
select PACKAGE_TINYUSB if TEST_KCONFIG && !MODULE_USBUS
|
|
|
|
choice STDIO_IMPLEMENTATION
|
|
default MODULE_STDIO_CDC_ACM if MODULE_USBUS
|
|
default MODULE_STDIO_TINYUSB_CDC_ACM if PACKAGE_TINYUSB
|
|
endchoice
|
|
|
|
source "$(RIOTBOARD)/common/esp32s2/Kconfig"
|