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

"builtin-declaration-mismatch" warnings after update to V2.5.0


After upgrading the System Workbench to V2.5.0, I get some “builtin-declaration-mismatch” warnings.
../../eCos_install/include/unistd.h:267:13: warning: declaration of ‘int execve(const char*, char**, char**)’ conflicts with built-in declaration ‘int execve(const char*, char* const*, char* const*)’ -Wbuiltin-declaration-mismatch

I compile with the eCos library, Is there a way to disable these warnings.



Hi Guy,

There are two solutions:

  1. Add -Wno-builtin-declaration-mismatch in the Other flags setting of the MCU GCC Compiler Miscellaneous tab
  2. Correct the eCos declarations to match the standard confused

The first solution is simple, but may mask real errors. The second is longer but safer; however you will have to correct eCos code after each eCos update (unless you are able to submit the correction to eCos...), something that would be simpler if you manage the eCos code under SVN or GIT as updates will retain your corrections.

Hope this helps,

Bernard (Ac6)

Thanks Bernard for the help,

maybe something linked to:
When I highlight an included file, for ex: and then press F3, the system opens the AC6 included file, I would like the eCos file.
It is possible to disable the link to the AC6 include.



Hi Guy,

For the order of includes, go in project properties >> C/C++ General >> Paths and Symbols >> Includes; there you will see all include files directories, in the order they are searched. Ensure the eCos directories are there, probably before all others.

Also it’s possible that some symbols have to be defined for the content of the eCos files to be visible; try to set these in the Symbols tab.



Newest Forum Posts

  1. Firmware Installation Process Issue by goymame, 04:56
  2. Project is locked out when deleted from Project Explorer by roland.berg@rolab.se, 2019-12-15 18:56
  3. Firmware Installation Process Issue by valkundesuyash@gmail.com, 2019-12-12 16:14
  4. STM32F746-Discovery by stanandrzej, 2019-12-12 13:55
  5. Can't debug by deksnys4life, 2019-12-12 08:16
  6. Can't download StdPeriph library during project creation by klopi90, 2019-12-09 08:46
  7. Building project - subdir.mk error by nupurkohadkar1997, 2019-12-06 18:10
  8. openOCD Wrong device detected by maxim221, 2019-12-06 12:32
  9. STM32429I_Discovery board with printf float support problem by johannes.visser@msc-technologies.eu, 2019-12-05 16:08
  10. malloc heap issue with CubeMX Project by johannes.visser@msc-technologies.eu, 2019-12-05 16:04

Last-Modified Blogs