mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Update all config README.txt files to show that they use the EABI buildroot toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5218 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -165,7 +165,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
Boot Sequence
|
Boot Sequence
|
||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
LPC313x has on chip bootrom which loads properly formatted images from multiple
|
LPC315x has on chip bootrom which loads properly formatted images from multiple
|
||||||
sources into SRAM. These sources include including SPI Flash, NOR Flash, UART,
|
sources into SRAM. These sources include including SPI Flash, NOR Flash, UART,
|
||||||
USB, SD Card, and NAND Flash.
|
USB, SD Card, and NAND Flash.
|
||||||
|
|
||||||
@@ -238,7 +238,7 @@ are the steps that I use for loading new code into the EA3152:
|
|||||||
|
|
||||||
That will load the NuttX binary into ISRAM and attempt to execute it.
|
That will load the NuttX binary into ISRAM and attempt to execute it.
|
||||||
|
|
||||||
*See the LPC313x documentation if you do not have the FTDI driver installed.
|
*See the LPC315x documentation if you do not have the FTDI driver installed.
|
||||||
|
|
||||||
Using OpenOCD and GDB
|
Using OpenOCD and GDB
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
@@ -290,7 +290,7 @@ ARM/EA3152-specific Configuration Options
|
|||||||
|
|
||||||
CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory
|
CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory
|
||||||
|
|
||||||
CONFIG_ARCH_CHIP=lpc313x
|
CONFIG_ARCH_CHIP=lpc31xx
|
||||||
|
|
||||||
CONFIG_ARCH_CHIP_name - For use in C code
|
CONFIG_ARCH_CHIP_name - For use in C code
|
||||||
|
|
||||||
@@ -312,7 +312,7 @@ ARM/EA3152-specific Configuration Options
|
|||||||
endian)
|
endian)
|
||||||
|
|
||||||
CONFIG_DRAM_SIZE - For most ARM9 architectures, this describes the
|
CONFIG_DRAM_SIZE - For most ARM9 architectures, this describes the
|
||||||
size of installed DRAM. For the LPC313X, it is used only to
|
size of installed DRAM. For the LPC315X, it is used only to
|
||||||
deterimine how to map the executable regions. It is SDRAM size
|
deterimine how to map the executable regions. It is SDRAM size
|
||||||
only if you are executing out of the external SDRAM; or it could
|
only if you are executing out of the external SDRAM; or it could
|
||||||
be NOR FLASH size, external SRAM size, or internal SRAM size.
|
be NOR FLASH size, external SRAM size, or internal SRAM size.
|
||||||
@@ -324,7 +324,7 @@ ARM/EA3152-specific Configuration Options
|
|||||||
CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to boards that
|
CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to boards that
|
||||||
have LEDs
|
have LEDs
|
||||||
|
|
||||||
CONFIG_ARCH_IRQPRIO - The LPC313x supports interrupt prioritization
|
CONFIG_ARCH_IRQPRIO - The LPC315x supports interrupt prioritization
|
||||||
|
|
||||||
CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt
|
CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt
|
||||||
stack. If defined, this symbol is the size of the interrupt
|
stack. If defined, this symbol is the size of the interrupt
|
||||||
@@ -378,7 +378,7 @@ ARM/EA3152-specific Configuration Options
|
|||||||
CONFIG_LPC31_EXTSDRAMSIZE - Size (in bytes) of the installed
|
CONFIG_LPC31_EXTSDRAMSIZE - Size (in bytes) of the installed
|
||||||
external NAND memory
|
external NAND memory
|
||||||
|
|
||||||
LPC313X specific device driver settings
|
LPC315X specific device driver settings
|
||||||
|
|
||||||
CONFIG_UART_SERIAL_CONSOLE - selects the UART for the
|
CONFIG_UART_SERIAL_CONSOLE - selects the UART for the
|
||||||
console and ttys0
|
console and ttys0
|
||||||
|
|||||||
@@ -110,8 +110,8 @@ CodeSourcery on Linux
|
|||||||
For an example of a CodeSourcery-under-Linux Make.defs file, see
|
For an example of a CodeSourcery-under-Linux Make.defs file, see
|
||||||
configs/stm3210e-eval/nsh/Make.defs.
|
configs/stm3210e-eval/nsh/Make.defs.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -134,7 +134,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -144,9 +144,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
Ethernet-Bootloader
|
Ethernet-Bootloader
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
Development Environment
|
Development Environment
|
||||||
GNU Toolchain Options
|
GNU Toolchain Options
|
||||||
IDEs
|
IDEs
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
NXFLAT Toolchain
|
||||||
Stellaris EKK-LM3S9B96 Evaluation Kit Configuration Options
|
Stellaris EKK-LM3S9B96 Evaluation Kit Configuration Options
|
||||||
Configurations
|
Configurations
|
||||||
|
|
||||||
@@ -186,8 +188,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/lm3s/lm3s_vectors.S.
|
is arch/arm/src/lm3s/lm3s_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -210,7 +212,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -220,11 +222,58 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
Stellaris EKK-LM3S9B96 Evaluation Kit Configuration Options
|
Stellaris EKK-LM3S9B96 Evaluation Kit Configuration Options
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ Contents
|
|||||||
- Development Environment
|
- Development Environment
|
||||||
- GNU Toolchain Options
|
- GNU Toolchain Options
|
||||||
- IDEs
|
- IDEs
|
||||||
- NuttX buildroot Toolchain
|
- NuttX EABI "buildroot" Toolchain
|
||||||
|
- NuttX OABI "buildroot" Toolchain
|
||||||
|
- NXFLAT Toolchain
|
||||||
- DFU and JTAG
|
- DFU and JTAG
|
||||||
- OpenOCD
|
- OpenOCD
|
||||||
- LEDs
|
- LEDs
|
||||||
@@ -308,8 +310,8 @@ IDEs
|
|||||||
one time from the Cygwin command line in order to obtain the pre-built
|
one time from the Cygwin command line in order to obtain the pre-built
|
||||||
startup object needed by RIDE.
|
startup object needed by RIDE.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
=========================
|
================================
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -332,7 +334,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -342,9 +344,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
================================
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
================
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
DFU and JTAG
|
DFU and JTAG
|
||||||
============
|
============
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
- Development Environment
|
- Development Environment
|
||||||
- GNU Toolchain Options
|
- GNU Toolchain Options
|
||||||
- IDEs
|
- IDEs
|
||||||
- NuttX buildroot Toolchain
|
- NuttX EABI "buildroot" Toolchain
|
||||||
|
- NuttX OABI "buildroot" Toolchain
|
||||||
|
- NXFLAT Toolchain
|
||||||
- DFU
|
- DFU
|
||||||
- LEDs
|
- LEDs
|
||||||
- RTC
|
- RTC
|
||||||
@@ -128,8 +130,8 @@ IDEs
|
|||||||
one time from the Cygwin command line in order to obtain the pre-built
|
one time from the Cygwin command line in order to obtain the pre-built
|
||||||
startup object needed by RIDE.
|
startup object needed by RIDE.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
=========================
|
================================
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -152,7 +154,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -162,9 +164,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
================================
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
================
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
DFU
|
DFU
|
||||||
===
|
===
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,9 @@ Contents
|
|||||||
o Development Environment
|
o Development Environment
|
||||||
o GNU Toolchain Options
|
o GNU Toolchain Options
|
||||||
o IDEs
|
o IDEs
|
||||||
o NuttX buildroot Toolchain
|
o NuttX EABI "buildroot" Toolchain
|
||||||
|
o NuttX OABI "buildroot" Toolchain
|
||||||
|
o NXFLAT Toolchain
|
||||||
|
|
||||||
Kinetis KwikStik-K40 Features:
|
Kinetis KwikStik-K40 Features:
|
||||||
==============================
|
==============================
|
||||||
@@ -249,8 +251,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/kinetis/k40_vectors.S.
|
is arch/arm/src/kinetis/k40_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
=========================
|
================================
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
||||||
be modified to point to the correct path to the Cortex-M4 GCC toolchain (if
|
be modified to point to the correct path to the Cortex-M4 GCC toolchain (if
|
||||||
@@ -260,8 +262,7 @@ NuttX buildroot Toolchain
|
|||||||
SourceForge download site (https://sourceforge.net/projects/nuttx/files/buildroot/).
|
SourceForge download site (https://sourceforge.net/projects/nuttx/files/buildroot/).
|
||||||
This GNU toolchain builds and executes in the Linux or Cygwin environment.
|
This GNU toolchain builds and executes in the Linux or Cygwin environment.
|
||||||
|
|
||||||
NOTE: The NuttX toolchain is an OABI toolchain (vs. the more common EABI)
|
NOTE: The NuttX toolchain may not include optimizations for Cortex-M4 (ARMv7E-M).
|
||||||
and does not include optimizations for Cortex-M4 (ARMv7E-M).
|
|
||||||
|
|
||||||
1. You must have already configured Nuttx in <some-dir>/nuttx.
|
1. You must have already configured Nuttx in <some-dir>/nuttx.
|
||||||
|
|
||||||
@@ -276,7 +277,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -286,9 +287,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M4 toolchain for Cygwin under Windows.
|
building a Cortex-M4 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
================================
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
================
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
KwikStik-K40-specific Configuration Options
|
KwikStik-K40-specific Configuration Options
|
||||||
============================================
|
============================================
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
Development Environment
|
Development Environment
|
||||||
GNU Toolchain Options
|
GNU Toolchain Options
|
||||||
IDEs
|
IDEs
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
NXFLAT Toolchain
|
||||||
USB Device Controller Functions
|
USB Device Controller Functions
|
||||||
Lincoln 60 Configuration Options
|
Lincoln 60 Configuration Options
|
||||||
USB Host Configuration
|
USB Host Configuration
|
||||||
@@ -150,8 +152,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/lpc17x/lpc17_vectors.S.
|
is arch/arm/src/lpc17x/lpc17_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -174,7 +176,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -184,10 +186,58 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
Lincoln 60 Configuration Options
|
Lincoln 60 Configuration Options
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -11,7 +11,9 @@ Contents
|
|||||||
Development Environment
|
Development Environment
|
||||||
GNU Toolchain Options
|
GNU Toolchain Options
|
||||||
IDEs
|
IDEs
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
NXFLFAT Toolchain
|
||||||
Stellaris MDL-S2E Reference Design Configuration Options
|
Stellaris MDL-S2E Reference Design Configuration Options
|
||||||
Configurations
|
Configurations
|
||||||
|
|
||||||
@@ -176,8 +178,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/lm3s/lm3s_vectors.S.
|
is arch/arm/src/lm3s/lm3s_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -204,7 +206,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -214,11 +216,58 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
Stellaris MDL-S2E Reference Design Configuration Options
|
Stellaris MDL-S2E Reference Design Configuration Options
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
Development Environment
|
Development Environment
|
||||||
GNU Toolchain Options
|
GNU Toolchain Options
|
||||||
IDEs
|
IDEs
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
NXFLAT Toolchain
|
||||||
USB Device Controller Functions
|
USB Device Controller Functions
|
||||||
OLED
|
OLED
|
||||||
Stellaris LM3S6965 Evaluation Kit Configuration Options
|
Stellaris LM3S6965 Evaluation Kit Configuration Options
|
||||||
@@ -210,8 +212,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/lm3s/lm3s_vectors.S.
|
is arch/arm/src/lm3s/lm3s_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -234,7 +236,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -244,11 +246,61 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NOTE: This is an OABI toolchain.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
USB Device Controller Functions
|
USB Device Controller Functions
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
Development Environment
|
Development Environment
|
||||||
GNU Toolchain Options
|
GNU Toolchain Options
|
||||||
IDEs
|
IDEs
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
NXFLAT Toolchain
|
||||||
USB Device Controller Functions
|
USB Device Controller Functions
|
||||||
OLED
|
OLED
|
||||||
Stellaris LM3S8962 Evaluation Kit Configuration Options
|
Stellaris LM3S8962 Evaluation Kit Configuration Options
|
||||||
@@ -194,8 +196,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/lm3s/lm3s_vectors.S.
|
is arch/arm/src/lm3s/lm3s_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -218,7 +220,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -228,11 +230,61 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NOTE: This is an OABI toolchain.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
USB Device Controller Functions
|
USB Device Controller Functions
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,9 @@ Contents
|
|||||||
Command Line Flash Programming
|
Command Line Flash Programming
|
||||||
Executing from SPIFI
|
Executing from SPIFI
|
||||||
USB DFU Booting
|
USB DFU Booting
|
||||||
- NuttX buildroot Toolchain
|
- NuttX EABI "buildroot" Toolchain
|
||||||
|
- NuttX OABI "buildroot" Toolchain
|
||||||
|
- NXFLAT Toolchain
|
||||||
- Serial Console
|
- Serial Console
|
||||||
- FPU
|
- FPU
|
||||||
- LPC4330-Xplorer Configuration Options
|
- LPC4330-Xplorer Configuration Options
|
||||||
@@ -462,8 +464,8 @@ Code Red IDE/Tools
|
|||||||
|
|
||||||
To be provided.
|
To be provided.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
=========================
|
================================
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -486,7 +488,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -496,10 +498,58 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
================================
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
================
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
Serial Console
|
Serial Console
|
||||||
==============
|
==============
|
||||||
|
|||||||
@@ -11,7 +11,9 @@ Contents
|
|||||||
Embedded Artist's Base Board
|
Embedded Artist's Base Board
|
||||||
Development Environment
|
Development Environment
|
||||||
GNU Toolchain Options
|
GNU Toolchain Options
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
NXFLAT Toolchain
|
||||||
Code Red IDE
|
Code Red IDE
|
||||||
LEDs
|
LEDs
|
||||||
LPCXpresso Configuration Options
|
LPCXpresso Configuration Options
|
||||||
@@ -406,8 +408,8 @@ Code Red IDE
|
|||||||
All of the above steps are automated in the bash script flash.sh that can
|
All of the above steps are automated in the bash script flash.sh that can
|
||||||
be found in the configs/lpcxpresso/tools directory.
|
be found in the configs/lpcxpresso/tools directory.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -430,7 +432,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -440,10 +442,25 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
NXFLAT Toolchain
|
NXFLAT Toolchain
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
+56
-6
@@ -9,7 +9,9 @@ Contents
|
|||||||
Development Environment
|
Development Environment
|
||||||
GNU Toolchain Options
|
GNU Toolchain Options
|
||||||
IDEs
|
IDEs
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
NXFLAT Toolchain
|
||||||
USB Device Controller Functions
|
USB Device Controller Functions
|
||||||
mbed Configuration Options
|
mbed Configuration Options
|
||||||
USB Host Configuration
|
USB Host Configuration
|
||||||
@@ -120,8 +122,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/lpc17x/lpc17_vectors.S.
|
is arch/arm/src/lpc17x/lpc17_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -144,7 +146,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -154,10 +156,58 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
mbed Configuration Options
|
mbed Configuration Options
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/arm7tdmi-defconfig-4.3.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,9 @@ Contents
|
|||||||
Development Environment
|
Development Environment
|
||||||
GNU Toolchain Options
|
GNU Toolchain Options
|
||||||
IDEs
|
IDEs
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
NXFLAT Toolchain
|
||||||
LEDs
|
LEDs
|
||||||
Nucleus 2G Configuration Options
|
Nucleus 2G Configuration Options
|
||||||
Configurations
|
Configurations
|
||||||
@@ -180,8 +182,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/lpc17x/lpc17_vectors.S.
|
is arch/arm/src/lpc17x/lpc17_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -204,7 +206,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -214,10 +216,58 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
LEDs
|
LEDs
|
||||||
^^^^
|
^^^^
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
Development Environment
|
Development Environment
|
||||||
GNU Toolchain Options
|
GNU Toolchain Options
|
||||||
IDEs
|
IDEs
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
NXFLAT Toolchain
|
||||||
LEDs
|
LEDs
|
||||||
Using OpenOCD and GDB with an FT2232 JTAG emulator
|
Using OpenOCD and GDB with an FT2232 JTAG emulator
|
||||||
Olimex LPC1766-STK Configuration Options
|
Olimex LPC1766-STK Configuration Options
|
||||||
@@ -268,8 +270,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/lpc17x/lpc17_vectors.S.
|
is arch/arm/src/lpc17x/lpc17_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -292,7 +294,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -302,10 +304,58 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you
|
details PLUS some special instructions that you will need to follow if you
|
||||||
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
are building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
NOTE: This is an OABI toolchain.
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
LEDs
|
LEDs
|
||||||
^^^^
|
^^^^
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
- Development Environment
|
- Development Environment
|
||||||
- GNU Toolchain Options
|
- GNU Toolchain Options
|
||||||
- IDEs
|
- IDEs
|
||||||
- NuttX buildroot Toolchain
|
- NuttX EABI "buildroot" Toolchain
|
||||||
|
- NuttX OABI "buildroot" Toolchain
|
||||||
|
- NXFLAT Toolchain
|
||||||
- LEDs
|
- LEDs
|
||||||
- SAM3U-EK-specific Configuration Options
|
- SAM3U-EK-specific Configuration Options
|
||||||
- Configurations
|
- Configurations
|
||||||
@@ -123,8 +125,8 @@ IDEs
|
|||||||
one time from the Cygwin command line in order to obtain the pre-built
|
one time from the Cygwin command line in order to obtain the pre-built
|
||||||
startup object needed by RIDE.
|
startup object needed by RIDE.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -147,7 +149,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -157,9 +159,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
LEDs
|
LEDs
|
||||||
^^^^
|
^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
- Development Environment
|
- Development Environment
|
||||||
- GNU Toolchain Options
|
- GNU Toolchain Options
|
||||||
- IDEs
|
- IDEs
|
||||||
- NuttX buildroot Toolchain
|
- NuttX EABI "buildroot" Toolchain
|
||||||
|
- NuttX OABI "buildroot" Toolchain
|
||||||
|
- NXFLAT Toolchain
|
||||||
- DFU and JTAG
|
- DFU and JTAG
|
||||||
- OpenOCD
|
- OpenOCD
|
||||||
- LEDs
|
- LEDs
|
||||||
@@ -131,8 +133,8 @@ IDEs
|
|||||||
one time from the Cygwin command line in order to obtain the pre-built
|
one time from the Cygwin command line in order to obtain the pre-built
|
||||||
startup object needed by RIDE.
|
startup object needed by RIDE.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
=========================
|
================================
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -155,7 +157,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -165,9 +167,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
================================
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
================
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
DFU and JTAG
|
DFU and JTAG
|
||||||
============
|
============
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
- Development Environment
|
- Development Environment
|
||||||
- GNU Toolchain Options
|
- GNU Toolchain Options
|
||||||
- IDEs
|
- IDEs
|
||||||
- NuttX buildroot Toolchain
|
- NuttX EABI "buildroot" Toolchain
|
||||||
|
- NuttX OABI "buildroot" Toolchain
|
||||||
|
- NXFLAT Toolchain
|
||||||
- STM3220G-EVAL-specific Configuration Options
|
- STM3220G-EVAL-specific Configuration Options
|
||||||
- LEDs
|
- LEDs
|
||||||
- Ethernet
|
- Ethernet
|
||||||
@@ -170,8 +172,8 @@ IDEs
|
|||||||
one time from the Cygwin command line in order to obtain the pre-built
|
one time from the Cygwin command line in order to obtain the pre-built
|
||||||
startup object needed by RIDE.
|
startup object needed by RIDE.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
=========================
|
================================
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -194,7 +196,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -204,9 +206,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
================================
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
================
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
Ethernet
|
Ethernet
|
||||||
========
|
========
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
- Development Environment
|
- Development Environment
|
||||||
- GNU Toolchain Options
|
- GNU Toolchain Options
|
||||||
- IDEs
|
- IDEs
|
||||||
- NuttX buildroot Toolchain
|
- NuttX EABI "buildroot" Toolchain
|
||||||
|
- NuttX OABI "buildroot" Toolchain
|
||||||
|
- NXFLAT Toolchain
|
||||||
- STM3240G-EVAL-specific Configuration Options
|
- STM3240G-EVAL-specific Configuration Options
|
||||||
- LEDs
|
- LEDs
|
||||||
- Ethernet
|
- Ethernet
|
||||||
@@ -177,8 +179,8 @@ IDEs
|
|||||||
one time from the Cygwin command line in order to obtain the pre-built
|
one time from the Cygwin command line in order to obtain the pre-built
|
||||||
startup object needed by RIDE.
|
startup object needed by RIDE.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
=========================
|
================================
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -201,7 +203,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -211,9 +213,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
================================
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
================
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
Ethernet
|
Ethernet
|
||||||
========
|
========
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ Contents
|
|||||||
- Development Environment
|
- Development Environment
|
||||||
- GNU Toolchain Options
|
- GNU Toolchain Options
|
||||||
- IDEs
|
- IDEs
|
||||||
- NuttX buildroot Toolchain
|
- NuttX EABI "buildroot" Toolchain
|
||||||
|
- NuttX OABI "buildroot" Toolchain
|
||||||
|
- NXFLAT Toolchain
|
||||||
- LEDs
|
- LEDs
|
||||||
- PWM
|
- PWM
|
||||||
- UARTs
|
- UARTs
|
||||||
@@ -174,8 +176,8 @@ IDEs
|
|||||||
one time from the Cygwin command line in order to obtain the pre-built
|
one time from the Cygwin command line in order to obtain the pre-built
|
||||||
startup object needed by RIDE.
|
startup object needed by RIDE.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
=========================
|
================================
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -198,7 +200,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -208,9 +210,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
================================
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
================
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
LEDs
|
LEDs
|
||||||
====
|
====
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,9 @@ Contents
|
|||||||
o Development Environment
|
o Development Environment
|
||||||
o GNU Toolchain Options
|
o GNU Toolchain Options
|
||||||
o IDEs
|
o IDEs
|
||||||
o NuttX buildroot Toolchain
|
o NuttX EABI "buildroot" Toolchain
|
||||||
|
o NuttX OABI "buildroot" Toolchain
|
||||||
|
o NXFLAT Toolchain
|
||||||
|
|
||||||
Kinetis TWR-K60N512 Features:
|
Kinetis TWR-K60N512 Features:
|
||||||
=============================
|
=============================
|
||||||
@@ -386,8 +388,8 @@ IDEs
|
|||||||
Startup files will probably cause you some headaches. The NuttX startup file
|
Startup files will probably cause you some headaches. The NuttX startup file
|
||||||
is arch/arm/src/kinetis/k40_vectors.S.
|
is arch/arm/src/kinetis/k40_vectors.S.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
=========================
|
================================
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
||||||
be modified to point to the correct path to the Cortex-M4 GCC toolchain (if
|
be modified to point to the correct path to the Cortex-M4 GCC toolchain (if
|
||||||
@@ -397,8 +399,7 @@ NuttX buildroot Toolchain
|
|||||||
SourceForge download site (https://sourceforge.net/projects/nuttx/files/buildroot/).
|
SourceForge download site (https://sourceforge.net/projects/nuttx/files/buildroot/).
|
||||||
This GNU toolchain builds and executes in the Linux or Cygwin environment.
|
This GNU toolchain builds and executes in the Linux or Cygwin environment.
|
||||||
|
|
||||||
NOTE: The NuttX toolchain is an OABI toolchain (vs. the more common EABI)
|
NOTE: The NuttX toolchain may not include optimizations for Cortex-M4 (ARMv7E-M).
|
||||||
and does not include optimizations for Cortex-M4 (ARMv7E-M).
|
|
||||||
|
|
||||||
1. You must have already configured Nuttx in <some-dir>/nuttx.
|
1. You must have already configured Nuttx in <some-dir>/nuttx.
|
||||||
|
|
||||||
@@ -413,7 +414,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -423,9 +424,59 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M4 toolchain for Cygwin under Windows.
|
building a Cortex-M4 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
================================
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
================
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
TWR-K60N512-specific Configuration Options
|
TWR-K60N512-specific Configuration Options
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
|
|||||||
+56
-5
@@ -11,7 +11,9 @@ Contents
|
|||||||
- Development Environment
|
- Development Environment
|
||||||
- GNU Toolchain Options
|
- GNU Toolchain Options
|
||||||
- IDEs
|
- IDEs
|
||||||
- NuttX buildroot Toolchain
|
- NuttX EABI "buildroot" Toolchain
|
||||||
|
- NuttX OABI "buildroot" Toolchain
|
||||||
|
- NXFLAT Toolchain
|
||||||
- DFU
|
- DFU
|
||||||
- LEDs
|
- LEDs
|
||||||
- VSN-specific Configuration Options
|
- VSN-specific Configuration Options
|
||||||
@@ -128,8 +130,8 @@ IDEs
|
|||||||
one time from the Cygwin command line in order to obtain the pre-built
|
one time from the Cygwin command line in order to obtain the pre-built
|
||||||
startup object needed by RIDE.
|
startup object needed by RIDE.
|
||||||
|
|
||||||
NuttX buildroot Toolchain
|
NuttX EABI "buildroot" Toolchain
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
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
|
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||||
@@ -152,7 +154,7 @@ NuttX buildroot Toolchain
|
|||||||
|
|
||||||
4. cd <some-dir>/buildroot
|
4. cd <some-dir>/buildroot
|
||||||
|
|
||||||
5. cp configs/cortexm3-defconfig-4.3.3 .config
|
5. cp configs/cortexm3-eabi-defconfig-4.6.3 .config
|
||||||
|
|
||||||
6. make oldconfig
|
6. make oldconfig
|
||||||
|
|
||||||
@@ -162,9 +164,58 @@ NuttX buildroot Toolchain
|
|||||||
the path to the newly built binaries.
|
the path to the newly built binaries.
|
||||||
|
|
||||||
See the file configs/README.txt in the buildroot source tree. That has more
|
See the file configs/README.txt in the buildroot source tree. That has more
|
||||||
detailed PLUS some special instructions that you will need to follow if you are
|
details PLUS some special instructions that you will need to follow if you are
|
||||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||||
|
|
||||||
|
NuttX OABI "buildroot" Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The older, OABI buildroot toolchain is also available. To use the OABI
|
||||||
|
toolchain:
|
||||||
|
|
||||||
|
1. When building the buildroot toolchain, either (1) modify the cortexm3-eabi-defconfig-4.6.3
|
||||||
|
configuration to use EABI (using 'make menuconfig'), or (2) use an exising OABI
|
||||||
|
configuration such as cortexm3-defconfig-4.3.3
|
||||||
|
|
||||||
|
2. Modify the Make.defs file to use the OABI converntions:
|
||||||
|
|
||||||
|
+CROSSDEV = arm-nuttx-elf-
|
||||||
|
+ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
|
-CROSSDEV = arm-nuttx-eabi-
|
||||||
|
-ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
|
||||||
|
NXFLAT Toolchain
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If you are *not* using the NuttX buildroot toolchain and you want to use
|
||||||
|
the NXFLAT tools, then you will still have to build a portion of the buildroot
|
||||||
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
|
be downloaded from the NuttX SourceForge download site
|
||||||
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
|
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 lpcxpresso-lpc1768/<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/cortexm3-defconfig-nxflat .config
|
||||||
|
|
||||||
|
6. make oldconfig
|
||||||
|
|
||||||
|
7. make
|
||||||
|
|
||||||
|
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||||
|
the path to the newly builtNXFLAT binaries.
|
||||||
|
|
||||||
VSN-specific Configuration Options
|
VSN-specific Configuration Options
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
Reference in New Issue
Block a user