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

Trying to figure out why my timer only ticks once



How did you create your project? It does not seem to be a CubeMX-generated project neither a System Workbench generated one, or at least you do not use the firmwares provided by ST; you should have includes of the firmware definition files for your microcontroller.

I don’t know what the TimerInit and TimerSetValue do exactly, but I wonder if they do not initialize the timer in one-shot mode... I don’t know either what the TimerLowPowerHandler is doing.

Also, in send_message, I would probably just write
flagState ^= 1;

Bernard (Ac6)