FreeRTOS_移植
FreeRTOS(0)移植
1.在文件根目录下创建Freertos文件夹,把源码拷贝
2.在Keil中创建三个文件夹,分别添加.c和.h
其中port.c 如果用的编译器version5,从RVDS文件夹添加。如果用的version 6,从GCC添加
头文件只用选3个文件夹
3.由于命名冲突,注释掉stm32f4xx_it.c中
void SVC_Handler(void)
void PendSV_Handler(void)这两个函数
4.修改systic_Handler函数
1 | void SysTick_Handler(void) |
并在 stm32f4xx_it.c添加头文件
1 |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.