Hi,
I'm suggesting my customer to compile ESP32 SDK on his laptop with Win10 OS. He does not want to use Linux. So I installed mysys32 as ESP user guide said. Although the laptop(T460) is good performance, but when compiling ESP32 SDK, it likes old man... very slow --- 20mins. Should I change some settings of mysys32 to improve its performance? I think it will be good performance when installing Linux on this laptop.
Another question is when flashing under mysys32, the serial port will be "ttyS6" (not USBtty), is there any quick method to only flash image? For example , I copied other image to one folder in WinOS, could I flash it into ESP32 without "make flash" under mysys32?
Buddies, what is your common building/dev platform with high efficiency? Linux? Mysys32 under Win? Or others? My customer's mostly use laptop for quick developing. Any comments are welcome.
Question about Performance of mysys32 on Win10 and flash tool
-
- Posts: 29
- Joined: Mon Feb 20, 2017 2:27 am
Re: Question about Performance of mysys32 on Win10 and flash tool
Try "make flash -j20" , or the number of cores +1 (if quad-core, make flash -j5). This parameter can help you.
Another way to flash binaries to ESP32: Flash download Tool. Flash download tool can upload binaries to esp without "make", you just need know adresses and .bin files to upload.
Another way to flash binaries to ESP32: Flash download Tool. Flash download tool can upload binaries to esp without "make", you just need know adresses and .bin files to upload.
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Question about Performance of mysys32 on Win10 and flash tool
See also viewtopic.php?f=13&t=3953#p17948xiangcheng wrote:I'm suggesting my customer to compile ESP32 SDK on his laptop with Win10 OS. He does not want to use Linux. So I installed mysys32 as ESP user guide said. Although the laptop(T460) is good performance, but when compiling ESP32 SDK, it likes old man... very slow --- 20mins.
-
- Posts: 29
- Joined: Mon Feb 20, 2017 2:27 am
Re: Question about Performance of mysys32 on Win10 and flash tool
Thanks above buddies. I did quick test on one laptop with mysys32 with parameter "-j5" or '-j20', Still bad performance. But it improved to 10 minutes. Let me check more tmr. Do you all develop SDK with Linux OS?krzychb wrote:See also viewtopic.php?f=13&t=3953#p17948xiangcheng wrote:I'm suggesting my customer to compile ESP32 SDK on his laptop with Win10 OS. He does not want to use Linux. So I installed mysys32 as ESP user guide said. Although the laptop(T460) is good performance, but when compiling ESP32 SDK, it likes old man... very slow --- 20mins.
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Question about Performance of mysys32 on Win10 and flash tool
I used to develop on Windows. Now almost entirely switched to Linux and occasionally use Windows.
Compilation of 'blink' example from scratch with '-j5' took 4:30 min on a laptop with Windows 7, i5-5300 @ 2.3GHz processor and SSD.
Recompilation after the 'blink.c' file change took slightly below 30 sec. I am still somehow resistant to move to Windows 10.
Compilation of 'blink' example from scratch with '-j5' took 4:30 min on a laptop with Windows 7, i5-5300 @ 2.3GHz processor and SSD.
Recompilation after the 'blink.c' file change took slightly below 30 sec. I am still somehow resistant to move to Windows 10.
Re: Question about Performance of mysys32 on Win10 and flash tool
Because my computer in working place allowed me use Win10 only, I've tried ESP-IDF on Windows firstly. Its nearly unuseable slow. Later I realize, each generated file on this machine has to pass the anti-virus Software. (the "Blink" example has 2914 files in build directory)
So the solution is very simple: VirtualBox + Ubuntu Mate for me.
So the solution is very simple: VirtualBox + Ubuntu Mate for me.
Who is online
Users browsing this forum: No registered users and 122 guests