Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions Documentation/components/nxflat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,22 @@ which links the module into the NXFLAT binary format.
``tools/mknxflat`` whenever ``CONFIG_NXFLAT`` is selected, so there is
nothing to install.

``ldnxflat`` is not part of NuttX and has to be built from the buildroot
package, which can be downloaded from
`Bitbucket.org <https://bitbucket.org/nuttx/buildroot/downloads>`__. You
will need version 0.1.7 or later:

- Unpack the package and ``cd`` into the resulting directory.
- Copy a configuration file into the top buildroot directory:
``cp boards/abc-defconfig-x.y.z .config``.
- Run ``make menuconfig`` and select the NXFLAT toolchain. Building GCC
can be omitted if you already have a toolchain of your own.
- Run ``make``. The tool binaries are left under
``build_abc/staging_dir/bin``; put that directory on your ``PATH``.
``ldnxflat`` is not part of NuttX and cannot be: it is GPL and derives from
elf2flt. It lives in the NuttX buildroot toolchain, at
`patacongo/buildroot <https://github.com/patacongo/buildroot>`__, under
``toolchain/nxflat``.

Only that one tool is needed. The rest of the buildroot toolchain is not:
an ordinary ``arm-none-eabi`` GCC compiles and links NXFLAT modules, so a
board does not have to select ``CONFIG_ARM_TOOLCHAIN_BUILDROOT`` to use
them.

``ldnxflat`` reads its input through libbfd, so it is built against a
binutils source tree and a binutils build of the same version.
``toolchain/nxflat/Makefile`` takes those as ``BINUTILS_DIR`` and
``BINUTILS_DIR1``, and expects an ``arch`` symbolic link naming the target,
``thumb2`` or ``arm``. Where the binutils build leaves ``libbfd.a`` varies,
so the library path may need adjusting. Put the result on your ``PATH``.

On ARM, ``arch/arm/src/common/Toolchain.defs`` provides both ``MKNXFLAT``
(with the ``-a`` option following ``CONFIG_ARM_THUMB``) and ``LDNXFLAT``, so
Expand Down
2 changes: 1 addition & 1 deletion Documentation/introduction/about.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ NuttX is a real time embedded operating system (RTOS). Its goals are:
Non-restrictive Apache license.

* **GNU Toolchains**
Compatible GNU toolchains based on `buildroot <http://buildroot.uclibc.org/>`__ available for `download <https://bitbucket.org/nuttx/buildroot/downloads/>`__
Compatible GNU toolchains based on `buildroot <http://buildroot.uclibc.org/>`__ available for `download <https://github.com/patacongo/buildroot>`__
to provide a complete development environment for many architectures.

Feature Set
Expand Down
8 changes: 4 additions & 4 deletions Documentation/introduction/development_environments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ The is the most natural development environment for NuttX. Any version
of the GCC/binutils toolchain may be used. There is a highly modified
`buildroot <http://buildroot.uclibc.org/>`__ available for download from
the `NuttX
Bitbucket.org <https://bitbucket.org/nuttx/buildroot/downloads/>`__
page. This download may be used to build a NuttX-compatible ELF
buildroot <https://github.com/patacongo/buildroot>`__
repository. This download may be used to build a NuttX-compatible ELF
toolchain under Linux or Cygwin. That toolchain will support ARM, m68k,
m68hc11, m68hc12, and SuperH ports. The buildroot GIT may be accessed in
the NuttX `buildroot GIT <https://bitbucket.org/nuttx/buildroot>`__.
the NuttX `buildroot repository <https://github.com/patacongo/buildroot>`__.

Linux + GNU ``make`` + SDCC for Linux
=====================================
Expand All @@ -33,7 +33,7 @@ Windows with Cygwin + GNU ``make`` + GCC/binutils (custom built under Cygwin)
This combination works well too. It works just as well as the native
Linux environment except that compilation and build times are a little
longer. The custom NuttX
`buildroot <https://bitbucket.org/nuttx/buildroot/downloads/>`__
`buildroot <https://github.com/patacongo/buildroot>`__
referenced above may be build in the Cygwin environment as well.

Windows with Cygwin + GNU ``make`` + SDCC (custom built under Cygwin)
Expand Down
4 changes: 2 additions & 2 deletions Documentation/legacy_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ These are standalone repositories:
originates from <http://cxx.uclibc.org/> and has been adapted for NuttX by the
RGMP team (<http://rgmp.sourceforge.net/wiki/index.php/Main_Page>).

* <https://bitbucket.org/nuttx/buildroot>
* <https://github.com/patacongo/buildroot>

A environment that you can to use to build a custom, NuttX GNU toolchain.

Expand Down Expand Up @@ -1841,7 +1841,7 @@ then you may encounter these:
for NXFLAT. NXFLAT is a binary format described in
Documentation/NuttXNxFlat.html. It may be possible to build
standalone versions of the NXFLAT tools; there are a few examples
of this in the buildroot repository at <https://bitbucket.org/nuttx/buildroot>
of this in the buildroot repository at <https://github.com/patacongo/buildroot>
However, it is possible that there could be interoperability issues
with your toolchain since they will be using different versions of
binutils and possibly different ABIs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Toolchain
different from the default).

If you have no ARM toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).

1. You must have already configured NuttX in <some-dir>nuttx.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ NuttX buildroot Toolchain
different from the default).

If you have no ARM toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).

1. You must have already configured NuttX in <some-dir>nuttx.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ NuttX Buildroot Toolchain
different from the default in your PATH variable).

If you have no Cortex-M0 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ NuttX Buildroot Toolchain
different from the default in your PATH variable).

If you have no Cortex-M0 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/platforms/arm/lpc17xx/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ boards.
2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows
native toolchain (CodeSourcery devkitARM or Code Red), or 4) Native
Windows. A DIY toolchain for Linux or Cygwin is provided by the NuttX
`buildroot <https://bitbucket.org/nuttx/buildroot/downloads/>`__
`buildroot <https://github.com/patacongo/buildroot>`__
package.

NXP LPC178x
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ NuttX buildroot Toolchain
different from the default in your PATH variable).

If you have no Cortex-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ 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-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in ``<some-dir>/nuttx``.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ 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-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in ``<some-dir>/nuttx``.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ 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-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in ``<some-dir>/nuttx``.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ NuttX Buildroot Toolchain
different from the default in your PATH variable).

If you have no Cortex-M0 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/platforms/arm/nuc1xx/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ development.
2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows
native toolchain, or 4) Native Windows. A DIY toolchain for Linux or
Cygwin is provided by the NuttX
`buildroot <https://bitbucket.org/nuttx/buildroot/downloads/>`__
`buildroot <https://github.com/patacongo/buildroot>`__
package.


Expand Down
4 changes: 2 additions & 2 deletions Documentation/platforms/arm/sam34/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Cygwin (with native Windows GNU tools or Cygwin-based GNU tools).
2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows
native toolchain (CodeSourcery or devkitARM), or 4) Native Windows. A
DIY toolchain for inux or Cygwin is provided by the NuttX
`buildroot <https://bitbucket.org/nuttx/buildroot/downloads/>`__
`buildroot <https://github.com/patacongo/buildroot>`__
package.

Microchip SAM3X
Expand Down Expand Up @@ -139,7 +139,7 @@ FLASH file system.
with Windows native GNU Cortex-M3 or M4 toolchain (CodeSourcery or
devkitARM), or 4) Native Windows. A DIY toolchain for Linux or Cygwin is
provided by the NuttX
`buildroot <https://bitbucket.org/nuttx/buildroot/downloads/>`__
`buildroot <https://github.com/patacongo/buildroot>`__
package.

Supported Boards
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ NuttX EABI "buildroot" Toolchain
different from the default in your PATH variable).

If you have no Cortex-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ NuttX EABI "buildroot" Toolchain
different from the default in your PATH variable).

If you have no Cortex-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ NuttX EABI "buildroot" Toolchain
different from the default in your PATH variable).

If you have no Cortex-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ NuttX EABI "buildroot" Toolchain
different from the default in your PATH variable).

If you have no Cortex-M0 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ NuttX EABI "buildroot" Toolchain
different from the default in your PATH variable).

If you have no Cortex-M0 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/platforms/arm/stm32f4/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ 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-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

NXFLAT Toolchain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ 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-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ 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-M3 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in <some-dir>/nuttx.::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ NuttX buildroot Toolchain
different from the default).

If you have no ARM toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).

1. You must have already configured NuttX in <some-dir>nuttx.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/platforms/arm/tiva/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ with a GNU arm-nuttx-elf toolchain\* under either Linux or Cygwin.
2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows
native toolchain (CodeSourcery or devkitARM), or 4) Native Windows. A
DIY toolchain for Linux or Cygwin is provided by the NuttX
`buildroot <https://bitbucket.org/nuttx/buildroot/downloads/>`__
`buildroot <https://github.com/patacongo/buildroot>`__
package.

TI/Stellaris LM3S6965
Expand Down
4 changes: 2 additions & 2 deletions Documentation/platforms/avr/at90usb/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ done:
native toolchain, or 4) Native Windows. All testing, however, has been
performed using the NuttX DIY toolchain for Linux or Cygwin is provided
by the NuttX
`buildroot <https://bitbucket.org/nuttx/buildroot/downloads/>`__
`buildroot <https://github.com/patacongo/buildroot>`__
package. As a result, that toolchain is recommended.

Toolchains
Expand All @@ -64,7 +64,7 @@ Buildroot
---------

There is a DIY buildroot version for the AVR boards here:
http://bitbucket.org/nuttx/buildroot/downloads/. See the following section for
https://github.com/patacongo/buildroot. See the following section for
details on building this toolchain.

Before building, make sure that the path to the new toolchain is included in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Buildroot
---------

There is a DIY buildroot version for the AVR boards here:
http://bitbucket.org/nuttx/buildroot/downloads/. See the following section for
https://github.com/patacongo/buildroot. See the following section for
details on building this toolchain.

You may also have to modify the PATH environment variable if your make cannot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ modified to point to the correct path to the HC12 GCC toolchain (if different
from the default in your PATH variable).

If you have no HC12 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin
environments.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ modified to point to the correct path to the HC12 GCC toolchain (if different
from the default in your PATH variable).

If you have no HC12 toolchain, one can be downloaded from the NuttX
Bitbucket download site (https://bitbucket.org/nuttx/buildroot/downloads/).
buildroot repository (https://github.com/patacongo/buildroot).
This GNU toolchain builds and executes in the Linux or Cygwin
environments.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/platforms/hc/m9s12/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ included:
- The Future Electronics Group NE64 /PoE Badge board.

Both use a GNU arm-nuttx-elf toolchain\* under Linux or Cygwin. The
NuttX `buildroot <https://bitbucket.org/nuttx/buildroot/downloads/>`__
NuttX `buildroot <https://github.com/patacongo/buildroot>`__
provides a properly patched GCC 3.4.4 toolchain that is highly optimized
for the m9s12x family.

Expand Down
8 changes: 4 additions & 4 deletions Documentation/platforms/misco/lm32/boards/misoc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ A GNU GCC-based toolchain is assumed. The ``PATH`` environment variable should
be modified to point to the correct path to the LM32 GCC toolchain (if different
from the default in your ``PATH`` variable).

If you have no LM32 toolchain, one can be cloned from the NuttX Bitbucket GIT
repository (https://bitbucket.org/nuttx/buildroot). This GNU toolchain builds
If you have no LM32 toolchain, one can be cloned from the NuttX buildroot GIT
repository (https://github.com/patacongo/buildroot). This GNU toolchain builds
and executes in the Linux or Cygwin environment.

1. You must have already configured NuttX in ``<some-dir>/nuttx``.
Expand All @@ -30,13 +30,13 @@ and executes in the Linux or Cygwin environment.

.. code:: console

$ git clone git@bitbucket.org:nuttx/buildroot.git <some-dir>/buildroot
$ git clone git@github.com:patacongo/buildroot.git <some-dir>/buildroot

or

.. code:: console

$ git clone https://patacongo@bitbucket.org/nuttx/buildroot.git <some-dir>/buildroot
$ git clone https://github.com/patacongo/buildroot.git <some-dir>/buildroot

3.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Building the R8C/M16C/M32C GNU Toolchain Using Buildroot

.. code:: console

$ git clone https://patacongo@bitbucket.org/nuttx/buildroot.git buildroot
$ git clone https://github.com/patacongo/buildroot.git buildroot

Make the archive directory:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ modified to point to the correct path to the SH toolchain (if different from the
default).

If you have no SH toolchain, one can be downloaded from the NuttX Bitbucket
download site (https://bitbucket.org/nuttx/buildroot/downloads/).
repository (https://github.com/patacongo/buildroot).

1. You must have already configured NuttX in <some-dir>nuttx.

Expand Down
2 changes: 1 addition & 1 deletion tools/ci/testlist/arm-06.dat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/arm/r*,CONFIG_ARM_TOOLCHAIN_GNU_EABI
# NXFLAT tools (mknxflat) are not available in the CI container
# ldnxflat is not available in the CI container. mknxflat is in tree.
-pimoroni-pico-2-plus:xipfs-nxflat

# Boards build by CMake
Expand Down
Loading