Transplantation of uCOS into STM32F103C8T6 based on HAL Library

1. Use CubeMX to build STM32F103C8T6HAL Library Configure RCC Configure SYS Set PC13 to GPIO_Output is used to light up LED lights Set Serial Port USART1 Setup Project Click Generate Code and open the project in Keil. Add statements to the while loop in the main function while (1) { /* USER CODE END WHILE */ / ...

Posted by jlsports on Fri, 26 Nov 2021 12:33:56 -0800