From 0db8f0246023a2b21c6172de423e7b5b8e2b39d3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 22 Oct 2009 00:11:53 +0000 Subject: [PATCH] Misc. mosty USB-related updates git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2167 42af7a65-404d-4744-a932-0658087f49c3 --- configs/eagle100/README.txt | 17 +++++++++++++++++ configs/stm3210e-eval/README.txt | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/configs/eagle100/README.txt b/configs/eagle100/README.txt index 4f992935c1..67186d33a4 100644 --- a/configs/eagle100/README.txt +++ b/configs/eagle100/README.txt @@ -81,6 +81,23 @@ GNU Toolchain Options the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM path or will get the wrong version of make. +CodeSourcery on Linux +^^^^^^^^^^^^^^^^^^^^^ + + If you select the CodeSourcery toolchain, the make system will assume that you + are running a Windows version of the toolchain. If you are running under Linux, + the the make will probably fail. The fix is to edit your Make.defs file and + use something like: + + CROSSDEV = arm-none-eabi- + WINTOOL = n + MKDEP = $(TOPDIR)/tools/mkdeps.sh + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft + ARCHINCLUDES = -I. -isystem $(TOPDIR)/include + ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ostest/$(LDSCRIPT) + MAXOPTIMIZATION = -O2 + NuttX buildroot Toolchain ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/configs/stm3210e-eval/README.txt b/configs/stm3210e-eval/README.txt index 5da8320e6d..cfe8d746ba 100755 --- a/configs/stm3210e-eval/README.txt +++ b/configs/stm3210e-eval/README.txt @@ -78,6 +78,23 @@ GNU Toolchain Options the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM path or will get the wrong version of make. +CodeSourcery on Linux +^^^^^^^^^^^^^^^^^^^^^ + + If you select the CodeSourcery toolchain, the make system will assume that you + are running a Windows version of the toolchain. If you are running under Linux, + the the make will probably fail. The fix is to edit your Make.defs file and + use something like: + + CROSSDEV = arm-none-eabi- + WINTOOL = n + MKDEP = $(TOPDIR)/tools/mkdeps.sh + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft + ARCHINCLUDES = -I. -isystem $(TOPDIR)/include + ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ostest/$(LDSCRIPT) + MAXOPTIMIZATION = -O2 + IDEs ^^^^