Loading...
 

System Workbench for STM32


How to locate makefiles for finding out why off-the shelf STM32CubeL4 projects don't build and find their include paths

Hy,

while being new to the System workbench environment, I currently fail to build any project from the STM32CubeL4 board.

After installing the Java RTE and the system workbench successfully and setting up a new seperate Eclipse workspace, some installer for a gcc based toolchain did start up, and I successfully succeeded to import at least some of the CubeL4 projects to the project explorer.

When following the CubeL4 documentation, I did attempt to build one of the projects that could be imported successfully.

As expected from a Eclipse-CDT-style environment, some make file seems to be used for building the sources,
however it seems that the compiler is not able to resolve the include paths, even for absolute basics such as
int32_t that should be available in the system’s inttypes.h or stdint.h.

I’d appreciate any hint on how to get the STM32CubeL4 projects running from the beginning.

As a first step, It would be helpful to find out where the makefile is residing, to find out with which compile switches and include paths gcc is run.

Yours.

Bjoern