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

sys/arduino: Add Kconfig model

This commit is contained in:
MrKevinWeiss 2021-06-25 11:48:05 +02:00
parent 6884927c3f
commit 630f7a2102
No known key found for this signature in database
GPG Key ID: 3514539D7808D123
2 changed files with 10 additions and 1 deletions

View File

@ -5,14 +5,24 @@
# directory for more details.
#
config MODULE_ARDUINO_SKETCHES
bool
menuconfig MODULE_ARDUINO
bool "Arduino support"
imply MODULE_ARDUINO_PWM
imply MODULE_PERIPH_ADC
imply MODULE_PERIPH_I2C
imply MODULE_PERIPH_SPI
depends on HAS_ARDUINO
depends on HAS_PERIPH_GPIO
depends on TEST_KCONFIG
select MODULE_PERIPH_GPIO
select MODULE_ARDUINO_SKETCHES
select MODULE_FMT
select MODULE_ZTIMER
select MODULE_ZTIMER_MSEC
select MODULE_ZTIMER_USEC
config MODULE_ARDUINO_PWM
bool "PWM support for Arduino"

View File

@ -3,4 +3,3 @@
CONFIG_MODULE_PERIPH_GPIO=y
CONFIG_MODULE_SHELL=y
CONFIG_MODULE_ARDUINO=y
CONFIG_MODULE_XTIMER=y