From 75a61c57fb0402f777bfa828dd71818a97ed54a4 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sun, 1 Apr 2012 00:20:25 +0200 Subject: original dcf77 C code --- ac.bat | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ac.bat (limited to 'ac.bat') diff --git a/ac.bat b/ac.bat new file mode 100644 index 0000000..122be97 --- /dev/null +++ b/ac.bat @@ -0,0 +1,25 @@ +@echo off +set platz= +set platz1= + +:set mcu=90s2313 +set mcu=tiny26 +:set mcu=mega8 +set main=test + +set ac=c:\avr\winavr +path %ac%\bin;%path% +avr-gcc.exe -xc -Os -mmcu=at%mcu% -Wall -g -o main.out *.c >l +if not exist main.out goto end +cmd /c avr-objdump.exe -t -h -S main.out >%main%.lst +cmd /c avr-objcopy.exe -O ihex main.out %main%.hex +avr-size.exe -B main.out +del main.out +goto end + +::pause +call pf.bat %main% +::if errorlevel 1 goto end +::pause +::l -b19200 -i- -c1 +:end -- cgit v1.2.1