source: rtos_arduino/trunk/arduino_lib/hardware/arduino/samd/cores/arduino/HOWTO_compiling_a_project_with_GCC.txt@ 136

Last change on this file since 136 was 136, checked in by ertl-honda, 8 years ago

ライブラリとOS及びベーシックなサンプルの追加.

File size: 1.2 KB
Line 
11- Prerequesites
2
3ARM GCC toolchain from https://launchpad.net/gcc-arm-embedded/+download
4
5*Windows only*
6
7GNU 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
11GNU 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
192- Path to GCC ARM toolchain and Make
20
21Set into environment variables the ARM_GCC_TOOLCHAIN variable:
22ex:
23ARM_GCC_TOOLCHAIN=C:\GNU Tools ARM Embedded_4.8 2013q4\bin
24
25Add to PATH the path were Make has been installed
26
273- Compile test application
28
29Go to hardware/arduino/samd/cores/arduino/validation/build_gcc
30
31run the command: 'make'
32
33This will compile the test application and deliver the binary into:
34
35hardware/arduino/samd/cores/arduino/validation/debug_arduino_zero/test_gcc_dbg.elf
36hardware/arduino/samd/cores/arduino/validation/debug_arduino_zero/test_gcc_dbg.bin
37hardware/arduino/samd/cores/arduino/validation/debug_arduino_zero/test_gcc_dbg.map (mapping matching linker script)
38hardware/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.