sys/arduino: add module to Kconfig
This commit is contained in:
parent
7185edb070
commit
b2b704160e
@ -6,6 +6,7 @@
|
|||||||
#
|
#
|
||||||
menu "System"
|
menu "System"
|
||||||
|
|
||||||
|
rsource "arduino/Kconfig"
|
||||||
rsource "auto_init/Kconfig"
|
rsource "auto_init/Kconfig"
|
||||||
rsource "benchmark/Kconfig"
|
rsource "benchmark/Kconfig"
|
||||||
rsource "div/Kconfig"
|
rsource "div/Kconfig"
|
||||||
|
|||||||
22
sys/arduino/Kconfig
Normal file
22
sys/arduino/Kconfig
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
menuconfig MODULE_ARDUINO
|
||||||
|
bool "Arduino support"
|
||||||
|
imply MODULE_ARDUINO_PWM
|
||||||
|
imply MODULE_PERIPH_ADC
|
||||||
|
depends on HAS_ARDUINO
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
|
||||||
|
config MODULE_ARDUINO_PWM
|
||||||
|
bool "PWM support for Arduino"
|
||||||
|
depends on HAS_PERIPH_PWM
|
||||||
|
depends on MODULE_ARDUINO
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_PWM
|
||||||
Loading…
x
Reference in New Issue
Block a user