1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/arduino/Kconfig

43 lines
1.1 KiB
Plaintext

# Copyright (c) 2020 HAW Hamburg
#
# 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 MODULE_ARDUINO_SKETCHES
bool
menuconfig MODULE_ARDUINO
bool "Arduino support"
imply MODULE_PERIPH_ADC
imply MODULE_PERIPH_I2C
imply MODULE_PERIPH_SPI
depends on HAS_ARDUINO
depends on HAS_PERIPH_GPIO
depends on HAS_PERIPH_UART
depends on HAS_CPP
depends on TEST_KCONFIG
select MODULE_PERIPH_GPIO
select MODULE_PERIPH_UART
select MODULE_CPP
select MODULE_ARDUINO_SKETCHES
select MODULE_FMT
select MODULE_ZTIMER
select MODULE_ZTIMER_MSEC
select ZTIMER_USEC
config MODULE_ARDUINO_PWM
bool "PWM support for Arduino"
depends on HAS_PERIPH_PWM
depends on HAS_ARDUINO_PWM
depends on MODULE_ARDUINO
depends on TEST_KCONFIG
select MODULE_PERIPH_PWM
config MODULE_ARDUINO_SERIAL_STDIO
bool "Use STDIO as Serial"
depends on MODULE_ARDUINO
depends on TEST_KCONFIG
default y if MODULE_STDIO_CDC_ACM