Developing NuttX RTOS on FreeBSD

Welcome to the NuttX RTOS development on FreeBSD WIKI page! You will find resources, information, hints and references that should be useful to everyone that develops NuttX RTOS on FreeBSD, mostly current work in progress porting effort so things work out of the box for you :-)

tools / initial configuration

  • [TODO] GNU Make vs BSD Make. For now gmake needs to be used. Find a way to use make both on BSD and Linux.
  • [TODO] GNU AWK vs BSD AWK. Recently the awk was added to the NuttX build process. Find a way to use awk both on BSD and Linux.
  • [DONE] Port initial configuration scripts so they work on FreeBSD / *BSD platforms:

Espressif SDK

RISC-V Toolchain

  • [ONGO] Auto-detect best available toolchain for RISC-V MCU:
    • [DONE] OK: Verify build and run using riscv32-esp-elf toolchain.
    • [ONGO] ERR: Verify build and run using riscv32-unknown-elf (FreeBSD ports). Does not build due -lm error at link stage.
    • [ONGO] ERR: Verify build and run using riscv64-none-elf (FreeBSD ports). Does not build due -lm error at link stage.

genromfs

kconfig-frontends

  • [DONE] Port critical NuttX development dependency kconfig-frontends that allows menuconfig like kernel configuration:
    • This part comes from Linux kernel.
    • Upstream seems unmaintained and there are two known forks: Debian (based on 4.11) and Espressif (based on 4.6 version).
    • Upstream location, maintenance, and ownership needs to be sorted out.
    • Working on local release package provided and referenced by NuttX project.
    • Port is now in the packages.

MicroPython on NuttX

  • [ONGO] Port and run MicroPython interpreter on NuttX:
    • There was MicroPython before in NuttX but it was unstable so it was removed.
    • [ONGO] Modern stable and portable MicroPython on NuttX:
  • electronics/nuttx.txt
  • Last modified: 2022/12/09 23:51
  • by cederom