Compile time so slow
Compile time so slow
Did anyone had any idea on this problem?, I am using Arduino IDE 1.8.10, STM32Core, compiling time always take 1 minute or more, which is absolutely annoying, i havent tested on another core though, but it doesnt matter, i just use stm32core these times.
Re: Compile time so slow
Hi Eldi4,
I guess you build under Windows ?
This is related to Arduino IDE.
If you have an antivirus (mainly real-time protection) you can try to disable it.
For example on Linux, I build a sketch in few seconds while the same one on Windows builds in one or more minutes.
I guess you build under Windows ?
This is related to Arduino IDE.
If you have an antivirus (mainly real-time protection) you can try to disable it.
For example on Linux, I build a sketch in few seconds while the same one on Windows builds in one or more minutes.
Re: Compile time so slow
Yes, i use version 1903 of Windows 10 Pro, My computer didnt have any antivirus installed.fpiSTM wrote: Fri Jan 10, 2020 2:26 pm Hi Eldi4,
I guess you build under Windows ?
This is related to Arduino IDE.
If you have an antivirus (mainly real-time protection) you can try to disable it.
For example on Linux, I build a sketch in few seconds while the same one on Windows builds in one or more minutes.
While uploading on normal arduino board it was pretty fast (under 10 seconds), but when uploading to stm32core board, it slows down.
Re: Compile time so slow
I know, but I could not do anything, it relies to the Arduino IDE and how it manages third party core.
I've already had several feedback about that but always the same, Arduino IDE issue.
I've already had several feedback about that but always the same, Arduino IDE issue.
Re: Compile time so slow
if you are using the arduino IDE
there is this little documented
https://github.com/arduino/Arduino/blob ... es.txt#L53
option.
normally Arduino IDE builds in a temporary folder, i dislike that very much as well
i think using this option would place the builds in a fixed path
so try setting this path.
i think arduino ide could do incremental builds if the compiled object files are there. i.e. during an initial build, it parses and compiles all the files.
subsequently, incremental. if it is it would help a lot
if you use VSCode there is also a way to specify the output folder
viewtopic.php?f=18&p=430#p352
there is this little documented
https://github.com/arduino/Arduino/blob ... es.txt#L53
Code: Select all
build.path
normally Arduino IDE builds in a temporary folder, i dislike that very much as well
i think using this option would place the builds in a fixed path
so try setting this path.
i think arduino ide could do incremental builds if the compiled object files are there. i.e. during an initial build, it parses and compiles all the files.
subsequently, incremental. if it is it would help a lot
if you use VSCode there is also a way to specify the output folder
viewtopic.php?f=18&p=430#p352
Re: Compile time so slow
I don't think this change the build time.
Re: Compile time so slow
So, all we have to do is just wait for Arduino IDE to be patched?
Re: Compile time so slow
Yes... but this point is open since a long time, so I don't think this will be solved soon. Maybe this will be better with the new IDE...Eldi4 wrote: Sat Jan 11, 2020 3:13 am So, all we have to do is just wait for Arduino IDE to be patched?
Re: Compile time so slow
You mean using other IDE rather than Arduino IDE?, do you have any recommendation on that?
Re: Compile time so slow
No, I talk about the new Arduino Pro IDE which is actually in beta version and based on Theia