diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-03-18 22:01:06 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-03-18 22:01:06 +0100 |
commit | de23a47009bb301518417d097b3360253a01c635 (patch) | |
tree | efbe470365a62c52345b6d3fd100f338f3cf2ad7 /src/arch/arduino-nano-168 | |
parent | 7588f9c2ada3f4b10586826ee95eb8795fb69729 (diff) |
Arduino: Add ADC driver
Diffstat (limited to 'src/arch/arduino-nano-168')
-rw-r--r-- | src/arch/arduino-nano-168/Makefile.inc | 8 |
1 files changed, 8 insertions, 0 deletions
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) |