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


how to add stdint.h? (again)

I have seen how to add stdint.h?Question, and i’ve tried following it: that is, in a project started in STM32CubeIDE, and then imported in System Workbench, I added “include stdint.h” in the “*_it.h” file - unfortunately, I get this:

https://imgur.com/a/wm6AeZWQuestion

(btw, how do you include images on this forum? when I click Choose or Upload Images, I get “about:blank” page opened on Firefox ...)

... that is, I get ‘Unresolved inclusions: stdint.h” (and a bunch of other, what I’d think of as, standard library headers).

So, how do I resolve this? I find it kinda weird if I need to add an include path for what I’d expect to be standard files — but if I do, which include path do I need to add, and how/where?

Ok, so I made a new System Workbench native STM32 project for the same Nucleo board; and could see that there are three paths under the Includes node:

C:/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825/tools/compiler/arm-none-eabi/include
C:/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825/tools/compiler/lib/gcc/arm-none-eabi/7.3.1/include
C:/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825/tools/compiler/lib/gcc/arm-none-eabi/7.3.1/include-fixed

(somewhat strangely, these strings are not present in any file in the newly created project)

I added these manually via

($project)/Properties/C/C++ General/Paths and Symbols/Includes/Languages (GNU C)/Include directories

... and set them as first - now stdint resolves ...