dtvonly wrote on Monday, May 28, 2018:
Hi. I am using the stm32VLdiscovery board. I followed the example on Youtube to blink and LED on the board through PC8 or PC9 using FreeRTOS. All configurations were done in stm32 cubeMX. I did not add any additional task but used the default startup task.
All compiled fine then code was download to flash. However, neither of the LED blinked. Below is the default task code…
void StartDefaultTask(void const * argument)
{
/* USER CODE BEGIN 5 */
/* Infinite loop */
for(;;)
{
HAL_GPIO_TogglePin (GPIOC ,GPIO_PIN_8 ); // GPIO_PIN_9 did not work also.
// both were configured in cubeMX as
// output.
osDelay(500);
}
/* USER CODE END 5 */
}
Please advise. Thank you.