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


Blind Compiler - A Blindfolded Compiler Is Useless

France

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)