Add an initial port for the AIFoundry Erbium Minion core running on the public ET-platform system emulator (erbium_emu). NuttX boots directly from a firmware ELF at 0x40000200, runs in machine mode on hart 0 with SMP disabled, and parks secondary harts before they touch memory. The chip layer provides startup, PLIC interrupts, the UART0 console driver and the machine timer. Context switching, FPU save/restore, heap, idle and timer handling reuse the common RISC-V code. Atomics use interrupt masking because the core does not implement the A extension. Erbium implements the F extension but executes fdiv/fsqrt and FENCE.I in microcode, which a standalone image does not provide. The board build files pass -mno-fdiv to GCC when the FPU is enabled, so those operations use software helpers. Startup initializes the FPU without the common FENCE.I sequence, and the board configurations disable the dynamic ELF loader, which also relies on FENCE.I. Add minion:nsh and minion:ostest configurations, Make and CMake support, CMake CI build entries, and a host script that runs prebuilt images in the emulator and checks the console and OS test results. Tested with emulator revision 836a4ab600e9 and xPack GCC 14.3.0: both configurations build with Make and CMake, ostest exits with status 0 including the FPU tests, and the NSH console, procfs, timer and UART receive paths work. Silicon, SMP, protected builds and reboot are not covered by this initial port. Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com> |
||
|---|---|---|
| .github | ||
| arch | ||
| audio | ||
| binfmt | ||
| boards | ||
| cmake | ||
| crypto | ||
| Documentation | ||
| drivers | ||
| dummy | ||
| fs | ||
| graphics | ||
| include | ||
| libs | ||
| mm | ||
| net | ||
| openamp | ||
| pass1 | ||
| sched | ||
| syscall | ||
| tools | ||
| video | ||
| wireless | ||
| .asf.yaml | ||
| .codespell-ignore-lines | ||
| .codespellrc | ||
| .editorconfig | ||
| .gitignore | ||
| .gitmessage | ||
| .pre-commit-config.yaml | ||
| .yamllint | ||
| AUTHORS | ||
| CMakeLists.txt | ||
| CONTRIBUTING.md | ||
| INVIOLABLES.md | ||
| Kconfig | ||
| LICENSE | ||
| Makefile | ||
| NOTICE | ||
| README.md | ||
| ReleaseNotes | ||
Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).
For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.
Getting Started
First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.
Documentation
You can find the current NuttX documentation on the Documentation Page.
Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.
The old NuttX documentation is still available in the Apache wiki.
Supported Boards
NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.
Contributing
If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.
License
The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.