summaryrefslogtreecommitdiff
path: root/avr
diff options
context:
space:
mode:
authorLeo C2018-09-10 20:49:20 +0200
committerLeo C2018-09-10 20:49:20 +0200
commitdf728b3578bfba42632b2a3bd7250fba70776b22 (patch)
tree4ff15d4e5d9cab7ee081d4c2480f9419e6abb47e /avr
parent51dd0948df5ed53b11cab4e909e19ee7cee363c5 (diff)
downloadz180-stamp-df728b3578bfba42632b2a3bd7250fba70776b22.zip
Tup: F_CPU per config
Diffstat (limited to 'avr')
-rw-r--r--avr/Tupfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/avr/Tupfile b/avr/Tupfile
index 68a6ae0..2e9cae8 100644
--- a/avr/Tupfile
+++ b/avr/Tupfile
@@ -38,8 +38,7 @@ else
DEFS += -DMCU_STRING=\"ATmega2561\"
endif
-F_CPU = 18432000UL
-DEFS += -DF_CPU=$(F_CPU)
+DEFS += -DF_CPU=@(F_CPU)
INCLUDES += -I$(TOP)/include