2023-06-23 15:42:08 +02:00
|
|
|
FEATURES_OPTIONAL += arduino_analog
|
|
|
|
FEATURES_OPTIONAL += arduino_dac
|
|
|
|
FEATURES_OPTIONAL += arduino_i2c
|
|
|
|
FEATURES_OPTIONAL += arduino_spi
|
|
|
|
FEATURES_OPTIONAL += arduino_uart
|
2023-04-21 09:36:54 +02:00
|
|
|
FEATURES_OPTIONAL += periph_adc
|
|
|
|
FEATURES_OPTIONAL += periph_i2c
|
|
|
|
FEATURES_OPTIONAL += periph_spi
|
2023-06-23 15:42:08 +02:00
|
|
|
FEATURES_REQUIRED += arduino_pins
|
2023-04-21 09:36:54 +02:00
|
|
|
FEATURES_REQUIRED += cpp
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_uart
|
|
|
|
USEMODULE += arduino_sketches
|
|
|
|
USEMODULE += fmt
|
|
|
|
USEMODULE += ztimer_msec
|
2023-06-23 15:42:08 +02:00
|
|
|
USEMODULE += ztimer_usec
|
2023-04-21 09:36:54 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
|
|
|
|
USEMODULE += arduino_serial_stdio
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter arduino_pwm,$(FEATURES_USED)))
|
|
|
|
FEATURES_REQUIRED += periph_pwm
|
|
|
|
endif
|