forked from Archive/PX4-Autopilot
Add buildroot support for binutils-2.22 and gcc-4.6.3; all buildroot tools are not called abc-nuttx-elf instead of abc-elf
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5213 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
eb041b927a
commit
1e36879126
|
@ -115,5 +115,8 @@ buildroot-1.11 2011-xx-xx <gnutt@nuttx.org>
|
||||||
- there is some assembler error when compiling gcc for arm, gcc bugzilla
|
- there is some assembler error when compiling gcc for arm, gcc bugzilla
|
||||||
43999
|
43999
|
||||||
- you can't build nuttx for cortex m3/m4 because of a missing instruction
|
- you can't build nuttx for cortex m3/m4 because of a missing instruction
|
||||||
in ethe assembler, binutils bugzilla 12296
|
in the assembler, binutils bugzilla 12296
|
||||||
|
* Add support for binutils 2.22 and GCC 4.6.3.
|
||||||
|
* Change name of all tools from xxx-elf to xxx-nuttx-elf
|
||||||
|
* Added an ARM EABI GCC 4.6.3 configuration (tool name is arm-nuttx-eabi-).
|
||||||
|
|
||||||
|
|
|
@ -343,7 +343,8 @@ config BR2_GNU_BUILD_SUFFIX
|
||||||
|
|
||||||
config BR2_GNU_TARGET_SUFFIX
|
config BR2_GNU_TARGET_SUFFIX
|
||||||
string "GNU target suffix"
|
string "GNU target suffix"
|
||||||
default "elf"
|
default "nuttx-elf" if !BR2_ARM_EABI
|
||||||
|
default "nuttx-eabi" if BR2_ARM_EABI
|
||||||
help
|
help
|
||||||
The string used to pass to configure scripts via the
|
The string used to pass to configure scripts via the
|
||||||
--target= option. Just specify the suffix here, the leading
|
--target= option. Just specify the suffix here, the leading
|
||||||
|
|
|
@ -58,7 +58,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -60,7 +60,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -60,7 +60,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -60,7 +60,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -61,7 +61,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -60,7 +60,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -60,7 +60,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="arm-elf"
|
BR2_GNU_BUILD_SUFFIX="arm-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
# BR2_DEPRECATED is not set
|
# BR2_DEPRECATED is not set
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="arm-elf"
|
BR2_GNU_BUILD_SUFFIX="arm-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
# BR2_DEPRECATED is not set
|
# BR2_DEPRECATED is not set
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -41,7 +41,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -40,7 +40,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -60,7 +60,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -60,7 +60,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -0,0 +1,123 @@
|
||||||
|
#
|
||||||
|
# Automatically generated make config: don't edit
|
||||||
|
#
|
||||||
|
BR2_HAVE_DOT_CONFIG=y
|
||||||
|
# BR2_alpha is not set
|
||||||
|
BR2_arm=y
|
||||||
|
# BR2_armeb is not set
|
||||||
|
# BR2_avr is not set
|
||||||
|
# BR2_avr32 is not set
|
||||||
|
# BR2_bfin is not set
|
||||||
|
# BR2_cris is not set
|
||||||
|
# BR2_i386 is not set
|
||||||
|
# BR2_m32c is not set
|
||||||
|
# BR2_m68k is not set
|
||||||
|
# BR2_m68hc11 is not set
|
||||||
|
# BR2_m68hc12 is not set
|
||||||
|
# BR2_m9s12x is not set
|
||||||
|
# BR2_mips is not set
|
||||||
|
# BR2_mipsel is not set
|
||||||
|
# BR2_nios2 is not set
|
||||||
|
# BR2_powerpc is not set
|
||||||
|
# BR2_sh is not set
|
||||||
|
# BR2_sh64 is not set
|
||||||
|
# BR2_h8300 is not set
|
||||||
|
# BR2_sparc is not set
|
||||||
|
# BR2_x86_64 is not set
|
||||||
|
# BR2_generic_arm is not set
|
||||||
|
# BR2_arm610 is not set
|
||||||
|
# BR2_arm7tdmi is not set
|
||||||
|
# BR2_arm710 is not set
|
||||||
|
# BR2_arm720t is not set
|
||||||
|
# BR2_arm740t is not set
|
||||||
|
# BR2_arm920t is not set
|
||||||
|
# BR2_arm922t is not set
|
||||||
|
# BR2_arm926t is not set
|
||||||
|
# BR2_arm1136jf_s is not set
|
||||||
|
BR2_cortex_m3=y
|
||||||
|
# BR2_sa110 is not set
|
||||||
|
# BR2_sa1100 is not set
|
||||||
|
# BR2_xscale is not set
|
||||||
|
# BR2_iwmmxt is not set
|
||||||
|
# BR2_ARM_OABI is not set
|
||||||
|
BR2_ARM_EABI=y
|
||||||
|
BR2_ARCH="arm"
|
||||||
|
BR2_GCC_TARGET_TUNE="cortex-m3"
|
||||||
|
BR2_GCC_TARGET_ARCH="armv7-m"
|
||||||
|
BR2_GCC_TARGET_ABI="aapcs-linux"
|
||||||
|
BR2_ENDIAN="LITTLE"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build options
|
||||||
|
#
|
||||||
|
BR2_WGET="wget --passive-ftp"
|
||||||
|
BR2_SVN="svn co"
|
||||||
|
BR2_ZCAT="zcat"
|
||||||
|
BR2_BZCAT="bzcat"
|
||||||
|
BR2_TAR_OPTIONS=""
|
||||||
|
BR2_DL_DIR="$(BASE_DIR)/../archives"
|
||||||
|
BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
|
||||||
|
BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
|
BR2_TOPDIR_PREFIX=""
|
||||||
|
BR2_TOPDIR_SUFFIX=""
|
||||||
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
|
BR2_GNU_TARGET_SUFFIX="nuttx-eabi"
|
||||||
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Toolchain Options
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Binutils Options
|
||||||
|
#
|
||||||
|
# BR2_BINUTILS_VERSION_2_17 is not set
|
||||||
|
# BR2_BINUTILS_VERSION_2_18 is not set
|
||||||
|
# BR2_BINUTILS_VERSION_2_19 is not set
|
||||||
|
# BR2_BINUTILS_VERSION_2_19_1 is not set
|
||||||
|
# BR2_BINUTILS_VERSION_2_21_1 is not set
|
||||||
|
BR2_BINUTILS_VERSION_2_22=y
|
||||||
|
BR2_BINUTILS_VERSION="2.22"
|
||||||
|
BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
|
||||||
|
|
||||||
|
#
|
||||||
|
# GCC Options
|
||||||
|
#
|
||||||
|
BR2_PACKAGE_GCC=y
|
||||||
|
# BR2_GCC_VERSION_3_3_6 is not set
|
||||||
|
# BR2_GCC_VERSION_3_4_6 is not set
|
||||||
|
# BR2_GCC_VERSION_4_2_4 is not set
|
||||||
|
# BR2_GCC_VERSION_4_3_3 is not set
|
||||||
|
# BR2_GCC_VERSION_4_5_2 is not set
|
||||||
|
BR2_GCC_VERSION_4_6_3=y
|
||||||
|
BR2_GCC_SUPPORTS_SYSROOT=y
|
||||||
|
BR2_GCC_VERSION="4.6.3"
|
||||||
|
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||||
|
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||||
|
BR2_INSTALL_LIBSTDCPP=y
|
||||||
|
# BR2_INSTALL_LIBGCJ is not set
|
||||||
|
# BR2_INSTALL_OBJC is not set
|
||||||
|
# BR2_INSTALL_FORTRAN is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Gdb Options
|
||||||
|
#
|
||||||
|
# BR2_PACKAGE_GDB is not set
|
||||||
|
# BR2_PACKAGE_GDB_SERVER is not set
|
||||||
|
# BR2_PACKAGE_GDB_HOST is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# NuttX Binary Support
|
||||||
|
#
|
||||||
|
BR2_PACKAGE_NXFLAT=y
|
||||||
|
BR2_PACKAGE_GENROMFS=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# Common Toolchain Options
|
||||||
|
#
|
||||||
|
# BR2_PACKAGE_SSTRIP_TARGET is not set
|
||||||
|
# BR2_PACKAGE_SSTRIP_HOST is not set
|
||||||
|
# BR2_ENABLE_MULTILIB is not set
|
||||||
|
BR2_LARGEFILE=y
|
||||||
|
BR2_SOFT_FLOAT=y
|
||||||
|
BR2_TARGET_OPTIMIZATION="-Os -pipe"
|
|
@ -40,7 +40,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -47,7 +47,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -40,7 +40,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -40,7 +40,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -40,7 +40,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -40,7 +40,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -40,7 +40,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -40,7 +40,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -41,7 +41,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -47,7 +47,7 @@ BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx"
|
||||||
BR2_TOPDIR_PREFIX=""
|
BR2_TOPDIR_PREFIX=""
|
||||||
BR2_TOPDIR_SUFFIX=""
|
BR2_TOPDIR_SUFFIX=""
|
||||||
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
BR2_GNU_BUILD_SUFFIX="pc-elf"
|
||||||
BR2_GNU_TARGET_SUFFIX="elf"
|
BR2_GNU_TARGET_SUFFIX="nuttx-elf"
|
||||||
# BR2_PREFER_IMA is not set
|
# BR2_PREFER_IMA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines
|
||||||
|
|
||||||
|
Likewise, binutils has no idea about any of these new targets either, so we
|
||||||
|
fix that up too.. now we're able to actually build a real toolchain for
|
||||||
|
sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more
|
||||||
|
inept targets than that one, really. Go look, I promise).
|
||||||
|
|
||||||
|
--- a/configure
|
||||||
|
+++ b/configure
|
||||||
|
@@ -1495,7 +1495,7 @@
|
||||||
|
mips*-*-*)
|
||||||
|
noconfigdirs="$noconfigdirs gprof"
|
||||||
|
;;
|
||||||
|
- sh-*-* | sh64-*-*)
|
||||||
|
+ sh*-*-* | sh64-*-*)
|
||||||
|
case "${target}" in
|
||||||
|
sh*-*-elf)
|
||||||
|
;;
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -712,7 +712,7 @@
|
||||||
|
mips*-*-*)
|
||||||
|
noconfigdirs="$noconfigdirs gprof"
|
||||||
|
;;
|
||||||
|
- sh-*-* | sh64-*-*)
|
||||||
|
+ sh*-*-* | sh64-*-*)
|
||||||
|
case "${target}" in
|
||||||
|
sh*-*-elf)
|
||||||
|
;;
|
|
@ -0,0 +1,24 @@
|
||||||
|
diff -u binutils-2.17.50.0.17.oorig/ld/Makefile.am binutils-2.17.50.0.17/ld/Makefile.am
|
||||||
|
--- binutils-2.17.50.0.17.oorig/ld/Makefile.am 2007-06-18 19:29:29.000000000 +0200
|
||||||
|
+++ binutils-2.17.50.0.17/ld/Makefile.am 2007-06-25 10:00:36.000000000 +0200
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
# We put the scripts in the directory $(scriptdir)/ldscripts.
|
||||||
|
# We can't put the scripts in $(datadir) because the SEARCH_DIR
|
||||||
|
# directives need to be different for native and cross linkers.
|
||||||
|
-scriptdir = $(tooldir)/lib
|
||||||
|
+scriptdir = $(libdir)
|
||||||
|
|
||||||
|
EMUL = @EMUL@
|
||||||
|
EMULATION_OFILES = @EMULATION_OFILES@
|
||||||
|
diff -u binutils-2.17.50.0.17.oorig/ld/Makefile.in binutils-2.17.50.0.17/ld/Makefile.in
|
||||||
|
--- binutils-2.17.50.0.17.oorig/ld/Makefile.in 2007-06-18 19:29:29.000000000 +0200
|
||||||
|
+++ binutils-2.17.50.0.17/ld/Makefile.in 2007-06-25 10:00:36.000000000 +0200
|
||||||
|
@@ -287,7 +287,7 @@
|
||||||
|
# We put the scripts in the directory $(scriptdir)/ldscripts.
|
||||||
|
# We can't put the scripts in $(datadir) because the SEARCH_DIR
|
||||||
|
# directives need to be different for native and cross linkers.
|
||||||
|
-scriptdir = $(tooldir)/lib
|
||||||
|
+scriptdir = $(libdir)
|
||||||
|
BASEDIR = $(srcdir)/..
|
||||||
|
BFDDIR = $(BASEDIR)/bfd
|
||||||
|
INCDIR = $(BASEDIR)/include
|
|
@ -0,0 +1,21 @@
|
||||||
|
diff -Nura binutils-2.21.orig/ld/emultempl/elf32.em binutils-2.21/ld/emultempl/elf32.em
|
||||||
|
--- binutils-2.21.orig/ld/emultempl/elf32.em 2010-10-29 09:10:36.000000000 -0300
|
||||||
|
+++ binutils-2.21/ld/emultempl/elf32.em 2010-12-10 09:26:56.746102724 -0300
|
||||||
|
@@ -1270,6 +1270,8 @@
|
||||||
|
&& command_line.rpath == NULL)
|
||||||
|
{
|
||||||
|
lib_path = (const char *) getenv ("LD_RUN_PATH");
|
||||||
|
+ if ((lib_path) && (strlen (lib_path) == 0))
|
||||||
|
+ lib_path = NULL;
|
||||||
|
if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
|
||||||
|
force))
|
||||||
|
break;
|
||||||
|
@@ -1497,6 +1499,8 @@
|
||||||
|
rpath = command_line.rpath;
|
||||||
|
if (rpath == NULL)
|
||||||
|
rpath = (const char *) getenv ("LD_RUN_PATH");
|
||||||
|
+ if ((rpath) && (strlen (rpath) == 0))
|
||||||
|
+ rpath = NULL;
|
||||||
|
|
||||||
|
for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
|
||||||
|
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
|
|
@ -0,0 +1,80 @@
|
||||||
|
http://bugs.gentoo.org/392645
|
||||||
|
http://sourceware.org/bugzilla/show_bug.cgi?id=13470
|
||||||
|
|
||||||
|
2011-12-03 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
PR ld/13470
|
||||||
|
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Revert substantive
|
||||||
|
change in 2011-07-01 commit. Comment.
|
||||||
|
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
|
||||||
|
|
||||||
|
===================================================================
|
||||||
|
RCS file: /cvs/src/src/bfd/elf32-ppc.c,v
|
||||||
|
retrieving revision 1.302.2.1
|
||||||
|
retrieving revision 1.302.2.2
|
||||||
|
diff -u -r1.302.2.1 -r1.302.2.2
|
||||||
|
--- src/bfd/elf32-ppc.c 2011/11/15 11:36:52 1.302.2.1
|
||||||
|
+++ src/bfd/elf32-ppc.c 2011/12/03 00:58:01 1.302.2.2
|
||||||
|
@@ -2987,10 +2987,6 @@
|
||||||
|
edir->elf.needs_plt |= eind->elf.needs_plt;
|
||||||
|
edir->elf.pointer_equality_needed |= eind->elf.pointer_equality_needed;
|
||||||
|
|
||||||
|
- /* If we were called to copy over info for a weak sym, that's all. */
|
||||||
|
- if (eind->elf.root.type != bfd_link_hash_indirect)
|
||||||
|
- return;
|
||||||
|
-
|
||||||
|
if (eind->dyn_relocs != NULL)
|
||||||
|
{
|
||||||
|
if (edir->dyn_relocs != NULL)
|
||||||
|
@@ -3022,6 +3018,16 @@
|
||||||
|
eind->dyn_relocs = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ /* If we were called to copy over info for a weak sym, that's all.
|
||||||
|
+ You might think dyn_relocs need not be copied over; After all,
|
||||||
|
+ both syms will be dynamic or both non-dynamic so we're just
|
||||||
|
+ moving reloc accounting around. However, ELIMINATE_COPY_RELOCS
|
||||||
|
+ code in ppc_elf_adjust_dynamic_symbol needs to check for
|
||||||
|
+ dyn_relocs in read-only sections, and it does so on what is the
|
||||||
|
+ DIR sym here. */
|
||||||
|
+ if (eind->elf.root.type != bfd_link_hash_indirect)
|
||||||
|
+ return;
|
||||||
|
+
|
||||||
|
/* Copy over the GOT refcount entries that we may have already seen to
|
||||||
|
the symbol which just became indirect. */
|
||||||
|
edir->elf.got.refcount += eind->elf.got.refcount;
|
||||||
|
===================================================================
|
||||||
|
RCS file: /cvs/src/src/bfd/elf64-ppc.c,v
|
||||||
|
retrieving revision 1.363.2.4
|
||||||
|
retrieving revision 1.363.2.5
|
||||||
|
diff -u -r1.363.2.4 -r1.363.2.5
|
||||||
|
--- src/bfd/elf64-ppc.c 2011/11/08 13:46:36 1.363.2.4
|
||||||
|
+++ src/bfd/elf64-ppc.c 2011/12/03 00:58:02 1.363.2.5
|
||||||
|
@@ -4435,10 +4435,6 @@
|
||||||
|
edir->elf.ref_regular_nonweak |= eind->elf.ref_regular_nonweak;
|
||||||
|
edir->elf.needs_plt |= eind->elf.needs_plt;
|
||||||
|
|
||||||
|
- /* If we were called to copy over info for a weak sym, that's all. */
|
||||||
|
- if (eind->elf.root.type != bfd_link_hash_indirect)
|
||||||
|
- return;
|
||||||
|
-
|
||||||
|
/* Copy over any dynamic relocs we may have on the indirect sym. */
|
||||||
|
if (eind->dyn_relocs != NULL)
|
||||||
|
{
|
||||||
|
@@ -4471,6 +4467,16 @@
|
||||||
|
eind->dyn_relocs = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ /* If we were called to copy over info for a weak sym, that's all.
|
||||||
|
+ You might think dyn_relocs need not be copied over; After all,
|
||||||
|
+ both syms will be dynamic or both non-dynamic so we're just
|
||||||
|
+ moving reloc accounting around. However, ELIMINATE_COPY_RELOCS
|
||||||
|
+ code in ppc64_elf_adjust_dynamic_symbol needs to check for
|
||||||
|
+ dyn_relocs in read-only sections, and it does so on what is the
|
||||||
|
+ DIR sym here. */
|
||||||
|
+ if (eind->elf.root.type != bfd_link_hash_indirect)
|
||||||
|
+ return;
|
||||||
|
+
|
||||||
|
/* Copy over got entries that we may have already seen to the
|
||||||
|
symbol which just became indirect. */
|
||||||
|
if (eind->elf.got.glist != NULL)
|
|
@ -30,6 +30,10 @@ choice
|
||||||
config BR2_BINUTILS_VERSION_2_21_1
|
config BR2_BINUTILS_VERSION_2_21_1
|
||||||
depends !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
|
depends !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
|
||||||
bool "binutils 2.21.1"
|
bool "binutils 2.21.1"
|
||||||
|
|
||||||
|
config BR2_BINUTILS_VERSION_2_22
|
||||||
|
depends !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
|
||||||
|
bool "binutils 2.22"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_BINUTILS_VERSION
|
config BR2_BINUTILS_VERSION
|
||||||
|
@ -39,6 +43,7 @@ config BR2_BINUTILS_VERSION
|
||||||
default "2.19" if BR2_BINUTILS_VERSION_2_19
|
default "2.19" if BR2_BINUTILS_VERSION_2_19
|
||||||
default "2.19.1" if BR2_BINUTILS_VERSION_2_19_1
|
default "2.19.1" if BR2_BINUTILS_VERSION_2_19_1
|
||||||
default "2.21.1" if BR2_BINUTILS_VERSION_2_21_1
|
default "2.21.1" if BR2_BINUTILS_VERSION_2_21_1
|
||||||
|
default "2.22" if BR2_BINUTILS_VERSION_2_22
|
||||||
|
|
||||||
config BR2_EXTRA_BINUTILS_CONFIG_OPTIONS
|
config BR2_EXTRA_BINUTILS_CONFIG_OPTIONS
|
||||||
string "Additional binutils options"
|
string "Additional binutils options"
|
||||||
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
Index: gcc-4.2/libmudflap/mf-hooks2.c
|
||||||
|
===================================================================
|
||||||
|
--- gcc-4.2/libmudflap/mf-hooks2.c (revision 119834)
|
||||||
|
+++ gcc-4.2/libmudflap/mf-hooks2.c (working copy)
|
||||||
|
@@ -427,7 +427,7 @@
|
||||||
|
{
|
||||||
|
TRACE ("%s\n", __PRETTY_FUNCTION__);
|
||||||
|
MF_VALIDATE_EXTENT(s, n, __MF_CHECK_WRITE, "bzero region");
|
||||||
|
- bzero (s, n);
|
||||||
|
+ memset (s, 0, n);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -437,7 +437,7 @@
|
||||||
|
TRACE ("%s\n", __PRETTY_FUNCTION__);
|
||||||
|
MF_VALIDATE_EXTENT(src, n, __MF_CHECK_READ, "bcopy src");
|
||||||
|
MF_VALIDATE_EXTENT(dest, n, __MF_CHECK_WRITE, "bcopy dest");
|
||||||
|
- bcopy (src, dest, n);
|
||||||
|
+ memmove (dest, src, n);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -447,7 +447,7 @@
|
||||||
|
TRACE ("%s\n", __PRETTY_FUNCTION__);
|
||||||
|
MF_VALIDATE_EXTENT(s1, n, __MF_CHECK_READ, "bcmp 1st arg");
|
||||||
|
MF_VALIDATE_EXTENT(s2, n, __MF_CHECK_READ, "bcmp 2nd arg");
|
||||||
|
- return bcmp (s1, s2, n);
|
||||||
|
+ return n == 0 ? 0 : memcmp (s1, s2, n);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -456,7 +456,7 @@
|
||||||
|
size_t n = strlen (s);
|
||||||
|
TRACE ("%s\n", __PRETTY_FUNCTION__);
|
||||||
|
MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "index region");
|
||||||
|
- return index (s, c);
|
||||||
|
+ return strchr (s, c);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -465,7 +465,7 @@
|
||||||
|
size_t n = strlen (s);
|
||||||
|
TRACE ("%s\n", __PRETTY_FUNCTION__);
|
||||||
|
MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "rindex region");
|
||||||
|
- return rindex (s, c);
|
||||||
|
+ return strrchr (s, c);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* XXX: stpcpy, memccpy */
|
|
@ -0,0 +1,38 @@
|
||||||
|
[PATCH] add the correct symbols to libgcc for uclibc arm softfloat
|
||||||
|
|
||||||
|
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||||
|
---
|
||||||
|
gcc/config/arm/linux-elf.h | 2 +-
|
||||||
|
gcc/config/arm/t-linux | 6 +++++-
|
||||||
|
2 files changed, 6 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
Index: gcc-4.4.0/gcc/config/arm/t-linux
|
||||||
|
===================================================================
|
||||||
|
--- gcc-4.4.0.orig/gcc/config/arm/t-linux
|
||||||
|
+++ gcc-4.4.0/gcc/config/arm/t-linux
|
||||||
|
@@ -4,7 +4,11 @@
|
||||||
|
|
||||||
|
LIB1ASMSRC = arm/lib1funcs.asm
|
||||||
|
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
|
||||||
|
- _arm_addsubdf3 _arm_addsubsf3
|
||||||
|
+ _arm_addsubdf3 _arm_addsubsf3 \
|
||||||
|
+ _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
|
||||||
|
+ _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
|
||||||
|
+ _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
|
||||||
|
+ _arm_fixsfsi _arm_fixunssfsi
|
||||||
|
|
||||||
|
# MULTILIB_OPTIONS = mhard-float/msoft-float
|
||||||
|
# MULTILIB_DIRNAMES = hard-float soft-float
|
||||||
|
Index: gcc-4.4.0/gcc/config/arm/linux-elf.h
|
||||||
|
===================================================================
|
||||||
|
--- gcc-4.4.0.orig/gcc/config/arm/linux-elf.h
|
||||||
|
+++ gcc-4.4.0/gcc/config/arm/linux-elf.h
|
||||||
|
@@ -60,7 +60,7 @@
|
||||||
|
%{shared:-lc} \
|
||||||
|
%{!shared:%{profile:-lc_p}%{!profile:-lc}}"
|
||||||
|
|
||||||
|
-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
|
||||||
|
+#define LIBGCC_SPEC "-lgcc"
|
||||||
|
|
||||||
|
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
|
||||||
|
|
||||||
|
diff -Nura gcc-4.5.1.orig/gcc/config/arm/linux-eabi.h gcc-4.5.1/gcc/config/arm/linux-eabi.h
|
||||||
|
--- gcc-4.5.1.orig/gcc/config/arm/linux-eabi.h 2009-10-30 17:03:09.000000000 -0300
|
||||||
|
+++ gcc-4.5.1/gcc/config/arm/linux-eabi.h 2010-11-02 15:38:25.792208500 -0300
|
||||||
|
@@ -44,7 +44,7 @@
|
||||||
|
The ARM10TDMI core is the default for armv5t, so set
|
||||||
|
SUBTARGET_CPU_DEFAULT to achieve this. */
|
||||||
|
#undef SUBTARGET_CPU_DEFAULT
|
||||||
|
-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
|
||||||
|
+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
|
||||||
|
|
||||||
|
/* TARGET_BIG_ENDIAN_DEFAULT is set in
|
||||||
|
config.gcc for big endian configurations. */
|
|
@ -0,0 +1,13 @@
|
||||||
|
--- gcc-4.5.2/configure.orig 2011-04-28 17:25:37.091035400 -0600
|
||||||
|
+++ gcc-4.5.2/configure 2011-04-28 17:26:26.868332200 -0600
|
||||||
|
@@ -3741,6 +3741,10 @@
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
+# If we are building against NuttX, then don't attempt to build libstdc++
|
||||||
|
+# (should be conditioned on --with-nuttx)
|
||||||
|
+noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3"
|
||||||
|
+
|
||||||
|
# If we aren't building newlib, then don't build libgloss, since libgloss
|
||||||
|
# depends upon some newlib header files.
|
||||||
|
case "${noconfigdirs}" in
|
|
@ -0,0 +1,125 @@
|
||||||
|
http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00269.html
|
||||||
|
|
||||||
|
On glibc the libc.so carries a copy of the math function copysignl() but
|
||||||
|
on uClibc math functions like copysignl() live in libm. Since libgcc_s
|
||||||
|
contains unresolved symbols, any attempt to link against libgcc_s
|
||||||
|
without explicitely specifying -lm fails, resulting in a broken
|
||||||
|
bootstrap of the compiler.
|
||||||
|
|
||||||
|
Forward port to gcc 4.5.1 by Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||||
|
|
||||||
|
diff -Nura gcc-4.5.1.orig/gcc/config/t-slibgcc-elf-ver gcc-4.5.1/gcc/config/t-slibgcc-elf-ver
|
||||||
|
--- gcc-4.5.1.orig/gcc/config/t-slibgcc-elf-ver 2010-11-03 14:35:08.644904042 -0300
|
||||||
|
+++ gcc-4.5.1/gcc/config/t-slibgcc-elf-ver 2010-11-03 14:35:56.332904024 -0300
|
||||||
|
@@ -27,7 +27,7 @@
|
||||||
|
SHLIB_OBJS = @shlib_objs@
|
||||||
|
SHLIB_DIR = @multilib_dir@
|
||||||
|
SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@
|
||||||
|
-SHLIB_LC = -lc
|
||||||
|
+SHLIB_LC = @libgcc_libm@ -lc
|
||||||
|
SHLIB_MAKE_SOLINK = $(LN_S) $(SHLIB_SONAME) $(SHLIB_DIR)/$(SHLIB_SOLINK)
|
||||||
|
SHLIB_INSTALL_SOLINK = $(LN_S) $(SHLIB_SONAME) \
|
||||||
|
$$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
|
||||||
|
diff -Nura gcc-4.5.1.orig/libgcc/Makefile.in gcc-4.5.1/libgcc/Makefile.in
|
||||||
|
--- gcc-4.5.1.orig/libgcc/Makefile.in 2010-11-03 14:32:44.272904042 -0300
|
||||||
|
+++ gcc-4.5.1/libgcc/Makefile.in 2010-11-03 14:37:03.893904042 -0300
|
||||||
|
@@ -39,6 +39,7 @@
|
||||||
|
decimal_float = @decimal_float@
|
||||||
|
enable_decimal_float = @enable_decimal_float@
|
||||||
|
fixed_point = @fixed_point@
|
||||||
|
+LIBGCC_LIBM = @LIBGCC_LIBM@
|
||||||
|
|
||||||
|
host_noncanonical = @host_noncanonical@
|
||||||
|
|
||||||
|
@@ -798,9 +799,10 @@
|
||||||
|
@multilib_dir@,$(MULTIDIR),$(subst \
|
||||||
|
@shlib_objs@,$(objects),$(subst \
|
||||||
|
@shlib_base_name@,libgcc_s,$(subst \
|
||||||
|
+ @libgcc_libm@,$(LIBGCC_LIBM),$(subst \
|
||||||
|
@shlib_map_file@,$(mapfile),$(subst \
|
||||||
|
@shlib_slibdir_qual@,$(MULTIOSSUBDIR),$(subst \
|
||||||
|
- @shlib_slibdir@,$(shlib_slibdir),$(SHLIB_LINK))))))))
|
||||||
|
+ @shlib_slibdir@,$(shlib_slibdir),$(SHLIB_LINK)))))))))
|
||||||
|
|
||||||
|
libunwind$(SHLIB_EXT): $(libunwind-s-objects) $(extra-parts)
|
||||||
|
# @multilib_flags@ is still needed because this may use
|
||||||
|
diff -Nura gcc-4.5.1.orig/libgcc/configure gcc-4.5.1/libgcc/configure
|
||||||
|
--- gcc-4.5.1.orig/libgcc/configure 2010-11-03 14:32:44.283904042 -0300
|
||||||
|
+++ gcc-4.5.1/libgcc/configure 2010-11-03 14:39:48.685904042 -0300
|
||||||
|
@@ -557,6 +557,7 @@
|
||||||
|
extra_parts
|
||||||
|
tmake_file
|
||||||
|
set_use_emutls
|
||||||
|
+LIBGCC_LIBM
|
||||||
|
set_have_cc_tls
|
||||||
|
vis_hide
|
||||||
|
fixed_point
|
||||||
|
@@ -3847,6 +3848,37 @@
|
||||||
|
set_use_emutls="-DUSE_EMUTLS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
+# On powerpc libgcc_s references copysignl which is a libm function but
|
||||||
|
+# glibc apparently also provides it via libc as opposed to uClibc where
|
||||||
|
+# it lives in libm.
|
||||||
|
+echo "$as_me:$LINENO: checking for library containing copysignl" >&5
|
||||||
|
+echo $ECHO_N "checking for library containing copysignl... $ECHO_C" >&6
|
||||||
|
+if test "${libgcc_cv_copysignl_lib+set}" = set; then
|
||||||
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
+else
|
||||||
|
+
|
||||||
|
+ echo '#include <features.h>' > conftest.c
|
||||||
|
+ echo 'int the_libc = __UCLIBC__ + __powerpc__;' >> conftest.c
|
||||||
|
+ libgcc_cv_copysignl_lib="-lc"
|
||||||
|
+ if { ac_try='${CC-cc} -S conftest.c -o conftest.s 1>&5'
|
||||||
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
+ (eval $ac_try) 2>&5
|
||||||
|
+ ac_status=$?
|
||||||
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
+ (exit $ac_status); }; }
|
||||||
|
+ then
|
||||||
|
+ libgcc_cv_copysignl_lib="-lm"
|
||||||
|
+ fi
|
||||||
|
+ rm -f conftest.*
|
||||||
|
+
|
||||||
|
+fi
|
||||||
|
+echo "$as_me:$LINENO: result: $libgcc_cv_copysignl_lib" >&5
|
||||||
|
+echo "${ECHO_T}$libgcc_cv_copysignl_lib" >&6
|
||||||
|
+
|
||||||
|
+case /${libgcc_cv_copysignl_lib}/ in
|
||||||
|
+ /-lm/) LIBGCC_LIBM="$LIBGCC_LIBM -lm" ;;
|
||||||
|
+ *) LIBGCC_LIBM= ;;
|
||||||
|
+esac
|
||||||
|
|
||||||
|
# Conditionalize the makefile for this target machine.
|
||||||
|
tmake_file_=
|
||||||
|
diff -Nura gcc-4.5.1.orig/libgcc/configure.ac gcc-4.5.1/libgcc/configure.ac
|
||||||
|
--- gcc-4.5.1.orig/libgcc/configure.ac 2010-11-03 14:32:44.735904042 -0300
|
||||||
|
+++ gcc-4.5.1/libgcc/configure.ac 2010-11-03 14:42:11.278904045 -0300
|
||||||
|
@@ -238,6 +238,27 @@
|
||||||
|
fi
|
||||||
|
AC_SUBST(set_have_cc_tls)
|
||||||
|
|
||||||
|
+# On powerpc libgcc_s references copysignl which is a libm function but
|
||||||
|
+# glibc apparently also provides it via libc as opposed to uClibc where
|
||||||
|
+# it lives in libm.
|
||||||
|
+AC_CACHE_CHECK
|
||||||
|
+ libgcc_cv_copysignl_lib,
|
||||||
|
+ echo '#include <features.h>' > conftest.c
|
||||||
|
+ echo 'int the_libc = __UCLIBC__ + __powerpc__;' >> conftest.c
|
||||||
|
+ libgcc_cv_copysignl_lib="-lc"
|
||||||
|
+ if AC_TRY_COMMAND(${CC-cc} -S conftest.c -o conftest.s 1>&AS_MESSAGE_LOG_FD)
|
||||||
|
+ then
|
||||||
|
+ libgcc_cv_copysignl_lib="-lm"
|
||||||
|
+ fi
|
||||||
|
+ rm -f conftest.*
|
||||||
|
+ ])
|
||||||
|
+
|
||||||
|
+case /${libgcc_cv_copysignl_lib}/ in
|
||||||
|
+ /-lm/) LIBGCC_LIBM="$LIBGCC_LIBM -lm" ;;
|
||||||
|
+ *) LIBGCC_LIBM= ;;
|
||||||
|
+esac
|
||||||
|
+AC_SUBST(LIBGCC_LIBM)
|
||||||
|
+
|
||||||
|
# See if we have emulated thread-local storage.
|
||||||
|
GCC_CHECK_EMUTLS
|
||||||
|
set_use_emutls=
|
|
@ -41,6 +41,11 @@ choice
|
||||||
select BR2_GCC_SUPPORTS_SYSROOT
|
select BR2_GCC_SUPPORTS_SYSROOT
|
||||||
bool "gcc 4.5.2"
|
bool "gcc 4.5.2"
|
||||||
|
|
||||||
|
config BR2_GCC_VERSION_4_6_3
|
||||||
|
depends on !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
|
||||||
|
select BR2_GCC_SUPPORTS_SYSROOT
|
||||||
|
bool "gcc 4.6.3"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_GCC_SUPPORTS_SYSROOT
|
config BR2_GCC_SUPPORTS_SYSROOT
|
||||||
|
@ -54,6 +59,7 @@ config BR2_GCC_VERSION
|
||||||
default "4.2.4" if BR2_GCC_VERSION_4_2_4
|
default "4.2.4" if BR2_GCC_VERSION_4_2_4
|
||||||
default "4.3.3" if BR2_GCC_VERSION_4_3_3
|
default "4.3.3" if BR2_GCC_VERSION_4_3_3
|
||||||
default "4.5.2" if BR2_GCC_VERSION_4_5_2
|
default "4.5.2" if BR2_GCC_VERSION_4_5_2
|
||||||
|
default "4.6.3" if BR2_GCC_VERSION_4_6_3
|
||||||
|
|
||||||
config BR2_GCC_USE_SJLJ_EXCEPTIONS
|
config BR2_GCC_USE_SJLJ_EXCEPTIONS
|
||||||
bool "Enable setjmp/longjmp exceptions?"
|
bool "Enable setjmp/longjmp exceptions?"
|
||||||
|
|
|
@ -40,9 +40,14 @@ choice
|
||||||
bool "gdb 6.8"
|
bool "gdb 6.8"
|
||||||
depends on !BR2_avr32
|
depends on !BR2_avr32
|
||||||
|
|
||||||
|
config BR2_GDB_VERSION_7_4
|
||||||
|
config BR2_GDB_VERSION_7_4
|
||||||
|
depends on !BR2_bfin
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_GDB_VERSION
|
config BR2_GDB_VERSION
|
||||||
string
|
string
|
||||||
default "6.3" if BR2_GDB_VERSION_6_3
|
default "6.3" if BR2_GDB_VERSION_6_3
|
||||||
default "6.8" if BR2_GDB_VERSION_6_8
|
default "6.8" if BR2_GDB_VERSION_6_8
|
||||||
|
default "7.4.1" if BR2_GDB_VERSION_7_4
|
||||||
|
|
|
@ -36,7 +36,9 @@ ifeq ($(GDB_VERSION),snapshot)
|
||||||
tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1)
|
tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1)
|
||||||
ln -sf $(TOOL_BUILD_DIR)/$(shell tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1) $(GDB_DIR)
|
ln -sf $(TOOL_BUILD_DIR)/$(shell tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1) $(GDB_DIR)
|
||||||
endif
|
endif
|
||||||
|
ifneq ($(wildcard toolchain/gdb/$(GDB_VERSION)),)
|
||||||
toolchain/patch-kernel.sh $(GDB_DIR) toolchain/gdb/$(GDB_VERSION) \*.patch
|
toolchain/patch-kernel.sh $(GDB_DIR) toolchain/gdb/$(GDB_VERSION) \*.patch
|
||||||
|
endif
|
||||||
$(CONFIG_UPDATE) $(GDB_DIR)
|
$(CONFIG_UPDATE) $(GDB_DIR)
|
||||||
touch $(GDB_DIR)/.unpacked
|
touch $(GDB_DIR)/.unpacked
|
||||||
|
|
||||||
|
|
|
@ -1309,7 +1309,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<b>TI TMS320C5471</b> (also called <b>C5471</b> or <b>TMS320DA180</b> or <b>DA180</b>).
|
<b>TI TMS320C5471</b> (also called <b>C5471</b> or <b>TMS320DA180</b> or <b>DA180</b>).
|
||||||
NuttX operates on the ARM7 of this dual core processor.
|
NuttX operates on the ARM7 of this dual core processor.
|
||||||
This port uses the <a href="http://www.spectrumdigital.com/">Spectrum Digital</a>
|
This port uses the <a href="http://www.spectrumdigital.com/">Spectrum Digital</a>
|
||||||
evaluation board with a GNU arm-elf toolchain* under Linux or Cygwin.
|
evaluation board with a GNU arm-nuttx-elf toolchain* under Linux or Cygwin.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<p>
|
<p>
|
||||||
|
@ -1352,7 +1352,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<b>NXP LPC214x</b>.
|
<b>NXP LPC214x</b>.
|
||||||
Support is provided for the NXP LPC214x family of processors. In particular,
|
Support is provided for the NXP LPC214x family of processors. In particular,
|
||||||
support is provided for the mcu123.com lpc214x evaluation board (LPC2148).
|
support is provided for the mcu123.com lpc214x evaluation board (LPC2148).
|
||||||
This port also used the GNU arm-elf toolchain* under Linux or Cygwin.
|
This port also used the GNU arm-nuttx-elf toolchain* under Linux or Cygwin.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<p>
|
<p>
|
||||||
|
@ -1386,7 +1386,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
Support is provided for the NXP LPC2378 MCU. In particular,
|
Support is provided for the NXP LPC2378 MCU. In particular,
|
||||||
support is provided for the Olimex-LPC2378 development board.
|
support is provided for the Olimex-LPC2378 development board.
|
||||||
This port was contributed by Rommel Marcelo is was first released in NuttX-5.3.
|
This port was contributed by Rommel Marcelo is was first released in NuttX-5.3.
|
||||||
This port also used the GNU arm-elf toolchain* under Linux or Cygwin.
|
This port also used the GNU arm-nuttx-elf toolchain* under Linux or Cygwin.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<p>
|
<p>
|
||||||
|
@ -1413,7 +1413,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<b>STMicro STR71x</b>.
|
<b>STMicro STR71x</b>.
|
||||||
Support is provided for the STMicro STR71x family of processors. In particular,
|
Support is provided for the STMicro STR71x family of processors. In particular,
|
||||||
support is provided for the Olimex STR-P711 evaluation board.
|
support is provided for the Olimex STR-P711 evaluation board.
|
||||||
This port also used the GNU arm-elf toolchain* under Linux or Cygwin.
|
This port also used the GNU arm-nuttx-elf toolchain* under Linux or Cygwin.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<p>
|
<p>
|
||||||
|
@ -1450,7 +1450,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<b>Freescale MC9328MX1</b> or <b>i.MX1</b>.
|
<b>Freescale MC9328MX1</b> or <b>i.MX1</b>.
|
||||||
This port uses the Freescale MX1ADS development board with a GNU arm-elf toolchain*
|
This port uses the Freescale MX1ADS development board with a GNU arm-nuttx-elf toolchain*
|
||||||
under either Linux or Cygwin.
|
under either Linux or Cygwin.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -1476,7 +1476,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
NuttX operates on the ARM9 of this dual core processor.
|
NuttX operates on the ARM9 of this dual core processor.
|
||||||
This port uses the
|
This port uses the
|
||||||
<a href="http://wiki.neurostechnology.com/index.php/Developer_Welcome">Neuros OSD</a>
|
<a href="http://wiki.neurostechnology.com/index.php/Developer_Welcome">Neuros OSD</a>
|
||||||
with a GNU arm-elf toolchain* under Linux or Cygwin.
|
with a GNU arm-nuttx-elf toolchain* under Linux or Cygwin.
|
||||||
The port was performed using the OSD v1.0, development board.
|
The port was performed using the OSD v1.0, development board.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -1498,7 +1498,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<td>
|
<td>
|
||||||
<b>NXP <a href="http://ics.nxp.com/products/lpc3000/lpc313x.lpc314x.lpc315x/">LPC3131</a></b>.
|
<b>NXP <a href="http://ics.nxp.com/products/lpc3000/lpc313x.lpc314x.lpc315x/">LPC3131</a></b>.
|
||||||
The port for the NXP LPC3131 on the <a href="http://www.embeddedartists.com/products/kits/lpc3131_kit.php">Embedded Artists EA3131</a>
|
The port for the NXP LPC3131 on the <a href="http://www.embeddedartists.com/products/kits/lpc3131_kit.php">Embedded Artists EA3131</a>
|
||||||
development board was first released in NuttX-5.1 with a GNU arm-elf or arm-eabi toolchain* under Linux or Cygwin
|
development board was first released in NuttX-5.1 with a GNU arm-nuttx-elf or arm-eabi toolchain* under Linux or Cygwin
|
||||||
(but was not functional until NuttX-5.2).
|
(but was not functional until NuttX-5.2).
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -1571,7 +1571,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<p>
|
<p>
|
||||||
<b>Luminary/TI Stellaris LM3S6918</b>.
|
<b>Luminary/TI Stellaris LM3S6918</b>.
|
||||||
This port uses the <a href=" http://www.micromint.com/">Micromint</a> Eagle-100 development
|
This port uses the <a href=" http://www.micromint.com/">Micromint</a> Eagle-100 development
|
||||||
board with a GNU arm-elf toolchain* under either Linux or Cygwin.
|
board with a GNU arm-nuttx-elf toolchain* under either Linux or Cygwin.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<p>
|
<p>
|
||||||
|
@ -1601,7 +1601,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<b>Luminary/TI Stellaris LM3S6965</b>.
|
<b>Luminary/TI Stellaris LM3S6965</b>.
|
||||||
This port uses the Stellaris LM3S6965 Ethernet Evalution Kit with a GNU arm-elf toolchain*
|
This port uses the Stellaris LM3S6965 Ethernet Evalution Kit with a GNU arm-nuttx-elf toolchain*
|
||||||
under either Linux or Cygwin.
|
under either Linux or Cygwin.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -1635,7 +1635,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<b>Luminary/TI Stellaris LM3S8962</b>.
|
<b>Luminary/TI Stellaris LM3S8962</b>.
|
||||||
This port uses the Stellaris EKC-LM3S8962 Ethernet+CAN Evalution Kit with a GNU arm-elf toolchain*
|
This port uses the Stellaris EKC-LM3S8962 Ethernet+CAN Evalution Kit with a GNU arm-nuttx-elf toolchain*
|
||||||
under either Linux or Cygwin.
|
under either Linux or Cygwin.
|
||||||
Contributed by Larry Arnold.
|
Contributed by Larry Arnold.
|
||||||
</p>
|
</p>
|
||||||
|
@ -1733,7 +1733,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
<p>
|
<p>
|
||||||
These ports uses a GNU arm-elf toolchain* under either Linux or Cygwin (with native Windows GNU
|
These ports uses a GNU arm-nuttx-elf toolchain* under either Linux or Cygwin (with native Windows GNU
|
||||||
tools or Cygwin-based GNU tools).
|
tools or Cygwin-based GNU tools).
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -1842,7 +1842,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<b>Atmel AT91SAM3U</b>.
|
<b>Atmel AT91SAM3U</b>.
|
||||||
This port uses the <a href="http://www.atmel.com/">Atmel</a> SAM3U-EK
|
This port uses the <a href="http://www.atmel.com/">Atmel</a> SAM3U-EK
|
||||||
development board that features the AT91SAM3U4E MCU.
|
development board that features the AT91SAM3U4E MCU.
|
||||||
This port uses a GNU arm-elf or arm-eabi toolchain* under either Linux or Cygwin (with native Windows GNU
|
This port uses a GNU arm-nuttx-elf or arm-eabi toolchain* under either Linux or Cygwin (with native Windows GNU
|
||||||
tools or Cygwin-based GNU tools).
|
tools or Cygwin-based GNU tools).
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -1905,7 +1905,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<p>
|
<p>
|
||||||
The Nucleus 2G board, the mbed board, and the LPCXpresso all feature the NXP LPC1768 MCU;
|
The Nucleus 2G board, the mbed board, and the LPCXpresso all feature the NXP LPC1768 MCU;
|
||||||
the Olimex LPC1766-STK board features an LPC1766.
|
the Olimex LPC1766-STK board features an LPC1766.
|
||||||
All use a GNU arm-elf or arm-eabi toolchain* under either Linux or Cygwin (with native Windows GNU tools or Cygwin-based GNU tools).
|
All use a GNU arm-nuttx-elf or arm-eabi toolchain* under either Linux or Cygwin (with native Windows GNU tools or Cygwin-based GNU tools).
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<p>
|
<p>
|
||||||
|
@ -2386,7 +2386,7 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
Both use a GNU arm-elf toolchain* under Linux or Cygwin.
|
Both use a GNU arm-nuttx-elf toolchain* under Linux or Cygwin.
|
||||||
The NuttX <a href="http://sourceforge.net/projects/nuttx/files/buildroot/">buildroot</a> provides a properly patched GCC 3.4.4 toolchain that is highly optimized for the m9s12x family.
|
The NuttX <a href="http://sourceforge.net/projects/nuttx/files/buildroot/">buildroot</a> provides a properly patched GCC 3.4.4 toolchain that is highly optimized for the m9s12x family.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -2696,10 +2696,10 @@ svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
||||||
<b>STATUS:</b>
|
<b>STATUS:</b>
|
||||||
Initial source files released in nuttx-0.4.2.
|
Initial source files released in nuttx-0.4.2.
|
||||||
At this point, the port has not been integrated; the target cannot be built
|
At this point, the port has not been integrated; the target cannot be built
|
||||||
because the GNU <code>m16c-elf-ld</code> link fails with the following message:
|
because the GNU <code>m16c-nuttx-elf-ld</code> link fails with the following message:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<code>m32c-elf-ld: BFD (GNU Binutils) 2.19 assertion fail /home/Owner/projects/nuttx/buildroot/toolchain_build_m32c/binutils-2.19/bfd/elf32-m32c.c:482</code>
|
<code>m32c-nuttx-elf-ld: BFD (GNU Binutils) 2.19 assertion fail /home/Owner/projects/nuttx/buildroot/toolchain_build_m32c/binutils-2.19/bfd/elf32-m32c.c:482</code>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Where the reference line is:</p>
|
<p>Where the reference line is:</p>
|
||||||
<ul><pre>
|
<ul><pre>
|
||||||
|
@ -3583,7 +3583,7 @@ buildroot-1.10 2011-05-06 <gnutt@nuttx.org>
|
||||||
i486 ELF binaries. But that will not work under Cygwin! The Cygwin
|
i486 ELF binaries. But that will not work under Cygwin! The Cygwin
|
||||||
toolchain (and probably MinGW), build DOS MZ format executables (i.e.,
|
toolchain (and probably MinGW), build DOS MZ format executables (i.e.,
|
||||||
.exe files). That is probably not usable for most NuttX targets.
|
.exe files). That is probably not usable for most NuttX targets.
|
||||||
Instead, you should use this i486-elf-gcc to generate true ELF binaries
|
Instead, you should use this i486-nuttx-elf-gcc to generate true ELF binaries
|
||||||
under Cygwin.
|
under Cygwin.
|
||||||
* Makefile - Alter copy arguments to avoid permissions problems when
|
* Makefile - Alter copy arguments to avoid permissions problems when
|
||||||
copying NuttX header files.
|
copying NuttX header files.
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
<li><a href="http://sourceforge.net/projects/nuttx/develop" target="_top">SourceForge</a></li>
|
<li><a href="http://sourceforge.net/projects/nuttx/develop" target="_top">SourceForge</a></li>
|
||||||
<li><a href="http://freshmeat.net/projects/nuttx/" target="_top">FreshMeat</a></li>
|
<li><a href="http://freshmeat.net/projects/nuttx/" target="_top">FreshMeat</a></li>
|
||||||
<li><a href="http://tech.groups.yahoo.com/group/nuttx/" target="_top">Forum</a></li>
|
<li><a href="http://tech.groups.yahoo.com/group/nuttx/" target="_top">Forum</a></li>
|
||||||
|
<li><a href="https://www.ohloh.net/p/nuttx" target="_top">Ohloh</a></li>
|
||||||
<li><a href="http://www.oschina.net/p/nuttx" target="_top">OSChina</a></li>
|
<li><a href="http://www.oschina.net/p/nuttx" target="_top">OSChina</a></li>
|
||||||
<li><a href="http://sourceforge.net/projects/nuttx/files/" target="_top">Downloads</a></li>
|
<li><a href="http://sourceforge.net/projects/nuttx/files/" target="_top">Downloads</a></li>
|
||||||
<li><a href="http://www.nx-engineering.com/nuttx-wiki/" target="_top">Wiki</a></li>
|
<li><a href="http://www.nx-engineering.com/nuttx-wiki/" target="_top">Wiki</a></li>
|
||||||
|
|
|
@ -443,7 +443,7 @@ cat ../syscall/syscall.csv ../lib/lib.csv | sort >tmp.csv
|
||||||
<tr>
|
<tr>
|
||||||
<td><br></td>
|
<td><br></td>
|
||||||
<td><br></td>
|
<td><br></td>
|
||||||
<td><code>abc-elf-ld -r -d -warn-common -o $@ $^</code></td>
|
<td><code>abc-nuttx-elf-ld -r -d -warn-common -o $@ $^</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Target 2</th>
|
<th>Target 2</th>
|
||||||
|
@ -464,7 +464,7 @@ cat ../syscall/syscall.csv ../lib/lib.csv | sort >tmp.csv
|
||||||
<td><br></td>
|
<td><br></td>
|
||||||
<td><br></td>
|
<td><br></td>
|
||||||
<td>
|
<td>
|
||||||
<code>abc-elf-ld -r -d -warn-common -T binfmt/libnxflat/gnu-nxflat.ld -no-check-sections -o $@ hello.o hello-thunk.o</code>
|
<code>abc-nuttx-elf-ld -r -d -warn-common -T binfmt/libnxflat/gnu-nxflat.ld -no-check-sections -o $@ hello.o hello-thunk.o</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
<li><a href="http://osmocom.org/" target="top">Osmocom-BB</a></li>
|
<li><a href="http://osmocom.org/" target="top">Osmocom-BB</a></li>
|
||||||
<li><a href="https://pixhawk.ethz.ch/px4/" target="top">PX4 Autopilot</a></li>
|
<li><a href="https://pixhawk.ethz.ch/px4/" target="top">PX4 Autopilot</a></li>
|
||||||
<li><a href="http://rgmp.sourceforge.net/wiki/index.php/Main_Page" target="top">RGMP</a></li>
|
<li><a href="http://rgmp.sourceforge.net/wiki/index.php/Main_Page" target="top">RGMP</a></li>
|
||||||
<li><a href="http://code.google.com/p/tmr/" target="top">Top Multi-Rotor (TMR)</a></li>
|
<li><a href="http://sourceforge.net/projects/tmr-fc/" target="top">Top Multi-Rotor (TMR)</a></li>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" valign="top" width="22">
|
<td align="center" valign="top" width="22">
|
||||||
|
|
|
@ -768,7 +768,7 @@
|
||||||
This is a port to the Spectrum Digital C5471 evaluation board. The
|
This is a port to the Spectrum Digital C5471 evaluation board. The
|
||||||
C5471 is a dual core processor from TI with an ARM7TDMI general purpose
|
C5471 is a dual core processor from TI with an ARM7TDMI general purpose
|
||||||
processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
||||||
NuttX runs on the ARM core and is built with with a GNU arm-elf toolchain
|
NuttX runs on the ARM core and is built with with a GNU arm-nuttx-elf toolchain
|
||||||
under Linux or Cygwin. This port is complete and verified.
|
under Linux or Cygwin. This port is complete and verified.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -780,14 +780,14 @@
|
||||||
|
|
||||||
<li><code>configs/ea3131</code>:
|
<li><code>configs/ea3131</code>:
|
||||||
Embedded Artists EA3131 Development bard. This board is based on the
|
Embedded Artists EA3131 Development bard. This board is based on the
|
||||||
an NXP LPC3131 MCU. This OS is built with the arm-elf toolchain.
|
an NXP LPC3131 MCU. This OS is built with the arm-nuttx-elf toolchain.
|
||||||
STATUS: This port is complete and mature.
|
STATUS: This port is complete and mature.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>configs/eagle100</code>:
|
<li><code>configs/eagle100</code>:
|
||||||
Micromint Eagle-100 Development board. This board is based on the
|
Micromint Eagle-100 Development board. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
||||||
arm-elf toolchain. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain. STATUS: This port is complete and mature.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>configs/ez80f0910200kitg</code>
|
<li><code>configs/ez80f0910200kitg</code>
|
||||||
|
@ -805,7 +805,7 @@
|
||||||
<li><code>configs/lm3s6965-ek</code>:
|
<li><code>configs/lm3s6965-ek</code>:
|
||||||
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
||||||
arm-elf toolchain. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain. STATUS: This port is complete and mature.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>configs/lm3s8962-ek</code>:
|
<li><code>configs/lm3s8962-ek</code>:
|
||||||
|
@ -827,13 +827,13 @@
|
||||||
<li><code>configs/mbed</code>:
|
<li><code>configs/mbed</code>:
|
||||||
The configurations in this directory support the mbed board (http://mbed.org)
|
The configurations in this directory support the mbed board (http://mbed.org)
|
||||||
that features the NXP LPC1768 microcontroller. This OS is also built
|
that features the NXP LPC1768 microcontroller. This OS is also built
|
||||||
with the arm-elf toolchain. STATUS: Contributed.
|
with the arm-nuttx-elf toolchain. STATUS: Contributed.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>configs/mcu123-lpc214x</code>:
|
<li><code>configs/mcu123-lpc214x</code>:
|
||||||
This port is for the NXP LPC2148 as provided on the mcu123.com
|
This port is for the NXP LPC2148 as provided on the mcu123.com
|
||||||
lpc214x development board.
|
lpc214x development board.
|
||||||
This OS is also built with the arm-elf toolchain* under Linux or Cygwin.
|
This OS is also built with the arm-nuttx-elf toolchain* under Linux or Cygwin.
|
||||||
The port supports serial, timer0, spi, and usb.
|
The port supports serial, timer0, spi, and usb.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -858,7 +858,7 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>configs/ntosd-dm320</code>:
|
<li><code>configs/ntosd-dm320</code>:
|
||||||
This port uses the Neuros OSD with a GNU arm-elf toolchain* under Linux or Cygwin.
|
This port uses the Neuros OSD with a GNU arm-nuttx-elf toolchain* under Linux or Cygwin.
|
||||||
See <a href="http://wiki.neurostechnology.com/index.php/Developer_Welcome">Neuros Wiki</a>
|
See <a href="http://wiki.neurostechnology.com/index.php/Developer_Welcome">Neuros Wiki</a>
|
||||||
for further information.
|
for further information.
|
||||||
NuttX operates on the ARM9EJS of this dual core processor.
|
NuttX operates on the ARM9EJS of this dual core processor.
|
||||||
|
@ -878,12 +878,12 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>configs/olimex-lpc2378</code>:
|
<li><code>configs/olimex-lpc2378</code>:
|
||||||
This port uses the Olimex-lpc2378 board and a GNU arm-elf toolchain under
|
This port uses the Olimex-lpc2378 board and a GNU arm-nuttx-elf toolchain under
|
||||||
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>configs/olimex-strp711</code>:
|
<li><code>configs/olimex-strp711</code>:
|
||||||
This port uses the Olimex STR-P711 board arm-elf toolchain* under Linux or Cygwin.
|
This port uses the Olimex STR-P711 board arm-nuttx-elf toolchain* under Linux or Cygwin.
|
||||||
See the <a href="http://www.olimex.com/dev/str-p711.html">Olimex</a> web site
|
See the <a href="http://www.olimex.com/dev/str-p711.html">Olimex</a> web site
|
||||||
for further information.
|
for further information.
|
||||||
STATUS: Configurations for the basic OS test and NSH are complete and verified.
|
STATUS: Configurations for the basic OS test and NSH are complete and verified.
|
||||||
|
|
|
@ -1,332 +1,332 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>NuttX USB Trace Capability</title>
|
<title>NuttX USB Trace Capability</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body background="backgd.gif">
|
<body background="backgd.gif">
|
||||||
<hr><hr>
|
<hr><hr>
|
||||||
<table width ="100%">
|
<table width ="100%">
|
||||||
<tr align="center" bgcolor="#e4e4e4">
|
<tr align="center" bgcolor="#e4e4e4">
|
||||||
<td>
|
<td>
|
||||||
<h1><big><font color="#3c34ec"><i>NuttX USB Device Trace</i></font></big></h1>
|
<h1><big><font color="#3c34ec"><i>NuttX USB Device Trace</i></font></big></h1>
|
||||||
<p>Last Updated: March 20, 2011</p>
|
<p>Last Updated: March 20, 2011</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<hr><hr>
|
<hr><hr>
|
||||||
<p><b>USB Device Tracing Controls</b>.
|
<p><b>USB Device Tracing Controls</b>.
|
||||||
The NuttX USB device subsystem supports a fairly sophisticated tracing facility.
|
The NuttX USB device subsystem supports a fairly sophisticated tracing facility.
|
||||||
The basic trace cabability is controlled by these NuttX configuration settings:
|
The basic trace cabability is controlled by these NuttX configuration settings:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>CONFIG_USBDEV_TRACE</code>: Enables USB tracing</li>
|
<li><code>CONFIG_USBDEV_TRACE</code>: Enables USB tracing</li>
|
||||||
<li><code>CONFIG_USBDEV_TRACE_NRECORDS</code>: Number of trace entries to remember</li>
|
<li><code>CONFIG_USBDEV_TRACE_NRECORDS</code>: Number of trace entries to remember</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><b>Trace IDs</b>.
|
<p><b>Trace IDs</b>.
|
||||||
The trace facility works like this:
|
The trace facility works like this:
|
||||||
When enabled, USB events that occur in either the USB device driver or in the USB class driver are logged.
|
When enabled, USB events that occur in either the USB device driver or in the USB class driver are logged.
|
||||||
These events are described in <code>include/nuttx/usb/usbdev_trace.h</code>.
|
These events are described in <code>include/nuttx/usb/usbdev_trace.h</code>.
|
||||||
The logged events are identified by a set of event IDs:
|
The logged events are identified by a set of event IDs:
|
||||||
</p>
|
</p>
|
||||||
<ul><table>
|
<ul><table>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_INIT_ID</code></td>
|
<td><code>TRACE_INIT_ID</code></td>
|
||||||
<td>Initialization events</td>
|
<td>Initialization events</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_EP_ID</code></td>
|
<td><code>TRACE_EP_ID</code></td>
|
||||||
<td>Endpoint API calls</td>
|
<td>Endpoint API calls</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_DEV_ID</code></td>
|
<td><code>TRACE_DEV_ID</code></td>
|
||||||
<td>USB device API calls</td>
|
<td>USB device API calls</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_CLASS_ID</code></td>
|
<td><code>TRACE_CLASS_ID</code></td>
|
||||||
<td>USB class driver API calls</td>
|
<td>USB class driver API calls</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_CLASSAPI_ID</code></td>
|
<td><code>TRACE_CLASSAPI_ID</code></td>
|
||||||
<td>Other class driver system API calls</td>
|
<td>Other class driver system API calls</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_CLASSSTATE_ID</code></td>
|
<td><code>TRACE_CLASSSTATE_ID</code></td>
|
||||||
<td>Track class driver state changes</td>
|
<td>Track class driver state changes</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_INTENTRY_ID</code></td>
|
<td><code>TRACE_INTENTRY_ID</code></td>
|
||||||
<td>Interrupt handler entry</td>
|
<td>Interrupt handler entry</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_INTDECODE_ID</code></td>
|
<td><code>TRACE_INTDECODE_ID</code></td>
|
||||||
<td>Decoded interrupt event</td>
|
<td>Decoded interrupt event</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_INTEXIT_ID</code></td>
|
<td><code>TRACE_INTEXIT_ID</code></td>
|
||||||
<td>Interrupt handler exit</td>
|
<td>Interrupt handler exit</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_OUTREQQUEUED_ID</code></td>
|
<td><code>TRACE_OUTREQQUEUED_ID</code></td>
|
||||||
<td>Request queued for OUT endpoint</td>
|
<td>Request queued for OUT endpoint</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_INREQQUEUED_ID</code></td>
|
<td><code>TRACE_INREQQUEUED_ID</code></td>
|
||||||
<td>Request queued for IN endpoint</td>
|
<td>Request queued for IN endpoint</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_READ_ID</code></td>
|
<td><code>TRACE_READ_ID</code></td>
|
||||||
<td>Read (OUT) action</td>
|
<td>Read (OUT) action</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_WRITE_ID</code></td>
|
<td><code>TRACE_WRITE_ID</code></td>
|
||||||
<td>Write (IN) action</td>
|
<td>Write (IN) action</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_COMPLETE_ID</code></td>
|
<td><code>TRACE_COMPLETE_ID</code></td>
|
||||||
<td>Request completed</td>
|
<td>Request completed</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_DEVERROR_ID</code></td>
|
<td><code>TRACE_DEVERROR_ID</code></td>
|
||||||
<td>USB controller driver error event</td>
|
<td>USB controller driver error event</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>TRACE_CLSERROR_ID</code></td>
|
<td><code>TRACE_CLSERROR_ID</code></td>
|
||||||
<td>USB class driver error event</td>
|
<td>USB class driver error event</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table></ul>
|
</table></ul>
|
||||||
<p><b>Logged Events</b>.
|
<p><b>Logged Events</b>.
|
||||||
Each logged event is 32-bits in size and includes
|
Each logged event is 32-bits in size and includes
|
||||||
</p>
|
</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li>8-bits of the trace ID (values associated with the above)</li>
|
<li>8-bits of the trace ID (values associated with the above)</li>
|
||||||
<li>8-bits of additional trace ID data, and</li>
|
<li>8-bits of additional trace ID data, and</li>
|
||||||
<li>16-bits of additonal data.</li>
|
<li>16-bits of additonal data.</li>
|
||||||
</ol>
|
</ol>
|
||||||
<p><b>8-bit Trace Data</b>
|
<p><b>8-bit Trace Data</b>
|
||||||
The 8-bit trace data depends on the specific event ID. As examples,
|
The 8-bit trace data depends on the specific event ID. As examples,
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
For the USB serial and mass storage class, the 8-bit event data is provided in <code>include/nuttx/usb/usbdev_trace.h</code>.
|
For the USB serial and mass storage class, the 8-bit event data is provided in <code>include/nuttx/usb/usbdev_trace.h</code>.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
For the USB device driver, that 8-bit event data is provided within the USB device driver itself.
|
For the USB device driver, that 8-bit event data is provided within the USB device driver itself.
|
||||||
So, for example, the 8-bit event data for the LPC1768 USB device driver is found in <code>arch/arm/src/lpc17xx/lpc17_usbdev.c</code>.
|
So, for example, the 8-bit event data for the LPC1768 USB device driver is found in <code>arch/arm/src/lpc17xx/lpc17_usbdev.c</code>.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><b>16-bit Trace Data</b>.
|
<p><b>16-bit Trace Data</b>.
|
||||||
The 16-bit trace data provided additional context data relevant to the specific logged event.
|
The 16-bit trace data provided additional context data relevant to the specific logged event.
|
||||||
</p>
|
</p>
|
||||||
<p><b>Trace Control Interfaces</b>.
|
<p><b>Trace Control Interfaces</b>.
|
||||||
Logging of each of these kinds events can be enabled or disabled using the interfaces described in <code>include/nuttx/usb/usbdev_trace.h</code>.
|
Logging of each of these kinds events can be enabled or disabled using the interfaces described in <code>include/nuttx/usb/usbdev_trace.h</code>.
|
||||||
</p>
|
</p>
|
||||||
<p><b>Enabling USB Device Tracing</b>.
|
<p><b>Enabling USB Device Tracing</b>.
|
||||||
USB device tracing will be configured if <code>CONFIG_USBDEV</code> and either of the following are set in the NuttX configuration file:
|
USB device tracing will be configured if <code>CONFIG_USBDEV</code> and either of the following are set in the NuttX configuration file:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>CONFIG_USBDEV_TRACE</code>, or</li>
|
<li><code>CONFIG_USBDEV_TRACE</code>, or</li>
|
||||||
<li><code>CONFIG_DEBUG and CONFIG_DEBUG_USB</code></li>
|
<li><code>CONFIG_DEBUG and CONFIG_DEBUG_USB</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><b>Log Data Sink</b>.
|
<p><b>Log Data Sink</b>.
|
||||||
The logged data itself may go to either (1) an internal circular buffer, or (2) may be provided on the console.
|
The logged data itself may go to either (1) an internal circular buffer, or (2) may be provided on the console.
|
||||||
If <code>CONFIG_USBDEV_TRACE</code> is defined, then the trace data will go to the circular buffer.
|
If <code>CONFIG_USBDEV_TRACE</code> is defined, then the trace data will go to the circular buffer.
|
||||||
The size of the circular buffer is determined by <code>CONFIG_USBDEV_TRACE_NRECORDS</code>.
|
The size of the circular buffer is determined by <code>CONFIG_USBDEV_TRACE_NRECORDS</code>.
|
||||||
Otherwise, the trace data goes to console.
|
Otherwise, the trace data goes to console.
|
||||||
<p>
|
<p>
|
||||||
<p><b>Example</b>.
|
<p><b>Example</b>.
|
||||||
Here is an example of USB trace output using <code>apps/examples/usbserial</code> for an LPC1768 platform with the following NuttX configuration settings:
|
Here is an example of USB trace output using <code>apps/examples/usbserial</code> for an LPC1768 platform with the following NuttX configuration settings:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>CONFIG_DEBUG</code>, <code>CONFIG_DEBUG_VERBOSE</code>, <code>CONFIG_USB</code>
|
<li><code>CONFIG_DEBUG</code>, <code>CONFIG_DEBUG_VERBOSE</code>, <code>CONFIG_USB</code>
|
||||||
<li><code>CONFIG_EXAMPLES_USBSERIAL_TRACEINIT</code>, <code>CONFIG_EXAMPLES_USBSERIAL_TRACECLASS</code>,
|
<li><code>CONFIG_EXAMPLES_USBSERIAL_TRACEINIT</code>, <code>CONFIG_EXAMPLES_USBSERIAL_TRACECLASS</code>,
|
||||||
<code>CONFIG_EXAMPLES_USBSERIAL_TRACETRANSFERS</code>, <code>CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER</code>,
|
<code>CONFIG_EXAMPLES_USBSERIAL_TRACETRANSFERS</code>, <code>CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER</code>,
|
||||||
<code>CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS</code>
|
<code>CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS</code>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Console Output:</p>
|
<p>Console Output:</p>
|
||||||
<ul><table>
|
<ul><table>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"> </td>
|
<td align="center"> </td>
|
||||||
<td align="left"><code>ABDE</code></td>
|
<td align="left"><code>ABDE</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"> </td>
|
<td align="center"> </td>
|
||||||
<td align="left"><code>usbserial_main: Registering USB serial driver</code></td>
|
<td align="left"><code>usbserial_main: Registering USB serial driver</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"> </td>
|
<td align="center"> </td>
|
||||||
<td align="left"><code>uart_register: Registering /dev/ttyUSB0</code></td>
|
<td align="left"><code>uart_register: Registering /dev/ttyUSB0</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"> </td>
|
<td align="center"> </td>
|
||||||
<td align="left"><code>usbserial_main: Successfully registered the serial driver</code></td>
|
<td align="left"><code>usbserial_main: Successfully registered the serial driver</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">1</td>
|
<td align="center">1</td>
|
||||||
<td align="left"><code>Class API call 1: 0000</code></td>
|
<td align="left"><code>Class API call 1: 0000</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">2</td>
|
<td align="center">2</td>
|
||||||
<td align="left"><code>Class error: 19:0000</code></td>
|
<td align="left"><code>Class error: 19:0000</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"> </td>
|
<td align="center"> </td>
|
||||||
<td align="left"><code>usbserial_main: ERROR: Failed to open /dev/ttyUSB0 for reading: 107</code></td>
|
<td align="left"><code>usbserial_main: ERROR: Failed to open /dev/ttyUSB0 for reading: 107</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"> </td>
|
<td align="center"> </td>
|
||||||
<td align="left"><code>usbserial_main: Not connected. Wait and try again.</code></td>
|
<td align="left"><code>usbserial_main: Not connected. Wait and try again.</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">3</td>
|
<td align="center">3</td>
|
||||||
<td align="left"><code>Interrupt 1 entry: 0039</code></td>
|
<td align="left"><code>Interrupt 1 entry: 0039</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">4</td>
|
<td align="center">4</td>
|
||||||
<td align="left"><code>Interrupt decode 7: 0019</code></td>
|
<td align="left"><code>Interrupt decode 7: 0019</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">5</td>
|
<td align="center">5</td>
|
||||||
<td align="left"><code>Interrupt decode 32: 0019</code></td>
|
<td align="left"><code>Interrupt decode 32: 0019</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">6</td>
|
<td align="center">6</td>
|
||||||
<td align="left"><code>Interrupt decode 6: 0019</code></td>
|
<td align="left"><code>Interrupt decode 6: 0019</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">7</td>
|
<td align="center">7</td>
|
||||||
<td align="left"><code>Class disconnect(): 0000</code></td>
|
<td align="left"><code>Class disconnect(): 0000</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">8</td>
|
<td align="center">8</td>
|
||||||
<td align="left"><code>Device pullup(): 0001</code></td>
|
<td align="left"><code>Device pullup(): 0001</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">9</td>
|
<td align="center">9</td>
|
||||||
<td align="left"><code>Interrupt 1 exit: 0000</code></td>
|
<td align="left"><code>Interrupt 1 exit: 0000</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table></ul>
|
</table></ul>
|
||||||
<p>
|
<p>
|
||||||
The numbered items are USB USB trace output.
|
The numbered items are USB USB trace output.
|
||||||
You can look in the file <code>drivers/usbdev/usbdev_trprintf.c</code> to see examctly how each output line is formatted.
|
You can look in the file <code>drivers/usbdev/usbdev_trprintf.c</code> to see examctly how each output line is formatted.
|
||||||
Here is how each line should be interpreted:
|
Here is how each line should be interpreted:
|
||||||
</p>
|
</p>
|
||||||
<ul><table>
|
<ul><table>
|
||||||
<tr>
|
<tr>
|
||||||
<th align="center"> </th>
|
<th align="center"> </th>
|
||||||
<td align="left">USB EVENT ID</td>
|
<td align="left">USB EVENT ID</td>
|
||||||
<td align="right">8-bit<br>EVENT<br>DATA</td>
|
<td align="right">8-bit<br>EVENT<br>DATA</td>
|
||||||
<td align="left">MEANING</td>
|
<td align="left">MEANING</td>
|
||||||
<td align="left">16-bit<br>EVENT<br>DATA</td>
|
<td align="left">16-bit<br>EVENT<br>DATA</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">1</td>
|
<td align="center">1</td>
|
||||||
<td align="left"><code>TRACE_CLASSAPI_ID</code><sup>1</sup></td>
|
<td align="left"><code>TRACE_CLASSAPI_ID</code><sup>1</sup></td>
|
||||||
<td align="right">1</td>
|
<td align="right">1</td>
|
||||||
<td align="left"><code>USBSER_TRACECLASSAPI_SETUP</code><sup>1</sup></td>
|
<td align="left"><code>USBSER_TRACECLASSAPI_SETUP</code><sup>1</sup></td>
|
||||||
<td align="left">0000</td>
|
<td align="left">0000</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">2</td>
|
<td align="center">2</td>
|
||||||
<td align="left"><code>TRACE_CLSERROR_ID</code><sup>1</sup></td>
|
<td align="left"><code>TRACE_CLSERROR_ID</code><sup>1</sup></td>
|
||||||
<td align="right">19</td>
|
<td align="right">19</td>
|
||||||
<td align="left"><code>USBSER_TRACEERR_SETUPNOTCONNECTED</code><sup>1</sup></td>
|
<td align="left"><code>USBSER_TRACEERR_SETUPNOTCONNECTED</code><sup>1</sup></td>
|
||||||
<td align="left">0000</td>
|
<td align="left">0000</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">3</td>
|
<td align="center">3</td>
|
||||||
<td align="left"><code>TRACE_INTENTRY_ID</code><sup>1</sup></td>
|
<td align="left"><code>TRACE_INTENTRY_ID</code><sup>1</sup></td>
|
||||||
<td align="right">1</td>
|
<td align="right">1</td>
|
||||||
<td align="left"><code>LPC17_TRACEINTID_USB</code><sup>2</sup></td>
|
<td align="left"><code>LPC17_TRACEINTID_USB</code><sup>2</sup></td>
|
||||||
<td align="left">0039</td>
|
<td align="left">0039</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">4</td>
|
<td align="center">4</td>
|
||||||
<td align="left"><code>TRACE_INTDECODE_ID</code><sup>2</sup></td>
|
<td align="left"><code>TRACE_INTDECODE_ID</code><sup>2</sup></td>
|
||||||
<td align="right">7</td>
|
<td align="right">7</td>
|
||||||
<td align="left"><code>LPC17_TRACEINTID_DEVSTAT</code><sup>2</sup></td>
|
<td align="left"><code>LPC17_TRACEINTID_DEVSTAT</code><sup>2</sup></td>
|
||||||
<td align="left">0019</td>
|
<td align="left">0019</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">5</td>
|
<td align="center">5</td>
|
||||||
<td align="left"><code>TRACE_INTDECODE_ID</code><sup>2</sup></td>
|
<td align="left"><code>TRACE_INTDECODE_ID</code><sup>2</sup></td>
|
||||||
<td align="right">32</td>
|
<td align="right">32</td>
|
||||||
<td align="left"><code>LPC17_TRACEINTID_SUSPENDCHG</code><sup>2</sup></td>
|
<td align="left"><code>LPC17_TRACEINTID_SUSPENDCHG</code><sup>2</sup></td>
|
||||||
<td align="left">0019</td>
|
<td align="left">0019</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">6</td>
|
<td align="center">6</td>
|
||||||
<td align="left"><code>TRACE_INTDECODE_ID</code><sup>2</sup></td>
|
<td align="left"><code>TRACE_INTDECODE_ID</code><sup>2</sup></td>
|
||||||
<td align="right">6</td>
|
<td align="right">6</td>
|
||||||
<td align="left"><code>LPC17_TRACEINTID_DEVRESET</code><sup>2</sup></td>
|
<td align="left"><code>LPC17_TRACEINTID_DEVRESET</code><sup>2</sup></td>
|
||||||
<td align="left">0019</td>
|
<td align="left">0019</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">7</td>
|
<td align="center">7</td>
|
||||||
<td align="left"><code>TRACE_CLASS_ID</code><sup>1</sup></td>
|
<td align="left"><code>TRACE_CLASS_ID</code><sup>1</sup></td>
|
||||||
<td align="right">3</td>
|
<td align="right">3</td>
|
||||||
<td align="left"><code>(See TRACE_CLASSDISCONNECT</code><sup>1</sup>)</td>
|
<td align="left"><code>(See TRACE_CLASSDISCONNECT</code><sup>1</sup>)</td>
|
||||||
<td align="left">0000</td>
|
<td align="left">0000</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">8</td>
|
<td align="center">8</td>
|
||||||
<td align="left"><code>TRACE_DEV_ID</code><sup>1</sup></td>
|
<td align="left"><code>TRACE_DEV_ID</code><sup>1</sup></td>
|
||||||
<td align="right">6</td>
|
<td align="right">6</td>
|
||||||
<td align="left"><code>(See TRACE_DEVPULLUP</code><sup>1</sup>)</td>
|
<td align="left"><code>(See TRACE_DEVPULLUP</code><sup>1</sup>)</td>
|
||||||
<td align="left">0001</td>
|
<td align="left">0001</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">9</td>
|
<td align="center">9</td>
|
||||||
<td align="left"><code>TRACE_INTEXIT_ID</code><sup>1</sup></td>
|
<td align="left"><code>TRACE_INTEXIT_ID</code><sup>1</sup></td>
|
||||||
<td align="right">1</td>
|
<td align="right">1</td>
|
||||||
<td align="left"><code>LPC17_TRACEINTID_USB</code><sup>2</sup></td>
|
<td align="left"><code>LPC17_TRACEINTID_USB</code><sup>2</sup></td>
|
||||||
<td align="left">0000</td>
|
<td align="left">0000</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<p><small><b>NOTES</b>:<br>
|
<p><small><b>NOTES</b>:<br>
|
||||||
<sup>1</sup>See <code>include/nuttx/usb/usbdev_trace.h</code><br>
|
<sup>1</sup>See <code>include/nuttx/usb/usbdev_trace.h</code><br>
|
||||||
<sup>2</sup><code>See arch/arm/src/lpc17xx/lpc17_usbdev.c</code>
|
<sup>2</sup><code>See arch/arm/src/lpc17xx/lpc17_usbdev.c</code>
|
||||||
</small></p>
|
</small></p>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
In the above example you can see that:
|
In the above example you can see that:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><b>1</b>.
|
<li><b>1</b>.
|
||||||
The serial class USB setup method was called for the USB serial class.
|
The serial class USB setup method was called for the USB serial class.
|
||||||
This is the corresponds to the following logic in <code>drivers/usbdev/pl2303.c</code>:
|
This is the corresponds to the following logic in <code>drivers/usbdev/pl2303.c</code>:
|
||||||
<ul><pre>
|
<ul><pre>
|
||||||
static int pl2303_setup(FAR struct uart_dev_s *dev)
|
static int pl2303_setup(FAR struct uart_dev_s *dev)
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
usbtrace(PL2303_CLASSAPI_SETUP, 0);
|
usbtrace(PL2303_CLASSAPI_SETUP, 0);
|
||||||
...
|
...
|
||||||
</pre></ul>
|
</pre></ul>
|
||||||
</li>
|
</li>
|
||||||
<li><b>2</b>.
|
<li><b>2</b>.
|
||||||
An error occurred while processing the setup command because no configuration has yet been selected by the host.
|
An error occurred while processing the setup command because no configuration has yet been selected by the host.
|
||||||
This corresponds to the following logic in <code>drivers/usbdev/pl2303.c</code>:
|
This corresponds to the following logic in <code>drivers/usbdev/pl2303.c</code>:
|
||||||
<ul><pre>
|
<ul><pre>
|
||||||
static int pl2303_setup(FAR struct uart_dev_s *dev)
|
static int pl2303_setup(FAR struct uart_dev_s *dev)
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
/* Check if we have been configured */
|
/* Check if we have been configured */
|
||||||
|
|
||||||
if (priv->config == PL2303_CONFIGIDNONE)
|
if (priv->config == PL2303_CONFIGIDNONE)
|
||||||
{
|
{
|
||||||
usbtrace(TRACE_CLSERROR(USBSER_TRACEERR_SETUPNOTCONNECTED), 0);
|
usbtrace(TRACE_CLSERROR(USBSER_TRACEERR_SETUPNOTCONNECTED), 0);
|
||||||
return -ENOTCONN;
|
return -ENOTCONN;
|
||||||
}
|
}
|
||||||
...
|
...
|
||||||
</pre></ul>
|
</pre></ul>
|
||||||
<li><b>3-6</b>.
|
<li><b>3-6</b>.
|
||||||
Here is a USB interrupt that suspends and resets the device.
|
Here is a USB interrupt that suspends and resets the device.
|
||||||
</li>
|
</li>
|
||||||
<li><b>7-8</b>.
|
<li><b>7-8</b>.
|
||||||
During the interrupt processing the serial class is disconnected
|
During the interrupt processing the serial class is disconnected
|
||||||
</li>
|
</li>
|
||||||
<li><b>9</b>.
|
<li><b>9</b>.
|
||||||
And the interrupt returns
|
And the interrupt returns
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -42,7 +42,7 @@ config ARCH_BOARD_C5471EVM
|
||||||
This is a port to the Spectrum Digital C5471 evaluation board. The
|
This is a port to the Spectrum Digital C5471 evaluation board. The
|
||||||
TMS320C5471 is a dual core processor from TI with an ARM7TDMI general
|
TMS320C5471 is a dual core processor from TI with an ARM7TDMI general
|
||||||
purpose processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
purpose processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
||||||
NuttX runs on the ARM core and is built with a GNU arm-elf toolchain*.
|
NuttX runs on the ARM core and is built with a GNU arm-nuttx-elf toolchain*.
|
||||||
This port is complete and verified.
|
This port is complete and verified.
|
||||||
|
|
||||||
config ARCH_BOARD_COMPALE88
|
config ARCH_BOARD_COMPALE88
|
||||||
|
@ -80,7 +80,7 @@ config ARCH_BOARD_EA3131
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
---help---
|
---help---
|
||||||
Embedded Artists EA3131 Development board. This board is based on the
|
Embedded Artists EA3131 Development board. This board is based on the
|
||||||
an NXP LPC3131 MCU. This OS is built with the arm-elf toolchain*.
|
an NXP LPC3131 MCU. This OS is built with the arm-nuttx-elf toolchain*.
|
||||||
STATUS: This port is complete and mature.
|
STATUS: This port is complete and mature.
|
||||||
|
|
||||||
config ARCH_BOARD_EA3152
|
config ARCH_BOARD_EA3152
|
||||||
|
@ -90,7 +90,7 @@ config ARCH_BOARD_EA3152
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
---help---
|
---help---
|
||||||
Embedded Artists EA3152 Development board. This board is based on the
|
Embedded Artists EA3152 Development board. This board is based on the
|
||||||
an NXP LPC3152 MCU. This OS is built with the arm-elf toolchain*.
|
an NXP LPC3152 MCU. This OS is built with the arm-nuttx-elf toolchain*.
|
||||||
STATUS: This port is has not be exercised well, but since it is
|
STATUS: This port is has not be exercised well, but since it is
|
||||||
a simple derivative of the ea3131, it should be fully functional.
|
a simple derivative of the ea3131, it should be fully functional.
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ config ARCH_BOARD_EAGLE100
|
||||||
---help---
|
---help---
|
||||||
Micromint Eagle-100 Development board. This board is based on the
|
Micromint Eagle-100 Development board. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
||||||
arm-elf toolchain*. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain*. STATUS: This port is complete and mature.
|
||||||
|
|
||||||
config ARCH_BOARD_EKK_LM3S9B96
|
config ARCH_BOARD_EKK_LM3S9B96
|
||||||
bool "TI/Stellaris EKK-LM3S9B96"
|
bool "TI/Stellaris EKK-LM3S9B96"
|
||||||
|
@ -184,7 +184,7 @@ config ARCH_BOARD_LM3S6965EK
|
||||||
---help---
|
---help---
|
||||||
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
||||||
arm-elf toolchain*. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain*. STATUS: This port is complete and mature.
|
||||||
|
|
||||||
config ARCH_BOARD_LM3S8962EK
|
config ARCH_BOARD_LM3S8962EK
|
||||||
bool "Stellaris LMS38962 Evaluation Kit"
|
bool "Stellaris LMS38962 Evaluation Kit"
|
||||||
|
@ -215,7 +215,7 @@ config ARCH_BOARD_M68332EVB
|
||||||
depends on ARCH_M68332
|
depends on ARCH_M68332
|
||||||
---help---
|
---help---
|
||||||
This is a work in progress for the venerable m68322evb board from
|
This is a work in progress for the venerable m68322evb board from
|
||||||
Motorola. This OS is also built with the arm-elf toolchain. STATUS:
|
Motorola. This OS is also built with the arm-nuttx-elf toolchain. STATUS:
|
||||||
This port was never completed.
|
This port was never completed.
|
||||||
|
|
||||||
config ARCH_BOARD_MBED
|
config ARCH_BOARD_MBED
|
||||||
|
@ -225,7 +225,7 @@ config ARCH_BOARD_MBED
|
||||||
---help---
|
---help---
|
||||||
The configurations in this directory support the mbed board (http://mbed.org)
|
The configurations in this directory support the mbed board (http://mbed.org)
|
||||||
that features the NXP LPC1768 microcontroller. This OS is also built
|
that features the NXP LPC1768 microcontroller. This OS is also built
|
||||||
with the arm-elf toolchain*. STATUS: Contributed.
|
with the arm-nuttx-elf toolchain*. STATUS: Contributed.
|
||||||
|
|
||||||
config ARCH_BOARD_MCU123
|
config ARCH_BOARD_MCU123
|
||||||
bool "mcu123.com LPC2148 Development Board"
|
bool "mcu123.com LPC2148 Development Board"
|
||||||
|
@ -233,7 +233,7 @@ config ARCH_BOARD_MCU123
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
---help---
|
---help---
|
||||||
This port is for the NXP LPC2148 as provided on the mcu123.com
|
This port is for the NXP LPC2148 as provided on the mcu123.com
|
||||||
lpc214x development board. This OS is also built with the arm-elf
|
lpc214x development board. This OS is also built with the arm-nuttx-elf
|
||||||
toolchain*. The port supports serial, timer0, spi, and usb.
|
toolchain*. The port supports serial, timer0, spi, and usb.
|
||||||
|
|
||||||
config ARCH_BOARD_MICROPENDOUS3
|
config ARCH_BOARD_MICROPENDOUS3
|
||||||
|
@ -270,7 +270,7 @@ config ARCH_BOARD_NTOSD_DM320
|
||||||
depends on ARCH_CHIP_DM320
|
depends on ARCH_CHIP_DM320
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
---help---
|
---help---
|
||||||
This port uses the Neuros OSD v1.0 Dev Board with a GNU arm-elf
|
This port uses the Neuros OSD v1.0 Dev Board with a GNU arm-nuttx-elf
|
||||||
toolchain*: see
|
toolchain*: see
|
||||||
|
|
||||||
http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home
|
http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home
|
||||||
|
@ -316,7 +316,7 @@ config ARCH_BOARD_OLIMEXLPC2378
|
||||||
depends on ARCH_CHIP_LPC2378
|
depends on ARCH_CHIP_LPC2378
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
---help---
|
---help---
|
||||||
This port uses the Olimex-lpc2378 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex-lpc2378 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
||||||
This port for the NXP LPC2378 was contributed by Rommel Marcelo.
|
This port for the NXP LPC2378 was contributed by Rommel Marcelo.
|
||||||
|
|
||||||
|
@ -326,7 +326,7 @@ config ARCH_BOARD_OLIMEX_STRP711
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
---help---
|
---help---
|
||||||
This port uses the Olimex STR-P711 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex STR-P711 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. See the http://www.olimex.com/dev/str-p711.html" for
|
Linux or Cygwin. See the http://www.olimex.com/dev/str-p711.html" for
|
||||||
further information. STATUS: Configurations for the basic OS test and NSH
|
further information. STATUS: Configurations for the basic OS test and NSH
|
||||||
are complete and verified.
|
are complete and verified.
|
||||||
|
@ -335,7 +335,7 @@ config ARCH_BOARD_OLIMEX_STM32P107
|
||||||
bool "Olimex STM32 P107 board"
|
bool "Olimex STM32 P107 board"
|
||||||
depends on ARCH_CHIP_STM32F107VC
|
depends on ARCH_CHIP_STM32F107VC
|
||||||
---help---
|
---help---
|
||||||
This port uses the Olimex STM32 P107 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex STM32 P107 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. See the http://www.olimex.com for further information. This
|
Linux or Cygwin. See the http://www.olimex.com for further information. This
|
||||||
board features the STMicro STM32F107VC MCU
|
board features the STMicro STM32F107VC MCU
|
||||||
|
|
||||||
|
@ -411,7 +411,7 @@ config ARCH_BOARD_SHENZHOU
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
select ARCH_HAVE_IRQBUTTONS
|
select ARCH_HAVE_IRQBUTTONS
|
||||||
---help---
|
---help---
|
||||||
This port uses the Shenzhou STM32 F107 board and a GNU arm-elf toolchain* under
|
This port uses the Shenzhou STM32 F107 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. See the http://www.armjishu.com for further information. This
|
Linux or Cygwin. See the http://www.armjishu.com for further information. This
|
||||||
board features the STMicro STM32F107VC MCU
|
board features the STMicro STM32F107VC MCU
|
||||||
|
|
||||||
|
|
|
@ -1524,7 +1524,7 @@ configs/c5471evm
|
||||||
This is a port to the Spectrum Digital C5471 evaluation board. The
|
This is a port to the Spectrum Digital C5471 evaluation board. The
|
||||||
TMS320C5471 is a dual core processor from TI with an ARM7TDMI general
|
TMS320C5471 is a dual core processor from TI with an ARM7TDMI general
|
||||||
purpose processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
purpose processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
||||||
NuttX runs on the ARM core and is built with a GNU arm-elf toolchain*.
|
NuttX runs on the ARM core and is built with a GNU arm-nuttx-elf toolchain*.
|
||||||
This port is complete and verified.
|
This port is complete and verified.
|
||||||
|
|
||||||
configs/compal_e88 and compal_e99
|
configs/compal_e88 and compal_e99
|
||||||
|
@ -1540,19 +1540,19 @@ configs/demo9s12ne64
|
||||||
|
|
||||||
configs/ea3131
|
configs/ea3131
|
||||||
Embedded Artists EA3131 Development board. This board is based on the
|
Embedded Artists EA3131 Development board. This board is based on the
|
||||||
an NXP LPC3131 MCU. This OS is built with the arm-elf toolchain*.
|
an NXP LPC3131 MCU. This OS is built with the arm-nuttx-elf toolchain*.
|
||||||
STATUS: This port is complete and mature.
|
STATUS: This port is complete and mature.
|
||||||
|
|
||||||
configs/ea3152
|
configs/ea3152
|
||||||
Embedded Artists EA3152 Development board. This board is based on the
|
Embedded Artists EA3152 Development board. This board is based on the
|
||||||
an NXP LPC3152 MCU. This OS is built with the arm-elf toolchain*.
|
an NXP LPC3152 MCU. This OS is built with the arm-nuttx-elf toolchain*.
|
||||||
STATUS: This port is has not be exercised well, but since it is
|
STATUS: This port is has not be exercised well, but since it is
|
||||||
a simple derivative of the ea3131, it should be fully functional.
|
a simple derivative of the ea3131, it should be fully functional.
|
||||||
|
|
||||||
configs/eagle100
|
configs/eagle100
|
||||||
Micromint Eagle-100 Development board. This board is based on the
|
Micromint Eagle-100 Development board. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
||||||
arm-elf toolchain*. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain*. STATUS: This port is complete and mature.
|
||||||
|
|
||||||
configs/ekk-lm3s9b96
|
configs/ekk-lm3s9b96
|
||||||
TI/Stellaris EKK-LM3S9B96 board. This board is based on the
|
TI/Stellaris EKK-LM3S9B96 board. This board is based on the
|
||||||
|
@ -1591,7 +1591,7 @@ configs/lm3s6432-s2e
|
||||||
configs/lm3s6965-ek
|
configs/lm3s6965-ek
|
||||||
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
||||||
arm-elf toolchain*. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain*. STATUS: This port is complete and mature.
|
||||||
|
|
||||||
configs/lm3s8962-ek
|
configs/lm3s8962-ek
|
||||||
Stellaris LMS38962 Evaluation Kit.
|
Stellaris LMS38962 Evaluation Kit.
|
||||||
|
@ -1607,17 +1607,17 @@ configs/lpc4330-xplorer
|
||||||
|
|
||||||
configs/m68322evb
|
configs/m68322evb
|
||||||
This is a work in progress for the venerable m68322evb board from
|
This is a work in progress for the venerable m68322evb board from
|
||||||
Motorola. This OS is also built with the arm-elf toolchain*. STATUS:
|
Motorola. This OS is also built with the arm-nuttx-elf toolchain*. STATUS:
|
||||||
This port was never completed.
|
This port was never completed.
|
||||||
|
|
||||||
configs/mbed
|
configs/mbed
|
||||||
The configurations in this directory support the mbed board (http://mbed.org)
|
The configurations in this directory support the mbed board (http://mbed.org)
|
||||||
that features the NXP LPC1768 microcontroller. This OS is also built
|
that features the NXP LPC1768 microcontroller. This OS is also built
|
||||||
with the arm-elf toolchain*. STATUS: Contributed.
|
with the arm-nuttx-elf toolchain*. STATUS: Contributed.
|
||||||
|
|
||||||
configs/mcu123-lpc214x
|
configs/mcu123-lpc214x
|
||||||
This port is for the NXP LPC2148 as provided on the mcu123.com
|
This port is for the NXP LPC2148 as provided on the mcu123.com
|
||||||
lpc214x development board. This OS is also built with the arm-elf
|
lpc214x development board. This OS is also built with the arm-nuttx-elf
|
||||||
toolchain*. The port supports serial, timer0, spi, and usb.
|
toolchain*. The port supports serial, timer0, spi, and usb.
|
||||||
|
|
||||||
configs/micropendous3
|
configs/micropendous3
|
||||||
|
@ -1642,7 +1642,7 @@ configs/ne64badge
|
||||||
not yet been fully tested.
|
not yet been fully tested.
|
||||||
|
|
||||||
configs/ntosd-dm320
|
configs/ntosd-dm320
|
||||||
This port uses the Neuros OSD v1.0 Dev Board with a GNU arm-elf
|
This port uses the Neuros OSD v1.0 Dev Board with a GNU arm-nuttx-elf
|
||||||
toolchain*: see
|
toolchain*: see
|
||||||
|
|
||||||
http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home
|
http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home
|
||||||
|
@ -1666,18 +1666,18 @@ configs/olimex-lpc1766stk
|
||||||
Linux or Cygwin. STATUS: Complete and mature.
|
Linux or Cygwin. STATUS: Complete and mature.
|
||||||
|
|
||||||
configs/olimex-lpc2378
|
configs/olimex-lpc2378
|
||||||
This port uses the Olimex-lpc2378 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex-lpc2378 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
||||||
This port for the NXP LPC2378 was contributed by Rommel Marcelo.
|
This port for the NXP LPC2378 was contributed by Rommel Marcelo.
|
||||||
|
|
||||||
configs/olimex-stm32-p107
|
configs/olimex-stm32-p107
|
||||||
This port uses the Olimex STM32-P107 board (STM32F107VC) and a GNU arm-elf
|
This port uses the Olimex STM32-P107 board (STM32F107VC) and a GNU arm-nuttx-elf
|
||||||
toolchain* under Linux or Cygwin. See the https://www.olimex.com/dev/stm32-p107.html
|
toolchain* under Linux or Cygwin. See the https://www.olimex.com/dev/stm32-p107.html
|
||||||
for further information. Contributed by Max Holtzberg. STATUS: Configurations
|
for further information. Contributed by Max Holtzberg. STATUS: Configurations
|
||||||
for the basic OS test and NSH are available and verified.
|
for the basic OS test and NSH are available and verified.
|
||||||
|
|
||||||
configs/olimex-strp711
|
configs/olimex-strp711
|
||||||
This port uses the Olimex STR-P711 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex STR-P711 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. See the http://www.olimex.com/dev/str-p711.html" for
|
Linux or Cygwin. See the http://www.olimex.com/dev/str-p711.html" for
|
||||||
further information. STATUS: Configurations for the basic OS test and NSH
|
further information. STATUS: Configurations for the basic OS test and NSH
|
||||||
are complete and verified.
|
are complete and verified.
|
||||||
|
|
|
@ -57,7 +57,7 @@ endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_AVR_BUILDROOT),y)
|
ifeq ($(CONFIG_AVR_BUILDROOT),y)
|
||||||
# NuttX buildroot GCC toolchain under Linux or Cygwin
|
# NuttX buildroot GCC toolchain under Linux or Cygwin
|
||||||
CROSSDEV = avr-elf-
|
CROSSDEV = avr-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
ARCHCPUFLAGS = -mmcu=atmega128
|
ARCHCPUFLAGS = -mmcu=atmega128
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
include ${TOPDIR}/.config
|
include ${TOPDIR}/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include ${TOPDIR}/tools/Config.mk
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
include ${TOPDIR}/.config
|
include ${TOPDIR}/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include ${TOPDIR}/tools/Config.mk
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
include ${TOPDIR}/.config
|
include ${TOPDIR}/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include ${TOPDIR}/tools/Config.mk
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
include ${TOPDIR}/.config
|
include ${TOPDIR}/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include ${TOPDIR}/tools/Config.mk
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|
|
@ -45,7 +45,7 @@ EXTRA_LIBS = $(OSMODIR)/src/target/firmware/comm/libcomm.a \
|
||||||
# ^^^ Stupid hack! Why do I have to put it twice???
|
# ^^^ Stupid hack! Why do I have to put it twice???
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|
|
@ -45,7 +45,7 @@ EXTRA_LIBS = $(OSMODIR)/src/target/firmware/comm/libcomm.a \
|
||||||
# ^^^ Stupid hack! Why do I have to put it twice???
|
# ^^^ Stupid hack! Why do I have to put it twice???
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|
|
@ -45,7 +45,7 @@ EXTRA_LIBS = $(OSMODIR)/src/target/firmware/comm/libcomm.a \
|
||||||
# ^^^ Stupid hack! Why do I have to put it twice???
|
# ^^^ Stupid hack! Why do I have to put it twice???
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|
|
@ -39,7 +39,7 @@ include ${TOPDIR}/tools/Config.mk
|
||||||
# Setup for the selected toolchain
|
# Setup for the selected toolchain
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
|
|
||||||
CROSSDEV = m9s12x-elf-
|
CROSSDEV = m9s12x-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
WINTOOL = n
|
WINTOOL = n
|
||||||
|
|
||||||
|
|
|
@ -265,7 +265,7 @@ Using OpenOCD and GDB
|
||||||
Once the OpenOCD daemon has been started, you can connect to it via
|
Once the OpenOCD daemon has been started, you can connect to it via
|
||||||
GDB using the following GDB command:
|
GDB using the following GDB command:
|
||||||
|
|
||||||
arm-elf-gdb
|
arm-nuttx-elf-gdb
|
||||||
(gdb) target remote localhost:3333
|
(gdb) target remote localhost:3333
|
||||||
|
|
||||||
And you can load the NuttX ELF file:
|
And you can load the NuttX ELF file:
|
||||||
|
|
|
@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -264,7 +264,7 @@ Using OpenOCD and GDB
|
||||||
Once the OpenOCD daemon has been started, you can connect to it via
|
Once the OpenOCD daemon has been started, you can connect to it via
|
||||||
GDB using the following GDB command:
|
GDB using the following GDB command:
|
||||||
|
|
||||||
arm-elf-gdb
|
arm-nuttx-elf-gdb
|
||||||
(gdb) target remote localhost:3333
|
(gdb) target remote localhost:3333
|
||||||
|
|
||||||
And you can load the NuttX ELF file:
|
And you can load the NuttX ELF file:
|
||||||
|
|
|
@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ GNU Toolchain Options
|
||||||
make # Will build for the devkitARM toolchain
|
make # Will build for the devkitARM toolchain
|
||||||
make CROSSDEV=arm-eabi- # Will build for the devkitARM toolchain
|
make CROSSDEV=arm-eabi- # Will build for the devkitARM toolchain
|
||||||
make CROSSDEV=arm-none-eabi- # Will build for the CodeSourcery toolchain
|
make CROSSDEV=arm-none-eabi- # Will build for the CodeSourcery toolchain
|
||||||
make CROSSDEV=arm-elf- # Will build for the NuttX buildroot toolchain
|
make CROSSDEV=arm-nuttx-elf- # Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
Of course, hard coding this CROSS_COMPILE value in Make.defs file will save
|
Of course, hard coding this CROSS_COMPILE value in Make.defs file will save
|
||||||
some repetitive typing.
|
some repetitive typing.
|
||||||
|
|
|
@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
|
@ -55,7 +55,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
|
@ -106,7 +106,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
|
@ -55,7 +55,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
|
@ -106,7 +106,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
|
@ -55,7 +55,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
|
@ -106,7 +106,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
|
@ -58,7 +58,7 @@ LDNXFLAT = ldnxflat
|
||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
|
@ -109,7 +109,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
|
@ -55,7 +55,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
|
@ -106,7 +106,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
# make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
|
@ -58,7 +58,7 @@ LDNXFLAT = ldnxflat
|
||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
|
@ -109,7 +109,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -59,7 +59,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -121,7 +121,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -59,7 +59,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -121,7 +121,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -82,8 +82,8 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCROSSDEV = arm-elf-
|
ARCROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -153,7 +153,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -73,7 +73,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -134,7 +134,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_KINETIS_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_KINETIS_BUILDROOT),y)
|
ifeq ($(CONFIG_KINETIS_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft -mlong-calls
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft -mlong-calls
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -120,7 +120,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -93,8 +93,8 @@ ifeq ($(CONFIG_LPC43_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC43_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC43_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCROSSDEV = arm-elf-
|
ARCROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -176,7 +176,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -93,8 +93,8 @@ ifeq ($(CONFIG_LPC43_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC43_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC43_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCROSSDEV = arm-elf-
|
ARCROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -176,7 +176,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -137,7 +137,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
@ -132,7 +132,7 @@ OBJEXT = .o
|
||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue