Stm32L4R5 GPIO Interrupt Enable causes issue.(FreeRTOS)

Thanks for clarifying. Some ideas -

  • Can you post your FreeRTOSConfig.h file?
  • Can you post the code you use to configure and enable the GPIO interrupt?
  • Can you try to enable the GPIO interrupt from inside one of your tasks?
  • Can you step through vTaskStartScheduler(), with a breakpoint set at the beginning of vPortSVCHandler() so you can keep stepping from there when the breakpoint is hit. Maybe you’ll catch where things are going wrong when FreeRTOS is starting.