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:
parent
6884927c3f
commit
630f7a2102
@ -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"
|
||||
|
@ -3,4 +3,3 @@
|
||||
CONFIG_MODULE_PERIPH_GPIO=y
|
||||
CONFIG_MODULE_SHELL=y
|
||||
CONFIG_MODULE_ARDUINO=y
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
Loading…
Reference in New Issue
Block a user