Line | |
---|
1 | 1- Prerequesites
|
---|
2 |
|
---|
3 | ARM GCC toolchain from https://launchpad.net/gcc-arm-embedded/+download
|
---|
4 |
|
---|
5 | *Windows only*
|
---|
6 |
|
---|
7 | GNU Make from http://gnuwin32.sourceforge.net/packages/make.htm
|
---|
8 | Binaries http://gnuwin32.sourceforge.net/downlinks/make-bin-zip.php
|
---|
9 | Dependencies http://gnuwin32.sourceforge.net/downlinks/make-dep-zip.php
|
---|
10 |
|
---|
11 | GNU rm from http://gnuwin32.sourceforge.net/packages/coreutils.htm
|
---|
12 | Binaries http://gnuwin32.sourceforge.net/downlinks/coreutils-bin-zip.php
|
---|
13 |
|
---|
14 | *MacOS*
|
---|
15 |
|
---|
16 | *Linux*
|
---|
17 |
|
---|
18 |
|
---|
19 | 2- Path to GCC ARM toolchain and Make
|
---|
20 |
|
---|
21 | Set into environment variables the ARM_GCC_TOOLCHAIN variable:
|
---|
22 | ex:
|
---|
23 | ARM_GCC_TOOLCHAIN=C:\GNU Tools ARM Embedded_4.8 2013q4\bin
|
---|
24 |
|
---|
25 | Add to PATH the path were Make has been installed
|
---|
26 |
|
---|
27 | 3- Compile test application
|
---|
28 |
|
---|
29 | Go to hardware/arduino/samd/cores/arduino/validation/build_gcc
|
---|
30 |
|
---|
31 | run the command: 'make'
|
---|
32 |
|
---|
33 | This will compile the test application and deliver the binary into:
|
---|
34 |
|
---|
35 | hardware/arduino/samd/cores/arduino/validation/debug_arduino_zero/test_gcc_dbg.elf
|
---|
36 | hardware/arduino/samd/cores/arduino/validation/debug_arduino_zero/test_gcc_dbg.bin
|
---|
37 | hardware/arduino/samd/cores/arduino/validation/debug_arduino_zero/test_gcc_dbg.map (mapping matching linker script)
|
---|
38 | hardware/arduino/samd/cores/arduino/validation/debug_arduino_zero/test_gcc_dbg.elf.txt (result of nm)
|
---|
39 |
|
---|
40 |
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.