1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/sys_arduino_analog/Makefile
Alexandre Abadie 779e25bc7d
tests/sys_arduino_analog: add test application
The goal of this application is to test the analogRead and analogWrite Arduino function
2019-11-15 17:51:45 +01:00

16 lines
301 B
Makefile

BOARD ?= arduino-zero
include ../Makefile.tests_common
LED_PIN ?= 3
USEMODULE += arduino
# Features used by Arduino analogRead/analogWrite functions are required
FEATURES_REQUIRED += arduino_pwm
FEATURES_REQUIRED += periph_adc
CFLAGS += -DLED_PIN=$(LED_PIN)
include $(RIOTBASE)/Makefile.include