Ouss4 edited a comment on pull request #2838:
URL: https://github.com/apache/incubator-nuttx/pull/2838#issuecomment-778320497


   > My C3 just arrived today so I'm trying to test. I managed to build and 
flash but it seems I missed flashing the extra required binaries (partitions 
and bootloader?). Can you instruct how to build/where to download these form 
for the C3?
   
   You can get them from IDF the same way for ESP32.
   
   `cd` to an example, say `examples/get-started/hello-world` 
   ```shell
   . ~/idf-path/export.sh
   idf.py  --preview set-target esp32c3
   idf.py menuconfig # Disable the watchdog timer
   idf.py build
   ```
   
   At the end of the build you can find the bootloader and the partition table 
inside the `build` directory.
   
   You can also just do `idf.py flash -p PORT`. The bootloader and the 
partition-table will be flashed, then from NuttX side you only have to flash 
the NuttX image at 0x10000 offset `esptool.py --chip esp32c3 --port 
/dev/ttyUSB0 --baud 921600 write_flash 0x10000 nuttx.bin
   `
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to