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


Generating Project Build Scripts


But how can I do this more directly?

In older versions of Eclipse, with other C++ toolchains, I could kick-off a build that accessed the generated makefiles. This is getting more difficult. Relying on a “headless build” allows the IDE and add-in developers to be more creative but makes my job harder.

I’m working on more serious code and dislike the opaque way the toolchain works inside the IDE. For example. there are environment variables put into the spawned shells that aren’t controlled. I don’t really know how the build operates The project needs to have tight control over tools and build procedures so each tool can be validated and the process can be ensured to produce the same binaries on all build machines.

Right now, I can’t build using makefiles because:

There’s a special environement variable (I think) “objects.list” added to the archive command.

Include paths are fully qualified even though they are defined as relative. In the Settings, it shows the command line using the “-I../../” format but the makefiles get fully-qualified paths; “C:/mcustuff/...” Someone is really “helping” but it’s really not helpful. I don’t see an option to turn path expansion off.

Perhaps I need to toss using the AC6 toolchain and go with Cygwin gcc (This is Windows) or just go IAR.

Thoughts and suggestions?