aboutsummaryrefslogtreecommitdiff
path: root/examples/usartecho/makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-03-08 16:10:33 +0100
committerKarel Kočí <cynerd@email.cz>2016-03-08 16:10:33 +0100
commit5d29fe79d30f430ae326d9dc57ccfaed6fe61328 (patch)
tree8341804d561c0060176cbebc3f9a57c7c07f7816 /examples/usartecho/makefile
parent4e773191d447ac434536262a6f204dd991d4ad77 (diff)
downloadavr-ioe-5d29fe79d30f430ae326d9dc57ccfaed6fe61328.tar.gz
avr-ioe-5d29fe79d30f430ae326d9dc57ccfaed6fe61328.tar.bz2
avr-ioe-5d29fe79d30f430ae326d9dc57ccfaed6fe61328.zip
Another full update of current work
Diffstat (limited to 'examples/usartecho/makefile')
-rw-r--r--examples/usartecho/makefile36
1 files changed, 0 insertions, 36 deletions
diff --git a/examples/usartecho/makefile b/examples/usartecho/makefile
deleted file mode 100644
index 15254c6..0000000
--- a/examples/usartecho/makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-MAKEFLAGS += --no-builtin-rules
-
-MMCU = atmega328p
-F_CPU = 16000000L
-IOE_PREFIX = ../..
-IOE_SHORTOUTPUT=y
-IOE_CFLAGS = -Os -fshort-enums -Wall \
- -DF_CPU=$(F_CPU) -mmcu=$(MMCU) \
- -DCONFIG_IOE_USART \
- -DCONFIG_IOE_USART_OUTBUFFER_SIZE=64 \
- -DCONFIG_IOE_USART_OUTBUFFER_MODE=0 \
- -DCONFIG_IOE_USART_BAUD=115200 \
- -DCONFIG_IOE_USART_PARITY=USART_PARITY_NONE \
- -DCONFIG_IOE_USART_STOPBIT=USART_STOPBIT_SINGLE \
- -DCONFIG_IOE_USART_DATABITS=8
-
-all: usart.hex
- @echo Now you can flash usart.hex to your chip.
-
-clean: ioeclean
- $(RM) echo.o
- $(RM) usart.elf usart.hex
-
-include ../../avr-ioe.mk
-
-usart.elf: %.elf: $(IOE_OBJ) echo.o
- @echo " LD $@"
- @avr-gcc -Os -mmcu=$(MMCU) $^ -o $@
-
-usart.hex: %.hex: %.elf
- @echo " OBJCOPY $@"
- @avr-objcopy -O ihex -R .eeprom $< $@
-
-echo.o: %.o: %.c
- @echo " CC $@"
- @avr-gcc $(IOE_CFLAGS) -c -o $@ $<