From 8fa9db4244f4ee33aa47561c569edfa62fe37928 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Sun, 11 Oct 2015 23:21:07 +0200
Subject: Fixes in USART and changes in ave-ioe.mk

---
 examples/usartecho/makefile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'examples/usartecho')

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 \
-- 
cgit v1.2.3