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 two short videos (registration required) highlighting:

System Workbench for STM32

Blind Compiler - A Blindfolded Compiler Is Useless


Hi ben,

From the errors you mention, it looks like you manually created a Release configuration for a CubeMX generated project as, regretfully, CubeMX only generates a Debug configuration for the project.

Eclipse is able to keep all configurations up-to-date with the include file directory specifications, but only for existing configurations, not configurations that are created later on...

You thus have two alternatives:

  1. Only work in Debug mode; if the Debug mode works why change it?
    1. You will deliver code that is not properly tested (except if you fully test it again in Release mode);
    2. Moreover the delivered code will not be debuggable so quite hard to fix if an error is later on detected
    3. Rather than switching to a Release configuration (that optimize and do not provide debug information) you should consider just increasing the optimization level of the Debug configuration
      • Then the final code will still be debuggable (although sometime a bit strange debug behavior can be due to optimizations) so the delivered code will be simpler to fix in case of error.
  2. Create a Release configuration by importing the Debug configuration then adapt the optimize and debug options.

Hope these clarifications will help; hopefully, in a forthcoming release, we can expect CubeMX to generate the Release configuration; ST is aware of the problem and should fix it.

Bernard (Ac6)


Newest Forum Posts

  1. Firmware Installation Process Issue by valkundesuyash@gmail.com, 2019-12-12 16:14
  2. STM32F746-Discovery by stanandrzej, 2019-12-12 13:55
  3. Can't debug by deksnys4life, 2019-12-12 08:16
  4. Can't download StdPeriph library during project creation by klopi90, 2019-12-09 08:46
  5. Building project - subdir.mk error by nupurkohadkar1997, 2019-12-06 18:10
  6. openOCD Wrong device detected by maxim221, 2019-12-06 12:32
  7. STM32429I_Discovery board with printf float support problem by johannes.visser@msc-technologies.eu, 2019-12-05 16:08
  8. malloc heap issue with CubeMX Project by johannes.visser@msc-technologies.eu, 2019-12-05 16:04
  9. Debugger not working by Daniel Jack Morley, 2019-11-27 21:46
  10. Compiler change problem by Lucian Pop, 2019-11-20 17:41

Last-Modified Blogs