2020-09-24 14:13:34 +02:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2021-06-25 11:48:05 +02:00
|
|
|
config MODULE_ARDUINO_SKETCHES
|
|
|
|
bool
|
|
|
|
|
2020-09-24 14:13:34 +02:00
|
|
|
menuconfig MODULE_ARDUINO
|
|
|
|
bool "Arduino support"
|
|
|
|
imply MODULE_PERIPH_ADC
|
2021-06-25 11:48:05 +02:00
|
|
|
imply MODULE_PERIPH_I2C
|
|
|
|
imply MODULE_PERIPH_SPI
|
2020-09-24 14:13:34 +02:00
|
|
|
depends on HAS_ARDUINO
|
|
|
|
depends on HAS_PERIPH_GPIO
|
2021-12-09 15:41:45 +01:00
|
|
|
depends on HAS_PERIPH_UART
|
2021-06-25 11:48:59 +02:00
|
|
|
depends on HAS_CPP
|
2020-09-24 14:13:34 +02:00
|
|
|
depends on TEST_KCONFIG
|
|
|
|
select MODULE_PERIPH_GPIO
|
2021-12-09 15:41:45 +01:00
|
|
|
select MODULE_PERIPH_UART
|
2021-06-25 11:48:59 +02:00
|
|
|
select MODULE_CPP
|
2021-06-25 11:48:05 +02:00
|
|
|
select MODULE_ARDUINO_SKETCHES
|
|
|
|
select MODULE_FMT
|
|
|
|
select MODULE_ZTIMER
|
|
|
|
select MODULE_ZTIMER_MSEC
|
2021-12-01 12:06:11 +01:00
|
|
|
select ZTIMER_USEC
|
2020-09-24 14:13:34 +02:00
|
|
|
|
|
|
|
config MODULE_ARDUINO_PWM
|
|
|
|
bool "PWM support for Arduino"
|
|
|
|
depends on HAS_PERIPH_PWM
|
2021-09-17 10:03:57 +02:00
|
|
|
depends on HAS_ARDUINO_PWM
|
2020-09-24 14:13:34 +02:00
|
|
|
depends on MODULE_ARDUINO
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
select MODULE_PERIPH_PWM
|
2021-12-25 13:29:28 +01:00
|
|
|
|
|
|
|
config MODULE_ARDUINO_SERIAL_STDIO
|
|
|
|
bool "Use STDIO as Serial"
|
|
|
|
depends on MODULE_ARDUINO
|
2021-12-25 13:31:27 +01:00
|
|
|
depends on TEST_KCONFIG
|
|
|
|
default y if MODULE_STDIO_CDC_ACM
|