mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20 lines
491 B
Makefile
20 lines
491 B
Makefile
FEATURES_OPTIONAL += periph_adc
|
|
FEATURES_OPTIONAL += periph_i2c
|
|
FEATURES_OPTIONAL += periph_spi
|
|
FEATURES_REQUIRED += arduino
|
|
FEATURES_REQUIRED += cpp
|
|
FEATURES_REQUIRED += periph_gpio
|
|
FEATURES_REQUIRED += periph_uart
|
|
USEMODULE += arduino_sketches
|
|
USEMODULE += fmt
|
|
USEMODULE += ztimer_usec
|
|
USEMODULE += ztimer_msec
|
|
|
|
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
|
|
USEMODULE += arduino_serial_stdio
|
|
endif
|
|
|
|
ifneq (,$(filter arduino_pwm,$(FEATURES_USED)))
|
|
FEATURES_REQUIRED += periph_pwm
|
|
endif
|