-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME-OSX
47 lines (30 loc) · 1.31 KB
/
README-OSX
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
The script util/build-osx.sh should download dependencies and
build the deviation emu on Mac OS X. An Xcode installation is required.
Alternatively fetch fltk:
port install fltk-devel
and build the emulator with:
make TARGET=emu-devo8
To create a cross-compile environment, get summon-arm-toolchain from github:
git clone https://github.com/esden/summon-arm-toolchain.git
and patch it:
patch -p0 < utils/summon-arm-toolchain.patch summon-arm-toolchain
You will need macports and the following build-dependencies as well (these
instructions can also be found in the summon-arm-toolchain README
port install gmp mpfr libmpc wget libftdi
You may need to update DARWIN_OPT_PATH in summon_arm_toolchain to point at
/opt/local if you used macports as above
Then create a directory /usr/local/arm-none-eabi and chown it to the
user you're compiling the toolchain with. Then run the patched
summon-arm-toolchain and wait.
To build deviation, extend your PATH:
export PATH=$PATH:/usr/local/arm-none-eabi-gcc/bin
and run make inside the src directory.
To flash the firmware to your Tx (no warranties here!), grab libusb from
http://www.libusb.org/wiki/libusb-1.0 and dfu-util from
http://dfu-util.gnumonks.org/.
Unpack, compile and install both with
./configure
make
sudo make install
Flash devo8.dfu with
dfu-util -a 0 -D devo8.dfu