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


Can't get example working in a STM32CubeMX project

Hi,

I have a STM32412G-Discovery board and I can successfully get examples working. I can also export examples and place them in new directories (which took me some time to figure out!) by amending paths and copying source and include files to my new directory.

I can also generate code with STM32CubeMX and write programs using the HAL library.

The really annoying problem I have is that I can’t get the examples working in the STM32CubeMX project. I must be missing something because it would be pointless having examples if they could not work with a STM32CubeMX project, wouldn’t it?

I have tried amending paths but it doesn’t seem to work - is there a tutorial that shows how to get examples working in a STM32CubeMX project? I have looked but have not found one.

Actually most of the STM32CubeMx examples already have a project (i.e. .cproject ) and you just import them into the workspace, just be aware that they use links (for the location of the c files) for most of the source code.

I have just read back my question and it is not clear, sorry. I will clarify.

I want to set up a clean STM32CubeMX project which only uses the peripherals I configure in STM32CubeMX. In that new project, I want to use code from the example, for instance the following line:

BSP_LED_Init(LED1);

The problem is that LED1 causes an error which I have not yet successfully fixed as it appears in many of the source and header files.

In the new project I have used STM32CubeMX to set up the chip as an STM32412G-Discovery board. I hoped that it would just work, but it doesn’t. A step by step tutorial on getting this process to work would be really useful...