ArduinoCore-renesas icon indicating copy to clipboard operation
ArduinoCore-renesas copied to clipboard

WiFiC3: replace old build script

Open facchinm opened this issue 2 years ago • 3 comments

@iabdalkader could you check if the produced binary is suitable for production?

facchinm avatar Nov 13 '23 17:11 facchinm

@iabdalkader could you check if the produced binary is suitable for production?

Sure, I can get around to testing this week or the next.

iabdalkader avatar Nov 15 '23 09:11 iabdalkader

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.

iabdalkader avatar Dec 06 '23 10:12 iabdalkader

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

pennam avatar Feb 19 '24 16:02 pennam