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

Two externals interrupts EXTI0 and EXTI9_5 doesn't work well



I think your code has several flaws and could not work properly;

  • In kon_Off, you must save in some variable the state of the LED (on or off)
  • In the Color_Select code you must
    1. If the LED state is ON, shut down the currently on LED (with the current color)
    2. Change the color (as you did)
    3. If the LED was ON, light the new LED

Your current code may work only if yu change the color while the LED is OFF; otherwise LEDs behavior will be quite strange...

Bernard (Ac6)