ArduPilot / ArduRemoteID

RemoteID support using OpenDroneID
GNU General Public License v2.0
103 stars 50 forks source link

WSL2 Support for flashing ESP32-S3 #20

Open kspons opened 2 years ago

kspons commented 2 years ago

For those working on Windows using WSL 2: In order to connect a USB device to WSL, follow the instructions from Microsoft. For me, the ESP32 shows up at /dev/ttyACM0 . You can find the location of your device by checking /dev/tty* or with lsusb . Instead of running make upload inside of the RemoteIDModule dir, you can construct your own command to flash the ESP32

~/.arduino15/packages/esp32/hardware/esp32/2.0.3/tools/esptool.py --port /dev/ttyACM0 write_flash 0x0 ArduRemoteID-ESP32S3_DEV.bin

Be sure to change the command to match the settings on your system.