From de23a47009bb301518417d097b3360253a01c635 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 18 Mar 2020 22:01:06 +0100 Subject: Arduino: Add ADC driver --- src/arch/arduino-nano-168/Makefile.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/arch/arduino-nano-168') diff --git a/src/arch/arduino-nano-168/Makefile.inc b/src/arch/arduino-nano-168/Makefile.inc index f57914e..70392e1 100644 --- a/src/arch/arduino-nano-168/Makefile.inc +++ b/src/arch/arduino-nano-168/Makefile.inc @@ -37,6 +37,10 @@ else ifneq ($(findstring i2c,${arch_drivers}), ) CXX_TARGETS += src/arch/arduino-nano/driver/i2c.cc endif +ifneq ($(findstring adc,${arch_drivers}), ) + CXX_TARGETS += src/arch/arduino-nano/driver/adc.cc +endif + ifneq ($(findstring spi,${arch_drivers}), ) CXX_TARGETS += src/arch/arduino-nano/driver/spi.cc endif @@ -53,6 +57,10 @@ ifneq ($(findstring counter,${arch_drivers}), ) CXX_TARGETS += src/arch/arduino-nano/driver/counter.cc endif +ifneq ($(findstring neopixel,${arch_drivers}), ) + CXX_TARGETS += src/arch/arduino-nano/driver/neopixel.cc +endif + ifeq (${cpu_freq}, 16000000) uart_baud = 57600 else ifeq (${cpu_freq}, 8000000) -- cgit v1.2.3