mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
652e4f41c1
Also add better error message when kconfig or make includes a .cpp without cpp module.
35 lines
895 B
Plaintext
35 lines
895 B
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_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 HAS_CPP
|
|
depends on TEST_KCONFIG
|
|
select MODULE_PERIPH_GPIO
|
|
select MODULE_CPP
|
|
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"
|
|
depends on HAS_PERIPH_PWM
|
|
depends on MODULE_ARDUINO
|
|
depends on TEST_KCONFIG
|
|
select MODULE_PERIPH_PWM
|