diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/spiblink/makefile | 3 | ||||
-rw-r--r-- | examples/usartecho/makefile | 1 |
2 files changed, 3 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 diff --git a/examples/usartecho/makefile b/examples/usartecho/makefile index 48a713c..fa10cd2 100644 --- a/examples/usartecho/makefile +++ b/examples/usartecho/makefile @@ -4,6 +4,7 @@ MMCU = atmega328p F_CPU = 16000000L IOE_PREFIX = ../.. IOE_CFLAGS = -Os -ffunction-sections -fdata-sections -fshort-enums -Wall \ + -DF_CPU=$(F_CPU) -mmcu=$(MMCU) \ -DCONFIG_IOE_USART_OUTBUFFER_SIZE=64 \ -DCONFIG_IOE_USART_OUTBUFFER_MODE=0 \ -DCONFIG_IOE_USART_BAUD=115200 \ |