- Notifications
You must be signed in to change notification settings - Fork10
Tool for flash/monitor ESP-IDF and ESP8266_SDK apps on the WSL2 ⚡
License
abobija/idfx
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
While there isno support for USB devices on WSL2 for now, this tool comes to help you to flash and monitorESP-IDF andESP8266_SDK applications on theWSL2.
Info:
Tested onUbuntu 20.04 LTS andDebian distributions.
Note:
As a prerequisite for using this tool,Python 🐍 needs to be installed on the Windows.
idfx
supports:
- ESP-IDF version 4.0 and above
- ESP8266_SDK version 3.0 and above
Execute next command inside of your WSL to installidfx
curl https://git.io/JyBgj --create-dirs -L -o$HOME/bin/idfx&& chmod u+x$HOME/bin/idfx
Signature:
idfx COMMAND [PORT]
Where thePORT
is serial COM Port on the Windows (use the Device Manager to find your port).
For the full usage please execute next command:
idfx help
For most of the cases (when you edit the code of your application) you can useidfx all COM2
because this command will build, flash and monitor your app, at once. Of course, you need to changeCOM2
(in previous command) with correct COM port.
Command | Description |
---|---|
idfx all COM2 | Build project, flash and monitor serial output, using portCOM2 |
idfx build | Build project |
idfx flash COM2 | Flashing project using portCOM2 |
idfx monitor COM2 | Display serial output of portCOM2 |
idfx flash COM2 monitor | Flash project and display serial output, using portCOM2 |
idfx erase-flash COM2 | Erase the entire flash, using portCOM2 |
idfx help | Show theidfx usage |
Onthis link you can find complete tutorial about how to setup ESP-IDF under WSL2 and how to useidfx
to build, flash and monitor your ESP application.