Subversion Repositories Projects

Rev

Rev 2007 | Go to most recent revision | Details | Last modification | View Log | RSS feed

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