Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


delay before build

Hi,
whenever I click on “build” in the systemworkbench, it takes up to 15 seconds until the builder really starts compiling. I already deactivated logging, have 4 parallel jobs for building, and the virus scanner is disabled. still the problem remains.
Anybody having an idea?
thanks,
Michael

Hi Michatroniker,

During these 15 seconds before the builder really starts compiling, do you see processing operations in the progress view?

Regards,
Elliot

you mean the build console? no, nothing there. after the 15sec, it starts with

11:14:51 **** Incremental Build of configuration Debug for project test ****

No no the progress view. :-)
This view is not displayed by default, you can open it via Window -> Show View -> other... -> General -> progress
This view show you all operations in progress. And maybe it will help you to understand what happens during these 15 seconds.

Elliot


Hi,

I had the same problem. I figured out, that I had included a folder that contained some source code and some documentation files as well. I think it was a case of CMSIS folder. Even though I have excluded the documentation files from the build, there was still some delay, before the compilation actually started. When I included just folders that contains source code alone (didn’t use exclude filter), the delay was gone.

Regards,
Jan

No,
I ment “Resource filter” 2018 01 16 08 54 25 Properties For SAppMidPart001 .
Also, try to use the “Internal builder”. It seems it doesn’t generate makefiles when it’s not necessary. 2018 01 16 08 55 28 Properties For SAppMidPart001 .
Regards,
Jan

thanks! I added the Filter just as you did, it did not change anything. Using the internal builder indeed skips generating the makefiles, but it does not build successfully.. (using the external one, it works)

The issue is: “undefined reference to `__errno’”
Quick googling found some solution (scroll to the bottom of the page): https://community.st.com/thread/11205Question

Thanks for your reply and sorry for my delay, I am on a trip to Nigeria currently.
So, I added the math library, then it was building successfully.
Still, my postbuild commands (generating a hex and printing size info) did not work anymore: I figured out, that you can not use post-build with parallel build jobs due to this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=408948Question

thats pretty uncool. Also I had to seperate the post-build commands by ; instead of && to make it work, and the color of the zize info is not nicely blue anymore....

So, this internal builder is working, but only with some limitations.
Thanks still!

Ah, thanks about info about that bug, didn’t know about it.

thanks. in the progress view it says that it is “generating makefiles” for different folders which takes some time. is that neccessary for each build?

Hi Michael,

Sorry for the late reply, unfortunately I am not an expert with the CDT build system.
I looked and tried in my little projects, I see also “generating makefiles” each time I build but it is fast enough to not disturb me.
Did you try the Jan proposal ?

Regards,
Elliot