Subversion Repositories Projects

Rev

Rev 2007 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2006 - 1
@echo off
2008 - 2
 
3
REM Backup
4
make clean
2007 - 5
copy makefile makefile.bak
6
copy main.h main.h.bak
2006 - 7
md Hex-Files
8
 
9
REM DX7-644
2008 - 10
sed s/"^MCU = atmega1284p"/"#MCU = atmega1284p"/g makefile.bak | sed s/"^MCU = atmega644p"/"#MCU = atmega644p"/g | sed s/"#MCU = atmega644p"/"MCU = atmega644p"/g > makefile
11
sed s/"\/\/#define RECEIVER_SPEKTRUM_DX7EXP"/"#define RECEIVER_SPEKTRUM_DX7EXP"/g main.h.bak > main.h
2006 - 12
make
13
ren *_SVN.hex *_DX7Patched.hex
14
move *.hex Hex-Files
2008 - 15
make clean
2006 - 16
 
17
REM DX8-644
2008 - 18
sed s/"^MCU = atmega1284p"/"#MCU = atmega1284p"/g makefile.bak | sed s/"^MCU = atmega644p"/"#MCU = atmega644p"/g | sed s/"#MCU = atmega644p"/"MCU = atmega644p"/g > makefile
19
sed s/"\/\/#define RECEIVER_SPEKTRUM_DX8EXP"/"#define RECEIVER_SPEKTRUM_DX8EXP"/g main.h.bak > main.h
2006 - 20
make
21
ren *_SVN.hex *_DX8Patched.hex
22
move *.hex Hex-Files
2008 - 23
make clean
2006 - 24
 
25
REM DX7-1284
2008 - 26
sed s/"^MCU = atmega1284p"/"#MCU = atmega1284p"/g makefile.bak | sed s/"^MCU = atmega644p"/"#MCU = atmega644p"/g | sed s/"#MCU = atmega1284p"/"MCU = atmega1284p"/g > makefile
27
sed s/"\/\/#define RECEIVER_SPEKTRUM_DX7EXP"/"#define RECEIVER_SPEKTRUM_DX7EXP"/g main.h.bak > main.h
2006 - 28
make
29
ren *_SVN.hex *_DX7Patched.hex
30
move *.hex Hex-Files
2008 - 31
make clean
2006 - 32
 
33
REM DX8-1284
2008 - 34
sed s/"^MCU = atmega1284p"/"#MCU = atmega1284p"/g makefile.bak | sed s/"^MCU = atmega644p"/"#MCU = atmega644p"/g | sed s/"#MCU = atmega1284p"/"MCU = atmega1284p"/g > makefile
35
sed s/"\/\/#define RECEIVER_SPEKTRUM_DX8EXP"/"#define RECEIVER_SPEKTRUM_DX8EXP"/g main.h.bak > main.h
2006 - 36
make
37
ren *_SVN.hex *_DX8Patched.hex
38
move *.hex Hex-Files
2008 - 39
make clean
2006 - 40
 
2008 - 41
REM Cleanup
2007 - 42
del makefile
2008 - 43
ren makefile.bak makefile
2007 - 44
del main.h
45
ren main.h.bak main.h