Switched to cmsis_v1

This commit is contained in:
Attila Body 2020-12-04 12:27:10 +01:00
parent d54d0a8992
commit c187a62bfd
13 changed files with 2844 additions and 3524 deletions

View file

@ -110,8 +110,7 @@ int main(void)
/* USER CODE END 2 */
/* Init scheduler */
osKernelInitialize(); /* Call init function for freertos objects (in freertos.c) */
/* Call init function for freertos objects (in freertos.c) */
MX_FREERTOS_Init();
/* Start scheduler */
osKernelStart();
@ -144,7 +143,7 @@ void SystemClock_Config(void)
{
}
LL_RCC_PLL_ConfigDomain_SYS(LL_RCC_PLLSOURCE_HSE_DIV_2, LL_RCC_PLL_MUL_13);
LL_RCC_PLL_ConfigDomain_SYS(LL_RCC_PLLSOURCE_HSE_DIV_1, LL_RCC_PLL_MUL_9);
LL_RCC_PLL_Enable();
/* Wait till PLL is ready */
@ -162,8 +161,8 @@ void SystemClock_Config(void)
{
}
LL_Init1msTick(52000000);
LL_SetSystemCoreClock(52000000);
LL_Init1msTick(72000000);
LL_SetSystemCoreClock(72000000);
}
/* USER CODE BEGIN 4 */