Free RTOS Learning Chapter 1 Simple Porting
Jesus said, 'It is more blessed to give than to receive. '"
I have been learning MCU for 2 years, and I am ignorant. I have been looking for a quick transplant method when I learn RTOS. There is no error in the optical transplant, and I have taken a lot of detours. Now I record a simple transplant method.
Using the STM32Cube MX configuration tool, it is super easy to configure! ~
Open ,
select the type of chip to create
, find the chip, double-click the target chip,
click Project Management: Project Manager
to enter the configuration
It is important
to return to the first interface, select the required configuration, and configure the LED pins. PC0
The above GPIO settings are over
Select Free RTOS under the Middleware menu and
click the output project and
click to open the project
. After the project is opened, the first compilation is a bit slow. The
compilation is completed without errors.
Write a test lighting program,
compile and download again, the light has been flashing for 1 second, the RTOS porting is over, I will ask you is it simple??