summaryrefslogtreecommitdiff
path: root/nuttx/configs/nutiny-nuc120/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-23 02:25:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-23 02:25:53 +0000
commitf6cc3cf96afa3b5fd0d633fe532f45316da4bdad (patch)
tree33c0ae7de055a4b4bc9762893a936798421900ca /nuttx/configs/nutiny-nuc120/README.txt
parent8dc2d637b75a2edc0f53a1029a9a45fc2792bfb8 (diff)
downloadpx4-nuttx-f6cc3cf96afa3b5fd0d633fe532f45316da4bdad.tar.gz
px4-nuttx-f6cc3cf96afa3b5fd0d633fe532f45316da4bdad.tar.bz2
px4-nuttx-f6cc3cf96afa3b5fd0d633fe532f45316da4bdad.zip
Buildroot now builds armv6-m toolchain; NuTiny configuration now uses buildroot toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5665 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/nutiny-nuc120/README.txt')
-rw-r--r--nuttx/configs/nutiny-nuc120/README.txt43
1 files changed, 42 insertions, 1 deletions
diff --git a/nuttx/configs/nutiny-nuc120/README.txt b/nuttx/configs/nutiny-nuc120/README.txt
index 5e486e480..3f1e84df9 100644
--- a/nuttx/configs/nutiny-nuc120/README.txt
+++ b/nuttx/configs/nutiny-nuc120/README.txt
@@ -10,6 +10,7 @@ Contents
- Development Environment
- GNU Toolchain Options
+ - NuttX Buildroot Toolchain
- LEDs
- Serial Console
- Debugging
@@ -26,7 +27,47 @@ Development Environment
GNU Toolchain Options
=====================
- As of this writing I have used only the CodeSourcery GCC toolchain for windows.
+ As of this writing, all testing has been performed using the NuttX buildroot
+ toolchain described below. I have also verified the build using the
+ CodeSourcery GCC toolchain for windows. Most any contemporary EABI GCC
+ toolchain should work will a little tinkering.
+
+NuttX Buildroot Toolchain
+=========================
+
+ A GNU GCC-based toolchain is assumed. The files */setenv.sh should
+ be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
+ different from the default in your PATH variable).
+
+ If you have no Cortex-M0 toolchain, one can be downloaded from the NuttX
+ SourceForge download site (https://sourceforge.net/projects/nuttx/files/buildroot/).
+ This GNU toolchain builds and executes in the Linux or Cygwin environment.
+
+ 1. You must have already configured Nuttx in <some-dir>/nuttx.
+
+ cd tools
+ ./configure.sh nutiny-nuc120/<sub-dir>
+
+ 2. Download the latest buildroot package into <some-dir>
+
+ 3. unpack the buildroot tarball. The resulting directory may
+ have versioning information on it like buildroot-x.y.z. If so,
+ rename <some-dir>/buildroot-x.y.z to <some-dir>/buildroot.
+
+ 4. cd <some-dir>/buildroot
+
+ 5. cp configs/cortexm0-eabi-defconfig-4.6.3 .config
+
+ 6. make oldconfig
+
+ 7. make
+
+ 8. Edit setenv.h, if necessary, so that the PATH variable includes
+ the path to the newly built binaries.
+
+ See the file configs/README.txt in the buildroot source tree. That has more
+ details PLUS some special instructions that you will need to follow if you are
+ building a Cortex-M3 toolchain for Cygwin under Windows.
LEDs
====