Compiling NuttX RTOS to ESP32-S2 Saola-1 board

These are the steps I used to get NuttX working on my ESP32-S2-Saola-1 board (note I already had xtensa-esp32s2-elf-gcc toolchain installed) :

$ git clone nuttx
$ git clone apps
$ cd nuttx/
$ ./tools/ esp32s2-saola-1:nsh
$ make download ESPTOOL_PORT=/dev/ttyUSB0
$ picocom -b115200 /dev/ttyUSB0

(Reset the board)

NuttShell (NSH) NuttX-10.1.0-RC1
nsh> ?
help usage: help [-v] []

. cat dd false ls ps sleep uname
[ cd df free mkdir pwd source umount
? cp echo help mkrd rm test unset
basename cmp exec hexdump mount rmdir time usleep
break dirname exit kill mv set true xd

Builtin Apps:
sh nsh
nsh> uname -a
NuttX 10.1.0-RC1 4ae6862bbe Jun 1 2021 14:52:27 xtensa esp32s2-saola-1

nsh> free
       total used free largest nused nfree
Umem: 310256 5792 304464 304464 24 1

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s