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


Sleep mode is not reducing power consumption

Soon after posting this I started having build problems (see the ‘No Symbol Table’ post)

To fix that I started a new project and copied all the .c and .h files over.

Now it works (both compiler and power saving).

I think what is happening is that I modify the project with Cube while ac6 is running. As a result the .project files will become corrupt and have these strange results.

Since then I always close ac6 when running (or at least saving) with Cube. And so far I have not seen these weird build errors.

As a side note: If anyone knows how to ‘shutdown’ FreeRTOS while sleeping I would love to hear it.
Currently I have a flag I set in the interrupt routine for any interrupt I want to break out of sleep. In the sleep code I have a do while loop looking for the flag. If not seen I just re-enter sleep mode. As a result it wakes up every 1ms (to service FreeRTOS).

I don’t really want to do Tickless because I want to force the sleep mode.

I have tried turning off the system tick and restarting it, but FreeRTOS would not operate properly when I did that (even though that’s what we do in our current products - but they are an older version of FreeRTOS).

-Matt