Flashing firmware from Linux under Windows (WSL)

Fredckx
Posts: 17
Joined: Mon Mar 29, 2021 8:55 pm

Flashing firmware from Linux under Windows (WSL)

Postby Fredckx » Fri Sep 03, 2021 10:31 am

Hi, I installed ESP-IDF under Linux (Ubuntu 20.04 LTS under WSL 2 , this is Linux under Windows). I did this because I need to run some Linux scripts to generate ny source code. Calling "idf.py build" runs OK, but flashing fails because COM ports are not supported. Anyone with experience on Linux/WSL/flashing? or Linux/WSL/COM ports?

ns1668
Posts: 50
Joined: Tue Mar 16, 2021 2:00 pm

Re: Flashing firmware from Linux under Windows (WSL)

Postby ns1668 » Fri Sep 03, 2021 11:06 am

Are you connecting to a devkit board via USB? WSL2 does not currently support serial or USB devices.
My suggestion would be to migrate you environment to a proper linux virtual machine (virtualbox or something similar).

Who is online

Users browsing this forum: No registered users and 241 guests