Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
Differences in build times between VScode (MSYS) and WSL2 environments.
-
I recently tried to switch from a WSL2 environment to a VScode environment for debugging and found that the time it took to build differed by a factor of 10 or more.
Is this inevitable because I am using MSYS2?
Also, if anyone knows of any tips to speed up the build time on VScode, that would be great.Thank you in advance.
-
@gyps If not already applied, then add "-j" to all make commands in the .vscode/build.sh.
There was a very old post in this forum that explained that the MSYS2 is that slow.
That is all I can say as I am not on Windows. -
-
@jens6151-0-1-1 Thank you for letting me know!!
I will try it in the form of filling in the -j option. -
@gyps
Also try to increase the upload speed.
There is a configuration ${config:spresense.serial.port}. I have no clue how to set it.
The alternative is hack it into the file spresense-sdk/spresense/sdk/tools/flash.shUART_BAUDRATE="230400"
Higher speeds are not successful.
Also do not forget the clean "make clean -j".