2019-11-14 12:03 AM
For now, both cores start simultaneously, then CM4 stops, CM7 wakes it up. Both main() functions have similar code but for different LEDs:
CM4:
MX_GPIO_Init();
while (1)
{
HAL_GPIO_TogglePin(myPK3_GPIO_Port,myPK3_Pin); //Toggle LED
HAL_Delay(1000); //Delay 1 Seconds
}
CM7:
MX_GPIO_Init();
while (1)
{
HAL_GPIO_TogglePin(myPK4_GPIO_Port,myPK4_Pin); //Toggle LED
HAL_Delay(1000); //Delay 1 Seconds
}