NuttX RTOSLast Updated: July 8, 2017 |
Table of Contents |
|
Overview |
Goals. NuttX is a real timed embedded operating system (RTOS). Its goals are:
Small Footprint | |
Usable in all but the tightest micro-controller environments, The focus is on the tiny-to-small, deeply embedded environment. | |
Rich Feature OS Set | |
The goal is to provide implementations of most standard POSIX OS interfaces to support a rich, multi-threaded development environment for deeply embedded processors. NON-GOALS: It is not a goal to provide the level of OS features like those provided by Linux. In order to work with smaller MCUs, small footprint must be more important than an extensive feature set. But standard compliance is more important than small footprint. Surely a smaller RTOS could be produced by ignoring standards. Think of NuttX is a tiny Linux work-alike with a much reduced feature set. | |
Highly Scalable | |
Fully scalable from tiny (8-bit) to moderate embedded (32-bit). Scalability with rich feature set is accomplished with: Many tiny source files, link from static libraries, highly configurable, use of weak symbols when available. | |
Standards Compliance | |
NuttX strives to achieve a high degree of standards compliance.
The primary governing standards are POSIX and ANSI standards.
Additional standard APIs from Unix and other common RTOS's are
adopted for functionality not available under these standards
or for functionality that is not appropriate for the deeply-embedded
RTOS (such as Because of this standards conformance, software developed under other standard OSs (such as Linux) should port easily to NuttX. | |
Real-Time | |
Fully pre-emptible; fixed priority, round-robin, and "sporadic" scheduling. | |
Totally Open | |
Non-restrictive BSD license. | |
GNU Toolchains | |
Compatible GNU toolchains based on buildroot available for download to provide a complete development environment for many architectures. |
Feature Set. Key features of NuttX include:
Standards Compliant Core Task Management | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
| |
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
File system | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
procfs/ pseudo-filesystem support. |
|
|
|
|
|
get and put ), HTML (wget ), and Zmodem (sz and rz ).
|
|
1
FAT long file name support may be subject to certain Microsoft patent restrictions if enabled.
See the top-level |
|
Device Drivers | |
|
|
|
|
|
|
|
|
/dev/null , /dev/zero , /dev/random , and loop drivers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C/C++ Libraries | |
|
|
|
|
|
|
Networking | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FLASH Support | |
| |
| |
| |
| |
| |
USB Host Support | |
| |
| |
| |
| |
USB Device Support | |
| |
| |
| |
| |
Graphics Support | |
| |
| |
| |
| |
| |
| |
| |
Input Devices | |
| |
Analog Devices | |
| |
Motor Control | |
|
NuttX Add-Ons. The following packages are available to extend the basic NuttX feature set:
NuttShell (NSH) | |
| |
BAS 2.4 | |
| |
Pascal Compiler with NuttX runtime P-Code interpreter add-on | |
|
Look at all those files and features... How can it be a tiny OS?. The NuttX feature list (above) is fairly long and if you look at the NuttX source tree, you will see that there are hundreds of source files comprising NuttX. How can NuttX be a tiny OS with all of that?
Lots of Features -- More can be smaller! | |
The philosophy behind that NuttX is that lots of features are great... BUT also that if you don't use those features, then you should not have to pay a penalty for the unused features. And, with NuttX, you don't! If you don't use a feature, it will not be included in the final executable binary. You only have to pay the penalty of increased footprint for the features that you actually use. Using a variety of technologies, NuttX can scale from the very tiny to the moderate-size system. I have executed NuttX with some simple applications in as little as 32K total memory (code and data). On the other hand, typical, richly featured NuttX builds require more like 64K (and if all of the features are used, this can push 100K). |
|
Many, many files -- More really is smaller! | |
One may be intimidated by the size NuttX source tree. There are hundreds of source files! How can that be a tiny OS? Actually, the large number of files is one of the tricks to keep NuttX small and as scalable as possible. Most files contain only a single function. Sometimes just one tiny function with only a few lines of code. Why?
|
|
Other Tricks | |
As mentioned above, the use of many, tiny source files and linking from static libraries keeps the size of NuttX down. Other tricks used in NuttX include:
|
NuttX Discussion Group |
Most NuttX-related discussion occurs on the Yahoo! NuttX group. You are cordially invited to join. I make a special effort to answer any questions and provide any help that I can.
Downloads |
The working version of NuttX is available from the Bitbucket GIT repository here. That same page provides the URLs and instructions for cloning the GIT repository.
In addition to the ever-changing GIT repository, there are frozen released versions of NuttX available.
The current release is NuttX 7.21.
NuttX 7.21 is the 121st release of NuttX.
It was released on June 5, 2016, and is available for download from the
Bitbucket.org website.
Note that the release consists of two tarballs: nuttx-7.21.tar.gz
and apps-7.21.tar.gz
.
Both may be needed (see the top-level nuttx/README.txt
file for build information).
Release notes for NuttX 7.21 are available here. Release notes for all released versions on NuttX are available in the Bitbucket GIT. The ChangeLog for all releases of NuttX is available in the ChangeLog file that can viewed in the Bitbucket GIT. The ChangeLog for the current release is at the bottom of that file.
Release notes for NuttX 7.21 are available here.
Release notes for all released versions on NuttX are available in the Bitbucket GIT
The ChangeLog for the all releases of apps/
is available in the ChangeLog file that can viewed in the Bitbucket GIT.
The ChangeLog for the current release is at the bottom of that file.
Release notes for NxWidgets 1.13 are available here. Release notes for all released versions on NxWidgets are available in the BitBucket GIT The ChangeLog for all releases of NxWidgets is available at the bottom of the ChangeLog file that can viewed in the Bitbucket GIT.
Release notes for all released versions on pascal are available in the Bitbucket GIT The ChangeLog for all releases of pascal is available at the bottom of the ChangeLog file that can viewed in the Bitbucket GIT.
Release notes for buildroot 1.14 are available here. Release notes for all released versions on buildroot are available in the Bitbucket GIT The ChangeLog for all releases of buildroot is available at the bottom of the ChangeLog file that can viewed in the Bitbucket GIT.
Supported Platforms |
Supported Platforms by CPU core. The number of ports to this CPU follow in parentheses. The state of the various ports vary from board-to-board. Follow the links for the details:
|
|
|
Supported Platforms by Manufacturer/MCU Family. CPU core type follows in parentheses. The state of the various ports vary from MCU to MCU. Follow the links for the details:
|
|
|
Details. The details, caveats and fine print follow. For even more information see the README files that can be found here.
Linux User Mode. | |
A user-mode port of NuttX to the x86 Linux/Cygwin platform is available. The purpose of this port is primarily to support OS feature development. STATUS: Does not support interrupts but is otherwise fully functional. Refer to the NuttX README file for further information. |
|
ARM7TDMI. | |
TI TMS320C5471 (also called C5471 or TMS320DA180 or DA180). NuttX operates on the ARM7 of this dual core processor. This port uses the Spectrum Digital evaluation board with a GNU arm-nuttx-elf toolchain* under Linux or Cygwin. STATUS: This port is complete, verified, and included in the initial NuttX release. Refer to the NuttX board README file for further information. |
|
NXP LPC214x. Support is provided for the NXP LPC214x family of processors. In particular, support is provided for (1) the mcu123.com lpc214x evaluation board (LPC2148) and (1) the The0.net ZPA213X/4XPA development board (with the The0.net UG-2864AMBAG01 OLED) This port also used the GNU arm-nuttx-elf toolchain* under Linux or Cygwin. STATUS: This port boots and passes the OS test (apps/examples/ostest). The port is complete and verified. As of NuttX 0.3.17, the port includes: timer interrupts, serial console, USB driver, and SPI-based MMC/SD card support. A verified NuttShell (NSH) configuration is also available. Refer to the NuttX board README files for the mcu123.com and for the ZPA213X/4XPA boards for further information. Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows native toolchain (CodeSourcery or devkitARM), or 4) Native Windows. A DIY toolchain for Linux or Cygwin is provided by the NuttX buildroot package. |
|
NXP LPC2378. Support is provided for the NXP LPC2378 MCU. In particular, support is provided for the Olimex-LPC2378 development board. This port was contributed by Rommel Marcelo is was first released in NuttX-5.3. This port also used the GNU arm-nuttx-elf toolchain* under Linux or Cygwin. STATUS: This port boots and passes the OS test (apps/examples/ostest) and includes a working implementation of the NuttShell (NSH). The port is complete and verified. As of NuttX 5.3, the port included only basic timer interrupts and serial console support. In NuttX 7.1, Lizhuoyi contributed additional I2C and SPI drivers. Refer to the NuttX board README file for further information. Development Environments: (Same as for the NXP LPC214x). |
|
STMicro STR71x. Support is provided for the STMicro STR71x family of processors. In particular, support is provided for the Olimex STR-P711 evaluation board. This port also used the GNU arm-nuttx-elf toolchain* under Linux or Cygwin. STATUS: Integration is complete on the basic port (boot logic, system time, serial console). Two configurations have been verified: (1) The board boots and passes the OS test with console output visible on UART0, and the NuttShell (NSH) is fully functional with interrupt driven serial console. An SPI driver is available but only partially tested. Additional features are needed: USB driver, MMC integration, to name two (the slot on the board appears to accept on MMC card dimensions; I have only SD cards). An SPI-based ENC28J60 Ethernet driver for add-on hardware is available and but has not been fully verified on the Olimex board (due to issues powering the ENC28J60 add-on board). Refer to the NuttX board README file for further information. Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows native toolchain (CodeSourcery or devkitARM), or 4) Native Windows. A DIY toolchain for Linux or Cygwin is provided by the NuttX buildroot package. |
|
ARM920T. | |
Freescale MC9328MX1 or i.MX1. This port uses the Freescale MX1ADS development board with a GNU arm-nuttx-elf toolchain* under either Linux or Cygwin. STATUS: This port has stalled due to development tool issues. Coding is complete on the basic port (timer, serial console, SPI). Refer to the NuttX board README file for further information. |
|
ARM926EJS. | |
TI TMS320DM320 (also called DM320). NuttX operates on the ARM9 of this dual core processor. This port uses the Neuros OSD with a GNU arm-nuttx-elf toolchain* under Linux or Cygwin. The port was performed using the OSD v1.0, development board. STATUS: The basic port (timer interrupts, serial ports, network, framebuffer, etc.) is complete. All implemented features have been verified with the exception of the USB device-side driver; that implementation is complete but untested. Refer to the NuttX board README file for further information. |
|
NXP LPC3131. Two boards based on the NXP LPC3131 are supported:
|
|
NXP LPC315x.
Support for the NXP LPC315x family has been incorporated into the code base as of NuttX-6.4.
Support was added for the Embedded Artists EA3152 board in NuttX-6.11.
STATUS: Basic support is in place for both the LPC3152 MCU and the EA3152 board. Verification of the port was deferred due to tool issues However, because of the high degree of compatibility between the LPC313x and LPC315x family, it is very likely that the support is in place (or at least very close). At this point, verification of the EA3152 port has been overcome by events and may never happen. However, the port is available for anyone who may want to use it. Refer to the NuttX board README file for further information. |
|
Other ARMv4. | |
MoxaRT A port to the Moxa NP51x0 series of 2-port advanced RS-232/422/485 serial device servers was contributed by Anton D. Kachalov in NuttX-7.11. This port includes a NuttShell (NSH) configuraion with support for the Faraday FTMAC100 Ethernet MAC Driver. |
|
ARM Cortex-A5. | |
|
|
Atmel SAMA5D3. There are ports to two Atmel SAMA5D3 boards:
|
|
Atmel SAMA5D4. There is a port in progress on one Atmel SAMA5D4 board:
|
|
Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows native toolchain, or 4) Native Windows. All testing has been performed with the CodeSourcery toolchain (GCC version 4.7.3) in the Cygwin environment under Windows. |
|
ARM Cortex-A8. | |
Allwinner A10. These following boards are based on the Allwinner A10 have are supported by NuttX:
|
|
ARM Cortex-A9. | |
NXP/Freescale i.MX6. The basic port has been completed for the following i.MX6 board
|
|
ARM Cortex-R4. | |
TI/Hercules TMS570LS04xx. A port is underway for the Texas Instruments Hercules TMS570LS04x/03x LaunchPad Evaluation Kit (LAUNCHXL-TMS57004) featuring the Hercules TMS570LS0432PZ chip. STATUS. This is currently in progress but the effort is stalled due to tool-related issues. Refer to the NuttX board README file for further information. Toolchain: The TMS570 is a big-endian ARM platform and requires a big-endian ARM toolchain. All testing has been performed using a big-endian NuttX buildroot toolchain. Instructions for building this toolchain are included in the board README file. |
|
ARM Cortex-M0/M0+. | |
nuvoTon NUC120. This is a port of NuttX to the nuvoTon NuTiny-SDK-NUC120 that features the NUC120LE3AN MCU. STATUS. Initial support for the NUC120 was released in NuttX-6.26. This initial support is very minimal: There is a NuttShell (NSH) configuration that might be the basis for an application development. As of this writing, more device drivers are needed to make this a more complete port. Refer to the NuttX board README file for further information. Memory Usage. For a full-featured RTOS such as NuttX, providing support in a usable and meaningful way within the tiny memories of the NUC120 demonstrates the scalability of NuttX. The NUC120LE2AN comes in a 48-pin package and has 128KB FLASH and 16KB of SRAM. When running the NSH configuration (itself a full up application), there is still more than 90KB of FLASH and 10KB or SRAM available for further application development).
Static memory usage can be shown with $ size nuttx text data bss dec hex filename 35037 106 1092 36235 8d8b nuttx
NuttX, the NSH application, and GCC libraries use 34.2KB of FLASH leaving 93.8KB of FLASH (72%) free from additional application development.
Static SRAM usage is about 1.2KB (<4%) and leaves 14.8KB (86%) available for heap at runtime.
SRAM usage at run-time can be shown with the NSH NuttShell (NSH) NuttX-6.26 nsh> free total used free largest Mem: 14160 3944 10216 10216 nsh> You can see that 10.0KB (62%) is available for further application development. Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows native toolchain, or 4) Native Windows. A DIY toolchain for Linux or Cygwin is provided by the NuttX buildroot package. |
|
FreeScale KL25Z. There are two board ports for the KL25Z parts: Freedom KL25Z. This is a port of NuttX to the Freedom KL25Z board that features the MKL25Z128 Cortex-M0+ MCU, 128KB of FLASH and 16KB of SRAM. See the Freescale website for further information about this board. STATUS. This is the work of Alan Carvalho de Assis. Verified, initial, minimal support for the Freedom KL25Z is in place in NuttX 6.27 and 6.28: There is a working NuttShell (NSH) configuration that might be the basis for an application development. As of NuttX-6.28 more device driver development would be needed to make this a complete port, particularly to support USB OTG. A TSI and a SPI driver were added in NuttX-6.29. Alan contributed a PWM driver in NuttX-6.32. Refer to the Freedom KL25Z board README file for further information. PJRC Teensy-LC. This is a port of NuttX to the PJRC Teensy-LC board that features the MKL25Z64 Cortex-M0+ MCU, 64KB of FLASH and 8KB of SRAM. The Teensy LC is a DIP style breakout board for the MKL25Z64 and comes with a USB based bootloader. See the Freescale website for further information about this board. STATUS. This is the work of Michael Hope. Verified, initial support for the Teensy-LC first appeared in NuttX-7.10. Refer to the Teensy-LC board README file for further information. |
|
FreeScale Freedom KL26Z. This is a port of NuttX to the Freedom KL25Z board that features the MK26Z128VLH4 Cortex-M0+ MCU, 128KB of FLASH and 16KB of SRAM. See the Freescale website for further information about this board. STATUS. This work was contributed in NuttX 7.8 by Derek B. Noonburg. The board support is very similar to the Freedom-KL25Z. It was decided to support this a a separate board, however, due to some small board-level differences. Refer to the Freedom KL26Z board README file for further information. |
|
Atmel SAMD20. The port of NuttX to the Atmel SAMD20-Xplained Pro development board. This board features the ATSAMD20J18A MCU (Cortex-M0+ with 256KB of FLASH and 32KB of SRAM). STATUS. The initial SAMD20 Xplained Pro release (NuttX 7.1) included a functional NuttShell (NSH) configuration. An SPI driver was also included to support the OLED1 and I/O1 modules. That SPI driver, however, was not completed verified due to higher priority tasks that came up (I hope to get back to this later). Refer to the SAMD20 Explained Pro board README file for further information. |
|
Atmel SAML21. The port of NuttX to the Atmel SAML21-Xplained Pro development board. This board features the ATSAML21J18A MCU (Cortex-M0+ with 256KB of FLASH and 32KB of SRAM). STATUS. This is a work in progress. Initial support for the SAML21 Xplained Pro was release in the NuttX 7.10. This initial support included a basic configuration for the NuttShell (NSH) (see the NSH User Guide). Refer to the SAML21 Explained Pro board README file for further information. |
|
NXP LPC11xx. Support is provided for the NXP LPC11xx family of processors. In particular, support is provided for LPCXpression LPC1115 board. This port was contributed by Alan Carvalho de Assis. STATUS: The first released version was provided in NuttX 7.10. Refer to the board README.txt file for further information. |
|
ARM Cortex-M3. | |
TI/Stellaris LM3S6432. This is a port of NuttX to the Stellaris RDK-S2E Reference Design Kit and the MDL-S2E Ethernet to Serial module (contributed by Mike Smith). |
|
TI/Stellaris LM3S6432S2E. This port uses Serial-to-Ethernet Reference Design Kit (RDK-S2E) and has similar support as for the other Stellaris family members. A configuration is available for the NuttShell (NSH) (see the NSH User Guide). The NSH configuration including networking support with a Telnet NSH console. This port was contributed by Mike Smith. STATUS: This port was was released in NuttX 6.14. Refer to the NuttX board README file for further information. |
|
TI/Stellaris LM3S6918. This port uses the Micromint Eagle-100 development board with a GNU arm-nuttx-elf toolchain* under either Linux or Cygwin. STATUS: The initial, release of this port was included in NuttX version 0.4.6. The current port includes timer, serial console, Ethernet, SSI, and microSD support. There are working configurations to run the NuttShell (NSH), the NuttX networking test, and the uIP web server. Refer to the NuttX board README file for further information. Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows native toolchain (CodeSourcery or devkitARM), or 4) Native Windows. A DIY toolchain for Linux or Cygwin is provided by the NuttX buildroot package. |
|
TI/Stellaris LM3S6965. This port uses the Stellaris LM3S6965 Ethernet Evalution Kit with a GNU arm-nuttx-elf toolchain* under either Linux or Cygwin. STATUS: This port was released in NuttX 5.5. Features are the same as with the Eagle-100 LM3S6918 described above. The apps/examples/ostest configuration has been successfully verified and an NSH configuration with Telnet support is available. MMC/SD and Networking support was not been thoroughly verified: Current development efforts are focused on porting the NuttX window system (NX) to work with the Evaluation Kits OLED display. NOTE: As it is configured now, you MUST have a network connected. Otherwise, the NSH prompt will not come up because the Ethernet driver is waiting for the network to come up. Refer to the NuttX board README file for further information. Development Environments: See the Eagle-100 LM3S6918 above. |
|
TI/Stellaris LM3S8962. This port uses the Stellaris EKC-LM3S8962 Ethernet+CAN Evalution Kit with a GNU arm-nuttx-elf toolchain* under either Linux or Cygwin. Contributed by Larry Arnold. STATUS: This port was released in NuttX 5.10. Features are the same as with the Eagle-100 LM3S6918 described above. Refer to the NuttX board README file for further information. |
|
TI/Stellaris LM3S9B96. Header file support was contributed by Tiago Maluta for this part. Jose Pablo Rojas V. is used those header file changes to port NuttX to the TI/Stellaris EKK-LM3S9B96. That port was available in the NuttX-6.20 release. Refer to the NuttX board README file for further information. |
|
SiLabs EFM32 Gecko. This is a port for the Silicon Laboratories' EFM32 Gecko family. Board support is available for the following:
|
|
SiLabs EFM32 Giant Gecko. This is a port for the Silicon Laboratories' EFM32 Giant Gecko family. This board features the EFM32GG990F1024 MCU with 1 MB flash and 128 kB RAM. Board support is available for the following:
|
|
STMicro STM32L152 (STM32L "EnergyLite" Line). This is a port of NuttX to the STMicro STM32L-Discovery development board. The STM32L-Discovery board is based on the STM32L152RBT6 MCU (128KB FLASH and 16KB of SRAM).
The STM32L-Discovery and STM32L152C DISCOVERY kits are functionally equivalent. The difference is the internal Flash memory size (STM32L152RBT6 with 128 Kbytes or STM32L152RCT6 with 256 Kbytes). Both boards feature: STATUS. Initial support for the STM32L-Discovery was released in NuttX-6.28. Addition (architecture-only) support for the STM32L152xC family was added in NuttX-7.21. This initial support includes a configuration using the NuttShell (NSH) that might be the basis for an application development. A driver for the on-board segment LCD is included as well as an option to drive the segment LCD from an NSH "built-in" command. As of this writing, a few more things are needed to make this a more complete port: 1) Verfication of more device drivers (timers, quadrature encoders, PWM, etc.), and 2) logic that actually uses the low-power consumption modes of the EnergyLite part. Refer to the NuttX board README file for further information. Memory Usage. For a full-featured RTOS such as NuttX, providing support in a usable and meaningful way within the tiny memories of the STM32L152RBT6 demonstrates the scalability of NuttX. The STM32L152RBT6 comes in a 64-pin package and has 128KB FLASH and 16KB of SRAM.
Static memory usage can be shown with $ size nuttx text data bss dec hex filename 39664 132 1124 40920 9fd8 nuttx NuttX, the NSH application, and GCC libraries use 38.7KB of FLASH leaving 89.3B of FLASH (70%) free from additional application development. Static SRAM usage is about 1.2KB (<4%) and leaves 14.8KB (86%) available for heap at runtime. SRAM usage at run-time can be shown with the NSHfree command:
NuttShell (NSH) NuttX-6.27 nsh> free total used free largest Mem: 14096 3928 10168 10168 nsh> You can see that 9.9KB (62%) of SRAM heap is still available for further application development while NSH is running. |
|
STMicro STM32L152x/162x (STM32 L1 "EnergyLite" Medium+ Density Family). Support for the STM32L152 and STM32L162 Medium+ density parts from Jussi Kivilinna and Sami Pelkonen was included in NuttX-7.3, extending the basic STM32L152x support. This is architecture-only support, meaning that support for the boards with these chips is available, but no support for any publicly available boards is included. |
|
STMicro STM32F0xx (STM32 F0, ARM Cortex-M0). Support for the STM32 F0 family was contributed by Alan Carvalho de Assis in NuttX-7.21. There are ports to three different boards in this respository:
STATUS: In this initial release, the level of support for the STM32 F0 family is minimal. Certainly enough is in place to support a robust NSH configuration. There are also unverified I2C and USB device drivers available in NuttX-7.21. |
|
STMicro STM32F100x (STM32 F1 "Value Line"Family).
| |
STMicro STM32F102. Architecture support (only) for the STM32 F102 family was contributed by the PX4 team in NuttX-7.7. STATUS: Architecture support only is provided. No specific STM32 F102 boards are supported. |
|
STMicro STM32F103C4/8 (STM32 F1 Low- and Medium-Density Family). There are two ports available for this family:
STATUS:
|
|
STMicro STM32F103x (STM32 F1 Family). Support for four MCUs and four board configurations are available. MCU support includes all of the high density and connectivity line families. Board supported is available specifically for: STM32F103ZET6, STM32F103RET6, STM32F103VCT, STM32F103VET6, STM32F103RBT6, and STM32103CBT6. Boards supported include:
These ports uses a GNU arm-nuttx-elf toolchain* under either Linux or Cygwin (with native Windows GNU tools or Cygwin-based GNU tools).
STATUS: Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows native toolchain (RIDE7, CodeSourcery or devkitARM), or 4) Native Windows. A DIY toolchain or Linux or Cygwin is provided by the NuttX buildroot package. |
|
STMicro STM32F105x. Architecture support (only) for the STM32 F105R was contribed in NuttX-7.17 by Konstantin Berezenko. There is currently no support for boards using any STM32F105x parts in the source tree. |
|
STMicro STM32F107x (STM32 F1 "Connectivity Line" family). Chip support for the STM32 F1 "Connectivity Line" family has been present in NuttX for some time and users have reported that they have successful brought up NuttX on their proprietary boards using this logic.
|
|
STMicro STM32F205 (STM32 F2 family). Architecture only support for the STM32F205RG was contributed as an anonymous contribution in NuttX-7.10. Particle.io Phone. Support for the Particle.io Photon board was contributed by Simon Pirious in NuttX-7.21. The Photon board features the STM32F205RG MCU. The STM32F205RG is a 120 MHz Cortex-M3 operation with 1Mbit Flash memory and 128kbytes. The board port includes support for the on-board Broadcom BCM43362 WiFi and fully usable FullMac network support.
|
|
STMicro STM32F207 (STM32 F2 family).
STATUS: The peripherals of the STM32 F2 family are compatible with the STM32 F4 family. See discussion of the STM3240G-EVAL board below for further information. Refer also to the NuttX board README file for further information. Support for both the IAR and uVision GCC IDEs added for the STM3220G-EVAL board in NuttX 7.16. From Kha Vo. |
|
Atmel SAM3U. This port uses the Atmel SAM3U-EK development board that features the SAM3U4E MCU. This port uses a GNU arm-nuttx-elf or arm-nuttx-eabi toolchain* under either Linux or Cygwin (with native Windows GNU tools or Cygwin-based GNU tools). STATUS: The basic SAM3U-EK port was released in NuttX version 5.1. The basic port includes boot-up logic, interrupt driven serial console, and system timer interrupts. That release passes the NuttX OS test and is proven to have a valid OS implementation. A configuration to support the NuttShell is also included. NuttX version 5.4 adds support for the HX8347 LCD on the SAM3U-EK board. This LCD support includes an example using the NX graphics system. NuttX version 6.10 adds SPI support. Touchscreen support was added in NuttX-6.29. Subsequent NuttX releases will extend this port and add support for the SDIO-based SD cards and USB device. Refer to the NuttX board README file for further information about this port. Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows native toolchain (CodeSourcery or devkitARM), or 4) Native Windows. A DIY toolchain for inux or Cygwin is provided by the NuttX buildroot package. |
|
Atmel SAM3X. This port uses the Arduino Due development board that features the ATSAM3X8E MCU running at 84MHz. See the Arduino Due page for more information. STATUS: As of this writing, the basic port is code complete and a fully verified configuration exists for the NuttShell NSH). The first fully functional Arduino Due port was released in NuttX-6.29. Refer to the NuttX board README file for further information. Development Environments: See the Atmel SAM3U discussion above. |
|
NXP LPC1766, LPC1768, and LPC1769. Drivers are available for CAN, DAC, Ethernet, GPIO, GPIO interrupts, I2C, UARTs, SPI, SSP, USB host, and USB device. Additional drivers for the RTC, ADC, DAC, Timers, PWM and MCPWM were contributed by Max (himax) in NuttX-7.3. Verified LPC17xx configurations are available for these boards:
The Nucleus 2G board, the mbed board, and the LPCXpresso all feature the NXP LPC1768 MCU; the Olimex LPC1766-STK board features an LPC1766. All use a GNU arm-nuttx-elf or arm-eabi toolchain* under either Linux or Cygwin (with native Windows GNU tools or Cygwin-based GNU tools).
STATUS: The following summarizes the features that has been developed and verified on individual LPC17xx-based boards. These features should, however, be common and available for all LPC17xx-based boards. Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows native toolchain (CodeSourcery devkitARM or Code Red), or 4) Native Windows. A DIY toolchain for Linux or Cygwin is provided by the NuttX buildroot package. |
|
NXP LPC1788. The port of NuttX to the WaveShare Open1788 is a collaborative effort between Rommel Marcelo and myself (with Rommel being the leading contributor and I claiming only a support role). You can get more information at the Open1788 board from the WaveShare website.
|
|
ARM Cortex-M4. | |
Infineon XMC45xx. An initial but still incomplete port to the XMC4500 Relax board was released with NuttX-7.21 (although it is not really ready for prime time). Much is functional but there are still some issues with the output to the NSH serial console. This initial porting effort uses the Infineon XMC4500 Relax v1 board as described on the manufacturer's website. The current status of the board is available in the board README file |
|
FreeScale Kinetis K20/Teensy-3.x. Architecture support (only) was added in NuttX-7.10. This support was taken from PX4 and is the work of Jakob Odersky. Support was added for the PJRC Teensy-3.1 board in NuttX-7.11. Backward compatible support for the Teensy-3.0 is included. STATUS: Refer to the Teensy-3.1 board README file for further information. |
|
FreeScale Kinetis K40. This port uses the Freescale Kinetis KwikStik K40. Refer to the Freescale web site for further information about this board. The Kwikstik is used with the FreeScale Tower System (mostly just to provide a simple UART connection) STATUS: The unverified KwikStik K40 first appeared in NuttX-6.8 As of this writing, the basic port is complete but I accidentally locked my board during the initial bringup. Further development is stalled unless I learn how to unlock the device (or until I get another K40). Additional work remaining includes, among other things: (1) complete the basic bring-up, (2) bring up the NuttShell NSH, (3) develop support for the SDHC-based SD card, (4) develop support for USB host and device, and (2) develop an LCD driver. NOTE: Some of these remaining tasks are shared with the K60 work described below. Refer to the NuttX board README file for further information. |
|
FreeScale Kinetis K60. This port uses the Freescale Kinetis TWR-K60N512 tower system. Refer to the Freescale web site for further information about this board. The TWR-K60N51 includes with the FreeScale Tower System which provides (among other things) a DBP UART connection. STATUS: As of this writing, the basic port is complete and passes the NuttX OS test. An additional, validated configuration exists for the NuttShell (NSH, see the NSH User Guide). This basic TWR-K60N512 first appeared in NuttX-6.8. Refer to the NuttX board README file for further information. MK60N512VLL100. Architecture support for the MK60N512VLL100 was contributed by Andrew Webster in NuttX-7.14. |
|
FreeScale Kinetis K64. Support for the Kinetis K64 family and specifically for the NXP/Freescale Freedom K64F board was added in NuttX 7.17. Initial release includes two NSH configurations with support for on-board LEDs, buttons, and Ethernet with the on-board KSZ8081 PHY. SDHC supported has been integrated, but not verified. Refer to the NuttX board README file for further information. MK64FN1M0VMD12. Architecture support for the _MK64FN1M0VMD12 was contributed by Maciej Skrzypek in NuttX-7.20. Freescale Kinetis TWR-K64F120M. Support for the Freescale Kinetis TWR-K64F120M was contributed in NuttX-7.20 by Maciej Skrzypek. Refer to the Freescale web site for further information about this board. The board may be complemented by TWR-SER which includes (among other things), an RS232 and Ethernet connections. Refer to the NuttX board README file for further information. |
|
Driver Status.
|
|
FreeScale Kinetis K66. Support for the Kinetis K64 family and specifically for the NXP/Freescale Freedom K66F board was contributed by David Sidrane in NuttX 7.20. Refer to the NuttX board README file for further information. |
|
Driver Status.
|
|
STMicro STM32 F302 (STM32 F3 family). Architecture (only) support for the STM32 F302 was contributed in NuttX-7.10 by Ben Dyer (vi the PX4 team and David Sidrane). STATUS: There are currently no board configurations using the STM32 F302. |
|
STMicro STM32 F303 (STM32 F3 family).
STM32F3-Discovery. This port uses the STMicro STM32F3-Discovery board featuring the STM32F303VCT6 MCU (STM32 F3 family). Refer to the STMicro web site for further information about this board. STATUS: The basic port for the STM32F3-Discover was first released in NuttX-6.26. Many of the drivers previously released for the STM32 F1, Value Line, and F2 and F4 may be usable on this platform as well. New drivers will be required for ADC and I2C which are very different on this platform. Refer to the NuttX board README file for further information. STMicro ST Nucleo F303RE board. Contributed by Paul Alexander Patience. STATUS: The basic port for the Nucleo F303RE was first released in NuttX-7.12. |
|
STMicro STM32 F372/F373 (Cortex-M4).
Basic architecture support for the STM32F372/F373 was contributed by Marten Svanfeldt in NuttX 7.9. There are no STM32F*72 boards currently supported, however. |
|
STMicro STM324x1 (STM32 F4 family).
Nucleo F401RE. This port uses the STMicro Nucleo F401RE board featuring the STM32F401RE MCU. Refer to the STMicro web site for further information about this board. Nucleo F411RE. This port uses the STMicro Nucleo F411RE board featuring the STM32F411RE MCU. Refer to the STMicro web site for further information about this board. STATUS: |
|
STMicro STM32410 (STM32 F4 family).
Architecture-only support was contributed to NuttX-7.21 by Gwenhael Goavec-Merou. |
|
STMicro STM32407x (STM32 F4 family).
STMicro STM3240G-EVAL. This port uses the STMicro STM3240G-EVAL board featuring the STM32F407IGH6 MCU. Refer to the STMicro web site for further information about this board. STATUS: Refer to the STM3240G-EVAL board README file for further information. STMicro STM32F4-Discovery. This port uses the STMicro STM32F4-Discovery board featuring the STM32F407VGT6 MCU. The STM32F407VGT6 is a 168MHz Cortex-M4 operation with 1Mbit Flash memory and 128kbytes. The board features: Support for the STM3F4DIS-BB base board was added in NuttX-7.5. This includes support for the serial communications via the on-board DB-9 connector, Networking, and the microSD card slot. Refer to the STMicro web site for further information about this board and to STATUS: The basic port for the STM32F4-Discovery was contributed by Mike Smith and was first released in NuttX-6.14. All drivers listed for the STM3240G-EVAL are usable on this platform as well. Refer to the NuttX board README file for further information. MikroElektronika Mikromedia for STM32F4. This is another board supported by NuttX that uses the same STM32F407VGT6 MCU as does the STM32F4-Discovery board. This board, however, has very different on-board peripherals than does the STM32F4-Discovery: See the Mikroelektronika website for more information about this board and the NuttX board README file for further information about the NuttX port. STATUS: The basic port for the Mikromedia STM32 M4 was contributed by Ken Petit and was first released in NuttX-6.128. All drivers for the STM32 F4 family may be used with this board as well. Olimex STM32 H405. Support for the Olimex STM32 H405 development board was contributed by Martin Lederhilger and appeared in NuttX-7.3. See the NuttX board README file for further information about the NuttX port. Olimex STM32 H407. Support for the Olimex STM32 H407 development board was contributed by Neil Hancock and appeared in NuttX-7.14. See the NuttX board README file for further information about the NuttX port. Olimex STM32 E407. Support for the Olimex STM32 E407 development board was contributed by Mateusz Szafoni and appeared in NuttX-7.17. Networking configurations were added in NuttX-7.18. See the NuttX board README file for further information about the NuttX port. Olimex STM32 P407. Support for the Olimex STM32 P407 development board appeared in NuttX-7.19. See the NuttX board README file for further information about the NuttX port. MikroElektronika Clicker2 for STM32. This is yet another board supported by NuttX that uses the same STM32F407VGT6 MCU as does the STM32F4-Discovery board. This board has been used primarily with the MRF24J40 Click board for the development of IEEE 802.15.4 MAC and 6LoWPAN support. See the Mikroelektronika website for more information about this board and the NuttX board README file for further information about the NuttX port. STATUS: The basic port for the Clicker2 STM32 was contributed by Anthony Merlino and was first released in NuttX-7.21. All compatible drivers for the STM32 F4 family may be used with this board as well. |
|
STMicro STM32 F427/437. General architectural support was provided for the F427/437 family in NuttX 6.27. Specific support includes the STM32F427I, STM32F427Z, and STM32F427V chips. This is architecture-only support, meaning that support for the boards with these chips is available, but not support for any publicly available boards is included. This support was contributed by Mike Smith. The F427/437 port adds (1) additional SPI ports, (2) additional UART ports, (3) analog and digital noise filters on the I2C ports, (4) up to 2MB of flash, (5) an additional lower-power mode for the internal voltage regulator, (6) a new prescaling option for timer clock, (7) a larger FSMSC write FIFO, and (8) additional crypto modes (F437 only). |
|
STMicro STM32 F429. Support for STMicro STM32F429I-Discovery development board featuring the STM32F429ZIT6 MCU was contributed in NuttX-6.32 by Ken Pettit. The STM32F429ZIT6 is a 180MHz Cortex-M4 operation with 2Mbit Flash memory and 256kbytes. STATUS:
Refer to the STM32F429I-Discovery board README file for further information. |
|
STMicro STM32 F446. Architecture-only support is available for the STM32 F446 family (meaning that the parts are supported, but there is not example board supported in the system). This support was contributed by David Sidrane and made available in NuttX-7.11. |
|
STMicro STM32 F46xx. Architecture-only support is available for the STM32 F46xx family (meaning that the parts are supported, but there is not example board supported in the system). This support was contributed by Paul Alexander Patienc and made available in NuttX-7.15. |
|
STMicro STM32 L476. Three boards are supported in this family:
Status:
NuttX-7.15. Only the first initial release of support for this family is present. This is an ongoing, work-in-progress. It includes these basics: NuttX-7.16. Additional drivers were contributed: NuttX-7.17. Additional drivers/features were contributed: NuttX-7.18. Additional drivers were contributed: NuttX-7.20. Additional drivers were added: NuttX-7.21. Additional drivers were added: |
|
STMicro STM32 L4x2. Architecture support for STM32 L4x2 family was contributed by Juha Niskanen in NuttX-7.21. Two boards are currently supported.
See also the status above for the STM32 L476 most of which also applies to these parts. |
|
STMicro STM32 L496. Architecture support for STM32 L496 was contributed by Juha Niskanen along with board support for the Nucleo-L496ZG in NuttX-7.21:
|
|
NCP LPC43xx. Several board ports are available for this higher end, NXP Cortex-M4F part:
NXG Technologies LPC4330-Xplorer. This NuttX port is for the LPC4330-Xplorer board from NGX Technologies featuring the NXP LPC4330FET100 MCU. See the NXG website for further information about this board. NXP/Embest LPC4357-EVB. This NuttX port is for the LPC4357-EVB from NXP/Embest featuring the NXP LPC4357FET256 MCU. The LPC4357 differs from the LPC4330 primarily in that it includes 1024KiB of on-chip NOR FLASH. See the NXP website for more detailed information about the LPC4357 and the LPC4357-EVB. NXP LPC4370-Link2. This is the NuttX port to the NXP LPC4370-Link2 development board featuring the NXP LPC4370FET100 MCU. WaveShare LPC4337-WS. This is the NuttX port to the WaveShare LPC4337-WS development board featuring the NXP LPC4337JBD144 MCU. |
|
Driver Status.
|
|
TI Stellaris LM4F120. This port uses the TI Stellaris LM4F120 LaunchPad. Jose Pablo Carballo and I are doing this port. STATUS: As of this writing, the basic port is code complete and a fully verified configuration exists for the NuttShell NSH). The first fully functional LM4F120 LaunchPad port was released in NuttX-6.27. |
|
TI Tiva TM4C123G. This port uses the Tiva C Series TM4C123G LaunchPad Evaluation Kit (EK-TM4C123GXL).
STATUS: |
|
TI Tiva TM4C1294. This port uses the TI Tiva C Series TM4C1294 Connected LaunchPad (EK-TM4C1294XL).
STATUS: |
|
TI Tiva TM4C129X. This port uses the TI Tiva C Series TM4C129X Connected Development Kit (DK-TM4C129X).
STATUS: |
|
TI/Tiva CC3200 Launchpad. TI/Tiva CC3200 Launchpad STATUS: This is very much a work in progress. The basic port was released in NuttX-7.5. This basic board supported includes an verified configuration for the NuttShell NSH). Key wireless networking capability is still missing. Refer to the CC3200 LaunchPad board README file for more detailed information about this port. |
|
Atmel SAM4L. This port uses the Atmel SAM4L Xplained Pro development board. This board features the ATSAM4LC4C MCU running at 48MHz with 256KB of FLASH and 32KB of internal SRAM.
STATUS: As of this writing, the basic port is code complete and a fully verified configuration exists for the NuttShell NSH). The first fully functional SAM4L Xplained Pro port was released in NuttX-6.28. Support for the SAM4L Xplained modules was added in NuttX-6.29: Memory Usage. The ATSAM4LC4C comes in a 100-pin package and has 256KB FLASH and 32KB of SRAM. Below is the current memory usage for the NSH configuration (June 9, 2013). This is not a minimal implementation, but a full-featured NSH configuration.
Static memory usage can be shown with $ size nuttx text data bss dec hex filename 43572 122 2380 46074 b3fa nuttx NuttX, the NSH application, and GCC libraries use 42.6KB of FLASH leaving 213.4B of FLASH (83.4%) free from additional application development. Static SRAM usage is about 2.3KB (<7%) and leaves 29.7KB (92.7%) available for heap at runtime. SRAM usage at run-time can be shown with the NSHfree command.
This runtime memory usage includes the static memory usage plus all dynamic memory allocation for things like stacks and I/O buffers:
NuttShell (NSH) NuttX-6.28 nsh> free total used free largest Mem: 29232 5920 23312 23312 You can see that 22.8KB (71.1%) of the SRAM heap is staill available for further application development while NSH is running. |
|
Atmel SAM4CM. General architectural support was provided for SAM4CM family in NuttX 7.3 This was architecture-only support, meaning that support for the boards with these chips is available, but no support for any publicly available boards was included. The SAM4CM port should be compatible with most of the SAM3/4 drivers (like HSMCI, DMAC, etc.) but those have not be verified on hardware as of this writing. This support was contributed in part by Max Neklyudov. |
|
Atmel SAM4CMP-DB. Support for the SAM4CMP-DB board was contributed to NuttX by Masayuki Ishikawa in NuttX-7.19. The SAM4CM is a dual-CPU part and SMP was included for the ARMv7-M and SAM3/4 families. The SAM4CMP-DB board support includes an NSH configuration that operates in an SMP configuration. Refer to the NuttX board README file for further information. |
|
Atmel SAM4E. General architectural support was provided for the SAM4E family in NuttX 6.32. This was architecture-only support, meaning that support for the boards with these chips is available, but no support for any publicly available boards was included. This support was contributed in part by Mitko. Atmel SAM4E-EK. Board support was added for the SAM4E-EK development board in NuttX 7.1. A fully functional NuttShell (NSH) configuration is available (see the NSH User Guide). That NSH configuration includes networking support and support for an AT25 Serial FLASH file system.
|
|
Atmel SAM4S. There are ports to two Atmel SAM4S board:
|
|
Atmel SAM4E. General architectural support was provided for the SAM4E family in NuttX 6.32. This was architecture-only support, meaning that support for the boards with these chips is available, but no support for any publicly available boards was included. This support was contributed in part by Mitko. Atmel SAM4E-EK. Board support was added for the SAM4E-EK development board in NuttX 7.1. A fully functional NuttShell (NSH) configuration is available (see the NSH User Guide). That NSH configuration includes networking support and support for an AT25 Serial FLASH file system.
|
|
Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU Cortex-M3 or 4 toolchain, 3) Cygwin/MSYS with Windows native GNU Cortex-M3 or M4 toolchain (CodeSourcery or devkitARM), or 4) Native Windows. A DIY toolchain for Linux or Cygwin is provided by the NuttX buildroot package. |
|
ARM Cortex-M7. | |
Atmel SAMV71. This port uses Atmel SAM V71 Xplained Ultra Evaluation Kit (SAMV71-XULT). This board features the ATSAMV71Q21 Cortex-M7 microcontroller. Refer to the Atmel web site for further information about this board.
STATUS: The basic port is complete and there are several different, verified configurations available. All configurations use the NuttShell (NSH) and a serial console. The first release of the SAMV71-XULT port was available in NuttX-7.9. Support for the connect maXTouch Xplained Pro LCD as added in NuttX-7.10. Additional drivers, with status as of 2015-04-03, include: Additional Drivers added in NuttX-7.11 include: Additional Drivers added in NuttX-7.13 include: And in NuttX-7.14: |
|
Atmel SAME70. This port uses Atmel SAM E70 Xplained Evaluation Kit (ATSAME70-XPLD). This board is essentially a lower cost version of the SAMV71-XULT board featuring the ATSAME70Q21 Cortex-M7 microcontroller. See the Atmel SAMV71 for supported features. Also refer to the NuttX board README file for further information. |
|
STMicro STM32 F745/F746. Two boards are supported for this MCU: STM32F746G Discovery. One port uses the STMicro STM32F746G-DISCO development board featuring the STM32F746NGH6 MCU. The STM32F746NGH6 is a 216MHz Cortex-M7 operation with 1024Kb Flash. Refer to the STMicro web site for further information about this board. A basic port for the Nucleo-144 board with the STM32F746ZG MCU was contribued in NuttX-7.16 by Kconstantin Berezenko. STATUS: The basic STM32F746G-DISCO port is complete and there are two, verified configurations available. Both configurations use the NuttShell (NSH) and a serial console; one includes Ethernet support. The first release of the STM32F746G_DISCO port was available in NuttX-7.11. Refer to the NuttX board README file for further information.
|
|
STMicro STM32 F756. Architecture-only support is available for the STM32 F756 family (meaning that the parts are supported, but there is not example board supported in the system). This support was made available in NuttX-7.11. See above for STM32 F7 driver availability. |
|
STMicro STM32 F76xx/F77xx. Architecture support for the STM32 F76xx and F77xx families was contributed by David Sidrane in NuttX 7.17. Support is available for one board from this family:
See above for STM32 F7 driver availability. |
|
Development Environments: The same basic development environment is recommended for the Cortex-M7 as for the Cortex-M4. It would be wise to use the latest GNU toolchains for this part because as of this writing (2015-02-09), support for the Cortex-M7 is a very new GCC feature. |
|
Atmel AVR. | |
AVR ATMega. SoC Robotics ATMega128. This port of NuttX to the Amber Web Server from SoC Robotics is partially completed. The Amber Web Server is based on an Atmel ATMega128. STATUS: Work on this port has stalled due to toolchain issues. Complete, but untested code for this port appears in the NuttX 6.5 release. Refer to the NuttX board README file for further information. LowPowerLab MoteinoMEGA. This port of NuttX to the MoteinoMEGA from LowPowerLab. The MoteinoMEGA is based on an Atmel ATMega1284P. See the LowPowerlab website and the board README file for further information. STATUS: The basic function port support the NuttShell (NSH) was contribute by Jedi Tek'Enum and first appeared in the NuttX 7.8 release. Arduino MEGA2560. Extension of the AVR architecture to support the ATMega2560 and specifi support for the Arduion MEGA2560 board were contributed by Dimitry Kloper and first released in NuttX-7.14. STATUS: The basic port was released in NuttX-7.14 including a simple "Hello, World!" and OS test configurations. Extensive effort was made to the use the special capabilities of the Atmel Studio AVR compiler to retain strings in FLASH memory and so keep the SRAM memory usage to a minimum. Refer to the NuttX board README file for further information. |
|
AVR AT90USB64x and AT90USB6128x. Micropendous 3 AT90USB64x and AT90USB6128x. This port of NuttX to the Opendous Micropendous 3 board. The Micropendous3 is may be populated with an AT90USB646, 647, 1286, or 1287. I have only the AT90USB647 version for testing. This version have very limited memory resources: 64K of FLASH and 4K of SRAM. STATUS: The basic port was released in NuttX-6.5. This basic port consists only of a "Hello, World!!" example that demonstrates initialization of the OS, creation of a simple task, and serial console output. Refer to the NuttX board README file for further information. PJRC Teensy++ 2.0 AT90USB1286. This is a port of NuttX to the PJRC Teensy++ 2.0 board. This board was developed by PJRC. The Teensy++ 2.0 is based on an Atmel AT90USB1286 MCU. STATUS: The basic port was released in NuttX-6.5. This basic port consists of a "Hello, World!!" example that demonstrates initialization of the OS, creation of a simple task, and serial console output as well as a somewhat simplified NuttShell (NSH) configuration (see the NSH User Guide). An SPI driver and a USB device driver exist for the AT90USB as well as a USB mass storage configuration. However, this configuration is not fully debugged as of the NuttX-6.5 release. Refer to the NuttX board README file for further information. | |
AVR-Specific Issues. The basic AVR port is solid. The biggest issue for using AVR is its tiny SRAM memory and its Harvard architecture. Because of the Harvard architecture, constant data that resides to flash is inaccessible using "normal" memory reads and writes (only SRAM data can be accessed "normally"). Special AVR instructions are available for accessing data in FLASH, but these have not been integrated into the normal, general purpose OS.
Most NuttX test applications are console-oriented with lots of strings used for
| |
Development Environments: 1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS with Windows native toolchain, or 4) Native Windows. All testing, however, has been performed using the NuttX DIY toolchain for Linux or Cygwin is provided by the NuttX buildroot package. As a result, that toolchain is recommended. |
|
Atmel AVR32. | |
AV32DEV1. This port uses the www.mcuzone.com AVRDEV1 board based on the Atmel AT32UC3B0256 MCU. This port requires a special GNU avr32 toolchain available from atmel.com website. This is a windows native toolchain and so can be used only under Cygwin on Windows.
STATUS: This port is has completed all basic development, but there is more that needs to be done. All code is complete for the basic NuttX port including header files for all AT32UC3* peripherals. The untested AVR32 code was present in the 5.12 release of NuttX. Since then, the basic RTOS port has solidified: The basic, port was be released in NuttX-5.13. A complete port will include drivers for additional AVR32 UC3 devices -- like SPI and USB --- and will be available in a later release, time permitting. Refer to the NuttX board README file for further information. |
|
Misoc LM32. | |
Misoc LM32 Architectural Support. Architectural support for the Misoc LM32 was contributed by Ramtin Amin in NuttX 7.19. Driver support is basic in this initial release: Serial, Timer, and Ethernet. "Board" support is a available for developing with Misoc LM32 under Qemu or on your custom FPGA. |
|
Freescale M68HCS12. | |
MC9S12NE64. Support for the MC9S12NE64 MCU and two boards are included:
Both use a GNU arm-nuttx-elf toolchain* under Linux or Cygwin. The NuttX buildroot provides a properly patched GCC 3.4.4 toolchain that is highly optimized for the m9s12x family. STATUS: Coding is complete for the MC9S12NE64 and for the NE64 Badge board. However, testing has not yet begun due to issues with BDMs, Code Warrior, and the paging in the build process. Progress is slow, but I hope to see a fully verified MC9S12NE64 port in the near future. Refer to the NuttX board README files for DEMO9S12NE64 and for the NE64 /PoE Badge for further information. |
|
Intel 80x86. | |
QEMU/Bifferboard i486. This port uses the QEMU i486 and the native Linux, Cywgin, MinGW the GCC toolchain under Linux or Cygwin. STATUS: The basic port was code-complete in NuttX-5.19 and verifed in NuttX-6.0. The port was verified using the OS and NuttShell (NSH) examples under QEMU. The port is reported to be functional on the Bifferboard as well. In NuttX 7.1, Lizhuoyi contributed additional keyboard and VGA drivers. This is a great, stable starting point for anyone interest in fleshing out the x86 port! Refer to the NuttX README file for further information. |
|
MicroChip PIC32MX (MIPS 24Kc). | |
PIC32MX250F128D. A port is in progress from the DTX1-4000L "Mirtoo" module from Dimitech. This module uses MicroChip PIC32MX250F128D and the Dimitech DTX1-4000L EV-kit1 V2. See the Dimitech website for further information. STATUS: The basic port is code complete. The OS test configuration is fully functional and proves that we have a basically healthy NuttX port to the Mirtoo. A configuration is available for the NuttShell (NSH). The NSH configuration includes support for a serial console and for the SST25 serial FLASH and the PGA117 amplifier/multiplexer on board the module. The NSH configuration is set up to use the NuttX wear-leveling FLASH file system (NXFFS). The PGA117, however, is not yet fully integrated to support ADC sampling. See the NSH User Guide for further information about NSH. The first verified port to the Mirtoo module was available with the NuttX 6.20 release. Refer to the NuttX board README file for further information. |
|
PIC32MX440F512H. This port uses the "Advanced USB Storage Demo Board," Model DB-DP11215, from Sure Electronics. This board features the MicroChip PIC32MX440F512H. See the Sure website for further information about the DB-DP11215 board. (I believe that that the DB-DP11215 may be obsoleted now but replaced with the very similar, DB-DP11212. The DB-DP11212 board differs, I believe, only in its serial port configuration.) STATUS: This NuttX port is code complete and has considerable test testing. The port for this board was completed in NuttX 6.11, but still required a few bug fixes before it will be ready for prime time. The fully verified port first appeared in NuttX 6.13. Available configurations include the NuttShell (NSH - see the NSH User Guide). An untested USB device-side driver is available in the source tree. A more complete port would include support of the USB OTG port and of the LCD display on this board. Those drivers are not yet available as of this writing. Refer to the NuttX board README file for further information. PIC32MX460F512L. There one two board ports using this chip: STATUS: The basic port is code complete and fully verified in NuttX 6.13. Available configurations include the NuttShell (NSH - see the NSH User Guide). Refer to the NuttX board README file for further information. STATUS: The basic port is code complete and fully verified in NuttX 6.18. Available configurations include the NuttShell (NSH - see the NSH User Guide). USB has not yet been fully tested but on first pass appears to be functional. Refer to the NuttX board README file for further information. |
|
PIC32MX795F512L. There one two board ports using this chip:
STATUS: This port was started and then shelved for some time until I received the Expansion I/O board. The basic Starter Kit (even with the Multimedia Expansion Board, MEB, DM320005)) has no serial port and most NuttX test configurations depend heavily on console output. A verified configuration is available for the NuttShel (NSH) appeared in NuttX-6.16. Board support includes a verified USB (device-side) driver. Also included are a a verified Ethernet driver, a partially verified USB device controller driver, and an unverifed SPI driver. Refer to the NuttX board README file for further information. STATUS: A verified configuration is available for an extensive NuttShell (NSH) configuration. The NSH configuration includes: (1) Full network support, (2) Verified SPI driver, (3) SPI-based SD Card support, (4) USB device support (including configuration options for the USB mass storage device and the CDC/ACM serial class), and (5) Support for the MIO283QT2 LCD on the PIC32MX7 MMB. (6) Support for the MIO283QT9A LCD used on later boards (NuttX 7.1). The PIC32MX7 MMB's touchscreen is connected directly to the MCU via ADC pins. A touchscreen driver has been developed using the PIC32's ADC capabilities and can be enabled in the NSH configuration. However, additional verification and tuning of this driver is required. Further display/touchscreen verification would require C++ support (for NxWidgets and NxWM). Since I there is no PIC32 C++ is the free version of the MPLAB C32 toolchain, further graphics development is stalled. Refer to the NuttX board README file for further information. |
|
Development Environment: These ports uses either:
|
|
MicroChip PIC32MZ (MIPS M14K). | |
PIC32MZEC Family. A port is in available for the PIC32MZ Embedded Connectivity (EC) Starter Kit. There are two configurations of the Microchip PIC32MZ EC Starter Kit:
See the Microchip website for further information.
STATUS: This is a collaborative effort between Kristopher Tate, David Sidrane and myself. The basic port is functional and a NuttShell (NSH) configurqation is available. The first official release was in NuttX-7.9. Current efforts are focused on driver development. Many drivers port simply from the PIC32MX; others require more extensive efforts. Driver status as of (2015-03-29) is provided below:
|
|
Development Environment: Same as for the PIC32MZ. |
|
Renesas/Hitachi SuperH. | |
SH-1 SH7032. This port uses the Hitachi SH-1 Low-Cost Evaluation Board (SH1_LCEVB1), US7032EVB, with a GNU ELF toolchain* under Linux or Cygwin. STATUS: This port is available as of release 0.3.18 of NuttX. The port is basically complete and many examples run correctly. However, there are remaining instabilities that make the port un-usable. The nature of these is not understood; the behavior is that certain SH-1 instructions stop working as advertised. This could be a silicon problem, some pipeline issue that is not handled properly by the gcc 3.4.5 toolchain (which has very limit SH-1 support to begin with), or perhaps with the CMON debugger. At any rate, I have exhausted all of the energy that I am willing to put into this cool old processor for the time being. Refer to the NuttX board README file for further information. |
|
Renesas M16C/26. | |
Renesas M16C/26 Microcontroller. This port uses the Renesas SKP16C26 Starter kit and the GNU M32C toolchain. The development environment is either Linux or Cygwin under WinXP.
STATUS:
Initial source files released in nuttx-0.4.2.
At this point, the port has not been integrated; the target cannot be built
because the GNU m32c-nuttx-elf-ld: BFD (GNU Binutils) 2.19 assertion fail /home/Owner/projects/nuttx/buildroot/toolchain_build_m32c/binutils-2.19/bfd/elf32-m32c.c:482
Where the reference line is: /* If the symbol is out of range for a 16-bit address, we must have allocated a plt entry. */ BFD_ASSERT (*plt_offset != (bfd_vma) -1); No workaround is known at this time. This is a show stopper for M16C. Refer to the NuttX board README file for further information. |
|
RISC-V. | |
RISC-V Architectural Support. Basic support for the RISC-V architecture was contributed by Ken Pettit in NuttX-7.19. The initial release is thin but a great starting point for anyone interested in RISC-V development with NuttX. |
|
ESP32 (Dual Xtensa LX6). | |
Xtensa LX6 ESP32 Architectural Support. Basic architectural support for Xtensa LX6 processors and the port for the Expressif ESP32 were added in NuttX-7.19. The basic ESP32 port is function in both single CPU and dual CPU SMP configurations. Expressif ESP32 Core v2 Board The NuttX release includes support for Expressif ESP32 Core v2 board. There is an NSH configuration for each CPU configuration and an OS test configuration for verificatin of the port. STATUS. ESP32 support in NuttX-7.19 is functional, but very preliminary. There is little yet in the way of device driver support. Outstanding issues include missing clock configuration logic, missing partition tables to support correct configuration from FLASH, and some serial driver pin configuration issues. The configuration is usable despite these limitations. Refer to the NuttX board README file for further information. |
|
Zilog ZNEO Z16F. | |
|
|
Zilog eZ80 Acclaim!. | |
Zilog eZ80Acclaim! Microcontroller. There are two eZ80Acclaim! ports:
Both boards are based on the eZ80F091 part and both use the Zilog ZDS-II Windows command line tools. The development environment is either Windows native or Cygwin under Windows. STATUS: Integration and testing of NuttX on the ZiLOG ez80f0910200zcog-d is complete. The first integrated version was released in NuttX version 0.4.2 (with important early bugfixes in 0.4.3 and 0.4.4). As of this writing, that port provides basic board support with a serial console, SPI, and eZ80F91 EMAC driver. Refer to the NuttX board README files for the ez80f0910200kitg and ez80f910200zcofile for further information. |
|
Zilog Z8Encore!. | |
Zilog Z8Encore! Microcontroller. This port uses the either:
and the Zilog ZDS-II Windows command line tools. The development environment is either Windows native or Cygwin under Windows. STATUS: This release has been verified only on the ZiLOG ZDS-II Z8Encore! chip simulation as of nuttx-0.3.9. Refer to the NuttX board README files for the z8encore000zco and for thez8f64200100kit for further information. |
|
Zilog Z180. | |
P112. The P112 is a hobbyist single board computer based on a 16MHz Z80182 with up to 1MB of memory, serial, parallel and diskette IO, and realtime clock, in a 3.5-inch drive form factor. The P112 computer originated as a commercial product of "D-X Designs Pty Ltd"[ of Australia. Dave Brooks was successfully funded through Kickstarter for and another run of P112 boards in November of 2012. In addition Terry Gulczynski makes additional P112 derivative hobbyist home brew computers.STATUS: Most of the NuttX is in port for both the Z80182 and for the P112 board. Boards from Kickstarter project will not be available, however, until the third quarter of 2013. So it will be some time before this port is verified on hardware. Refer to the NuttX board README file for further information. |
|
Zilog Z80. | |
Z80 Instruction Set Simulator. This port uses the SDCC toolchain under Linux or Cygwin (verified using version 2.6.0). This port has been verified using only a Z80 instruction simulator called z80sim. STATUS: This port is complete and stable to the extent that it can be tested using an instruction set simulator. Refer to the NuttX board README file for further information. |
|
XTRS: TRS-80 Model I/III/4/4P Emulator for Unix. A very similar Z80 port is available for XTRS, the TRS-80 Model I/III/4/4P Emulator for Unix. That port also uses the SDCC toolchain under Linux or Cygwin (verified using version 2.6.0). STATUS: Basically the same as for the Z80 instruction set simulator. This port was contributed by Jacques Pelletier. Refer to the NuttX board README file for further information. |
* A highly modified buildroot is available that may be used to build a NuttX-compatible ELF toolchain under Linux or Cygwin. Configurations are available in that buildroot to support ARM, Cortex-M3, avr, m68k, m68hc11, m68hc12, m9s12, blackfin, m32c, h8, and SuperH ports.
Development Environments |
Linux + GNU make + GCC/binutils for Linux
|
|
The is the most natural development environment for NuttX. Any version of the GCC/binutils toolchain may be used. There is a highly modified buildroot available for download from the NuttX Bitbucket.org page. This download may be used to build a NuttX-compatible ELF toolchain under Linux or Cygwin. That toolchain will support ARM, m68k, m68hc11, m68hc12, and SuperH ports. The buildroot GIT may be accessed in the NuttX buildroot GIT. |
|
Linux + GNU make + SDCC for Linux
|
|
Also very usable is the Linux environment using the SDCC compiler. The SDCC compiler provides support for the 8051/2, z80, hc08, and other microcontrollers. The SDCC-based logic is less well exercised and you will likely find some compilation issues if you use parts of NuttX with SDCC that have not been well-tested. |
|
Windows with Cygwin + GNU make + GCC/binutils (custom built under Cygwin)
|
|
This combination works well too. It works just as well as the native Linux environment except that compilation and build times are a little longer. The custom NuttX buildroot referenced above may be build in the Cygwin environment as well. |
|
Windows with Cygwin + GNU make + SDCC (custom built under Cygwin)
|
|
I have never tried this combination, but it would probably work just fine. |
|
Windows with Cygwin + GNU make + Windows Native Toolchain
|
|
This is a tougher environment. In this case, the Windows native toolchain is unaware of the Cygwin sandbox and, instead, operates in the native Windows environment. The primary difficulties with this are:
Fortunately, this conversion is done simply using the The NuttX make system works around this limitation by copying the platform specific directories in place. These copied directories make work a little more complex, but otherwise work well.
NOTE: In this environment, it should be possible to use the NTFS
NOTE: dependencies may be suppressed by setting the make variable Supported Windows Native Toolchains. At present, the following Windows native toolchains are in use:
|
|
Windows Native (CMD.exe ) + GNUWin32 (including GNU make ) + MinGW Host GCC compiler + Windows Native Toolchain
|
Build support has been added to support building natively in a Windows console rather than in a POSIX-like environment. This build:
This capability first appeared in NuttX-6.24 and should still be considered a work in progress because: (1) it has not been verfied on all targets and tools, and (2) still lacks some of the creature-comforts of the more mature environments.
The windows native build logic initiated if At present, this build environment also requires:
|
Wine + GNU make + Windows Native Toolchain
|
|
I've never tried this one, but I off the following reported by an ez80 user using the ZiLOG ZDS-II Windows-native toolchain:
|
|
Other Environments? | |
Environment Dependencies. The primary environmental dependency of NuttX are (1) GNU make, (2) bash scripting, and (3) Linux utilities (such as cat, sed, etc.). If you have other platforms that support GNU make or make utilities that are compatible with GNU make, then it is very likely that NuttX would work in that environment as well (with some porting effort). If GNU make is not supported, then some significant modification of the Make system would be required. MSYS. I have not used MSYS but what I gather from talking with NuttX users is that MSYS can be used as an alternative to Cygwin in any of the above Cygwin environments. This is not surprising since MSYS is based on an older version of Cygwin (cygwin-1.3). MSYS has been modified, however, to interoperate in the Windows environment better than Cygwin and that may be of value to some users.
MSYS, however, cannot be used with the native Windows NuttX build because it will invoke the MSYS bash shell instead of the |
Licensing |
NuttX is available under the highly permissive BSD license. Other than some fine print that you agree to respect the copyright you should feel absolutely free to use NuttX in any environment and without any concern for jeopardizing any proprietary software that you may link with it.
Bugs, Issues, Things-To-Do |
The current list of NuttX Things-To-Do in GIT here.
Other Documentation |
1 This configuration variable document is auto-generated using the kconfig2html tool That tool analyzes the NuttXKconfig
files and generates the HTML document. As a consequence, this file may not be present at any given time but can be regenerated following the instructions intools
directory README file.
Trademarks |
NOTE: NuttX is not licensed to use the POSIX trademark. NuttX uses the POSIX standard as a development guideline only.