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/Makefile.inc | |
parent | 7588f9c2ada3f4b10586826ee95eb8795fb69729 (diff) |
Arduino: Add ADC driver
Diffstat (limited to 'src/arch/arduino-nano/Makefile.inc')
-rw-r--r-- | src/arch/arduino-nano/Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc index ebc77ea..a664a30 100644 --- a/src/arch/arduino-nano/Makefile.inc +++ b/src/arch/arduino-nano/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 |