Rust on Xiao ESP32s3

Hi,
Is there anyone successfully flash Rust programs using espflash tool on Xiao series or ESP32s3 in particular? I can’t find any guide for doing so, any sharing how to do it are appreciated. Thank you.

FYI, I build Rust using cargo and my program is no-std.

Best regards,
Tuan

Hi,
Finally I found how to do it myself, to share if someone need it :

$ espflash flash --list-all-ports --before usb-reset --after hard-reset --monitor --chip esp32s3 --flash-size 8mb target/xtensa-esp32s3-none-elf/release/the_elf_file

It is pity that the Seeed’s documentation is a bit poor, it just talk about Arduino IDE, no CLI like using espflash nor esptool.py.

Best regards,
Tuan

1 Like