Page 1 of 1

Flashing firmware from Linux under Windows (WSL)

Posted: Fri Sep 03, 2021 10:31 am
by Fredckx
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?

Re: Flashing firmware from Linux under Windows (WSL)

Posted: Fri Sep 03, 2021 11:06 am
by ns1668
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).