RTEMS | ESP-32 C5 and C6 (#5527)

Kinsey Moore (@opticron) gitlab at rtems.org
Sat Mar 21 00:05:43 UTC 2026




Kinsey Moore commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5527#note_146578


You'd do best with hello.exe for now using the branch specified above. I'm doing some cleanup right now to get interrupts fully functional and I'll be verifying ticker this weekend (most likley) or possibly even tonight. After buildinghe commands you need are:
```none
riscv-rtems7-objcopy -O binary build/riscv/esp32c3db/testsuites/samples/hello.exe hello.bin
esptool --port /dev/ttyACM0 --baud 921600 write_flash 0x0 hello.bin
```

If you have a TTL serial to USB adapter, I'd recommend using that since it will show you all output (it requires setting `ESPRESSIF_USE_USB_CONSOLE=false` in config.ini).

Currently, the integrated USB-serial interface does not wait for the link to come up so especially fast execution can lead to a lack of output. To see this output, you'll need a recent version of OpenOCD.

After you download the code, you'll run with `openocd -f board/esp32c3-builtin.cfg` and then you can use GDB to attach (`riscv-rtems7-gdb build/riscv/esp32c3db/testsuites/samples/hello.exe`) with command `tar ext :3333`.

After that, you can use minicom or another serial port terminal emulator to access /dev/ttyACM0 and then run the GDB command `monitor reset`. This will cause the CPU to reset without tearing down the USB connection and you will be able to see the output.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5527#note_146578
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260321/077967cb/attachment.htm>


More information about the bugs mailing list