Subversion Repositories Projects

Rev

Rev 2006 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2006 Rev 2007
Line 1... Line 1...
1
@echo off
1
@echo off
-
 
2
copy makefile makefile.bak
-
 
3
copy main.h main.h.bak
2
sed s/"^MCU = atmega1284p"/"#MCU = atmega1284p"/g makefile | sed s/"^MCU = atmega644p"/"#MCU = atmega644p"/g > makefile.orig
4
sed s/"^MCU = atmega1284p"/"#MCU = atmega1284p"/g makefile | sed s/"^MCU = atmega644p"/"#MCU = atmega644p"/g > makefile.orig
3
copy main.h main.h.orig
5
copy main.h main.h.orig
4
md Hex-Files
6
md Hex-Files
Line 5... Line 7...
5
 
7
 
Line 34... Line 36...
34
make
36
make
35
ren *_SVN.hex *_DX8Patched.hex
37
ren *_SVN.hex *_DX8Patched.hex
36
move *.hex Hex-Files
38
move *.hex Hex-Files
Line 37... Line 39...
37
 
39
 
-
 
40
make clean
-
 
41
del makefile.orig
-
 
42
del main.h.orig
-
 
43
del makefile
-
 
44
del main.h
-
 
45
ren makefile.bak makefile