-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
115 lines (98 loc) · 4.89 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
What's this?
This is a fork of Deviation with some UI modifications aimed at B&W screens, such as Devo 10 and Devo 7E.
Some features:
- default to more lines per screen
- buttons & spin selects shape changed from rounded rectangle to underline only
- some more screen elements are (re)movable, such as protocol
- misc alignment fixes here and there
- English strings changed where better alternatives were available (ex: PwrOn Alarm -> Idle Alert, etc)
---- 8< -----
You an find information about nightly builds and team deviationTx development on the team devaitionTx wik: https://bitbucket.org/deviationtx/deviation/wiki/Home
Bugs can be reported and features requested at http://deviationtx.com/mantisbt/
There are multiple targets available for building the Deviation firmware:
devo8: This is the default target for the Walkera Devention 'DEVO8' transmitter
It requires the gnu arm toolchain including gcc, and newlib
To build, use:
make
emu_devo8: This will build on the native platform (no cross-compiler needed)
The main purpose of this target is to facilitate GUI development.
This target requires FLTK to be installed. See below for
installing build enviornments
For Linux:
make TARGET=emu_devo8
For Windows:
make TARGET=emu_devo8 WINDOWS=1
Cross-compile for Windows on Linux:
make TARGET=emu_devo8 WINDOWS=1 CROSS=i586-mingw32msvc-
the default target is 'devo8'
Installing the build environment:
#################################
Only the official embedded-arm build system is supported now
Get the most recent release from here:
https://launchpad.net/gcc-arm-embedded
Current build version: gcc-arm-none-eabi-4_8-2013q4-20131204
#################################
Building for ARM (on Linux):
1) download and install the precompiled linux compiler from here:
https://launchpad.net/gcc-arm-embedded
2) Add path to 'bin' directory to your PATH
Building for ARM (on Windows):
Install the arm toolchain:
1) download and install the precompiled windows compiler from here:
https://launchpad.net/gcc-arm-embedded
1a) add path to 'bin' directory to your PATH (I like to put this into ~/.profile
so it is there each time I start msys)
export PATH=/mingw/stm32/bin:$PATH
2) ensure python is installed. If not install it from here:
http://www.python.org/download/releases/2.7.3/
2a) Add python to your msys path:
export PATH="/c/<path to python>":$PATH
(e.g. export PATH="/c/Program Files/Python27":$PATH)
#################################
#################################
Builing the Windows binary on Linux
Install fltk:
apt-get install mingw32 mingw32-binutils mingw32-runtime
<Download and unpack fltk source code>
./configure --disable-largefile --enable-localjpeg \
--enable-localzlib --enable-localpng \
--disable-gl --host=i586-mingw32msvc \
--prefix=/opt/fltk-w32
make
sudo make install
Install portaudio:
<Download and unpack portaudio source code>
./configure --prefix=/opt/portaudio-w32
make
sudo make install
#################################
#################################
Building the Windows binary on Windows
#################################
Install MingW:
* Download the mingw installer as per: http://www.mingw.org/wiki/Getting_Started
* Run the installer, and select 'C++', 'MSYS' and the 'Developer Toolkit'
Install fltk:
* Download fltk from here: http://fltk.org/software.php?VERSION=1.3.0&FILE=fltk/1.3.0/fltk-1.3.0-source.tar.gz
* Start msys (you should have an icon, but otherwise run C:\MingW\msys\1.0\msys.bat
* mkdir src
* cd src
* Untar fltk: tar -xzf <path to fltk download> (you can get to your C: drive in mingw using /c/Users/<user>/Downloads for example)
* cd fltk-1.3.0
* ./configure
* make
* make install
Install portaudio:
* Download portaudio from here: http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
* Start msys (you should have an icon, but otherwise run C:\MingW\msys\1.0\msys.bat
* cd src
* Untar portaudio: tar -xzf <path to portaudio download> (you can get to your C: drive in mingw using /c/Users/<user>/Downloads for example)
* cd portaudio
* ./configure
* make
* make install
Install Deviation:
* Download the source code for deviation. You'll need mercurial to keep track of changes (which will require installing python), but you can manually download a zip of the source from bitbucket.org/PhracturedBlue/deviation
* cd ~/src
* cp -pf <path to deviation src code> deviation
* cd deviation/src