Timer interrupt failure
Hello all
After an istallation of OpenSTM32 AC6 and STM32CubeMX, i connected my STM32L476 NUCLEO. I have generated the basic Libraries in STM32CubeMX and importet it via ProjectExplorer>General>Existing Project into Workspace. NOW if i comile the output of STM32CubeMX i have always the ERROR on Line 138 witch writes HAL_NVIC_SetPriority(SysTick_IRQn, 0, 0);. Why the all the interrupts a unknown?
...
HAL_PWREx_ControlVoltageScaling(PWR_REGULATOR_VOLTAGE_SCALE1);
HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq()/1000);
HAL_SYSTICK_CLKSourceConfig(SYSTICK_CLKSOURCE_HCLK);
/* SysTick_IRQn interrupt configuration */
HAL_NVIC_SetPriority(SysTick_IRQn, 0, 0);
}
/** NVIC Configuration **/
void MX_NVIC_Init(void)
{
/* USART2_IRQn interrupt configuration */
HAL_NVIC_SetPriority(USART2_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(USART2_IRQn);
}
...