WiFiC3: replace old build script
@iabdalkader could you check if the produced binary is suitable for production?
@iabdalkader could you check if the produced binary is suitable for production?
Sure, I can get around to testing this week or the next.
I see you removed flasher.sh I think we should keep it, or at least add the command to README.md (if it's not already documented somewhere else that I missed). Anyway, I tested this PR, with both Arduino and MicroPython, and the firmware produced by this build does Not work anymore, assuming this is the right command to flash the firmware:
esptool.py --chip esp32c3 -p /dev/ttyACM0 -b 230400 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 ESP32-C3.bin
Note it fails early when initializing the module, but the Arduino driver doesn't detect that it just gets stuck. I tested scan and NTP.
I've tested the PR after the last changes with Arduino and WiFi is working. I've flashed the firmware using esplflash
espflash write-bin 0x0 ESP32-C3.bin