aboutsummaryrefslogtreecommitdiff
path: root/examples/spiblink
diff options
context:
space:
mode:
Diffstat (limited to 'examples/spiblink')
-rw-r--r--examples/spiblink/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/spiblink/makefile b/examples/spiblink/makefile
index a831f86..bb3b94a 100644
--- a/examples/spiblink/makefile
+++ b/examples/spiblink/makefile
@@ -3,7 +3,8 @@ MAKEFLAGS += --no-builtin-rules
MMCU = atmega328p
F_CPU = 16000000L
IOE_PREFIX = ../..
-IOE_CFLAGS ?= -Os -ffunction-sections -fdata-sections -fshort-enums -g -Wall
+IOE_CFLAGS ?= -Os -ffunction-sections -fdata-sections -fshort-enums -g -Wall \
+ -DF_CPU=$(F_CPU) -mmcu=$(MMCU)
.PHONY: all
all: master.hex slave.hex