Compiling NuttX to ESP32-C3 (no public yet)
2021-01-30 05:05:28 Author: acassis.wordpress.com(查看原文) 阅读量:330 收藏

Configure the board:

$ ./tools/configure.sh esp32c3-devkit:nsh

Compile:

$ make

Convert the NuttX ELF file:

$ esptool.py --chip esp32-c3 elf2image --flash_mode dio --flash_size 4MB -o ./nuttx.bin nuttx

Put the board in bootloader mode (press and hold Boot button and click on RST button, release Boot button)
Flash it:

$ sudo esptool.py --chip esp32-c3 --port /dev/ttyUSB0 --baud 921600 write_flash 0x10000 nuttx.bin

文章来源: https://acassis.wordpress.com/2021/01/29/compiling-nuttx-to-esp32-c3-no-public-yet/
如有侵权请联系:admin#unsafe.sh