summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano-168
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-15 15:37:32 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-15 15:37:32 +0100
commitec15c42ab8f5919d62d563798c62e12bed9c843e (patch)
tree2804cf0b51d0d805cd77a1504ad7a42126e3cf09 /src/arch/arduino-nano-168
parentb2554d7bb3bbd1faf42737731f749b8a434e0db3 (diff)
arduino-nano: Add counter driver. Conflicts with timer_s=1 / loop=1
Diffstat (limited to 'src/arch/arduino-nano-168')
-rw-r--r--src/arch/arduino-nano-168/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arduino-nano-168/Makefile.inc b/src/arch/arduino-nano-168/Makefile.inc
index 2f501f6..61492db 100644
--- a/src/arch/arduino-nano-168/Makefile.inc
+++ b/src/arch/arduino-nano-168/Makefile.inc
@@ -40,6 +40,10 @@ ifneq ($(findstring timer,${arch_drivers}), )
CXX_TARGETS += src/arch/arduino-nano/driver/timer.cc
endif
+ifneq ($(findstring counter,${arch_drivers}), )
+ CXX_TARGETS += src/arch/arduino-nano/driver/counter.cc
+endif
+
ifeq (${cpu_freq}, 16000000)
uart_baud = 57600
else ifeq (${cpu_freq}, 8000000)