mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 06:11:35 +08:00
Add common Toolchain.defs for AVR/AVR32; Add Toolchain.defs for ARM; Add more toolchain options (from Mike); incdir.sh and .bat now take -s option
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5384 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -112,7 +112,7 @@ PA17 and PA23 are avaiable from the AVR32DEV1:
|
||||
Development Environment
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Either Linux or Cygwin on Windows can be used for the development environment.
|
||||
Linux, Mac OS X or Cygwin on Windows can be used for the development environment.
|
||||
The source has been built only using the GNU toolchain (see below). Other
|
||||
toolchains will likely cause problems. Testing was performed using the Cygwin
|
||||
environment.
|
||||
@@ -140,6 +140,16 @@ WinAVR:
|
||||
AVR32 toolchain as well as the AVR toolchain and various support
|
||||
libraries and header files.
|
||||
|
||||
AVR32 Toolchain Builder:
|
||||
|
||||
A third option is to build the toolchain yourself. For OS X and Linux systems,
|
||||
this Makefile will build a complete gcc-4.4.3 toolchain:
|
||||
|
||||
https://github.com/jsnyder/avr32-toolchain
|
||||
|
||||
By default the toolchain installs into ${HOME}/avr-32-tools-<somedate> and
|
||||
the bin subdirectory must be added to your path before compiling.
|
||||
|
||||
IDEs
|
||||
^^^^
|
||||
|
||||
|
||||
@@ -35,20 +35,7 @@
|
||||
|
||||
include ${TOPDIR}/.config
|
||||
include ${TOPDIR}/tools/Config.mk
|
||||
|
||||
# Setup for the selected toolchain
|
||||
|
||||
ifeq ($(CONFIG_AVR32_AVRTOOLSW),y)
|
||||
# AVR Tools under Windows
|
||||
CROSSDEV = avr32-
|
||||
WINTOOL = y
|
||||
ARCHCPUFLAGS = -mpart=uc3b0256
|
||||
endif
|
||||
ifeq ($(CONFIG_AVR32_AVRTOOLSL),y)
|
||||
# AVR Tools under Linux
|
||||
CROSSDEV = avr32-
|
||||
ARCHCPUFLAGS = -mpart=uc3b0256
|
||||
endif
|
||||
include ${TOPDIR}/arch/avr/src/avr32/Toolchain.defs
|
||||
|
||||
ifeq ($(WINTOOL),y)
|
||||
# Windows-native toolchains
|
||||
|
||||
Reference in New Issue
Block a user