MSYS2 vs Ubuntu

peterglen
Posts: 27
Joined: Thu Mar 22, 2018 5:55 pm

MSYS2 vs Ubuntu

Postby peterglen » Sat Mar 02, 2019 7:26 pm

I am developing for ESP32 on MSYS2. Works great. But recently, I switched to Ubuntu, running in virtual box. Works awesome. Compiles faster, flashes faster ... until I got a couple of V4 boards. The V2 boards I have got operate well in Ubuntu, but with the V4 boards, I cannot flash them. (timeout waiting for a packet) If I play with the reset / boot buttons it starts to flash (reluctantly) but then on reboot the board freezes. (looks like serial port freeze). Now everything operates correctly on MSYS2, why do the V4 boards do this in Ubuntu? Here is what I checked: fresh update; on both systems; esptool.py are binary identical. Please advise.

mikemoy
Posts: 606
Joined: Fri Jan 12, 2018 9:10 pm

Re: MSYS2 vs Ubuntu

Postby mikemoy » Sat Mar 02, 2019 9:45 pm

I cannot answer your question, but I can offer a way to help MSYS2 compile faster for you, and odds are it will do so faster than running Ubuntu in a virtual box.

When you use Make, add -jx option. This will use more of your CPU cores to compile. For instance I have a 12 core PC. So I use make -j12.

Who is online

Users browsing this forum: No registered users and 136 guests