Settings
|
Sign in
|
Sign up
Bar
Post
Home
>
Bar STM32
>
View post
Reply the post
|
View all
The author has
1
post.
在移植uCOS-II时,必须修改启动文件里面的SysTick_Handler和PendSV_Handler
Floor 1
巨大八爪鱼
3/17/17 18:16
不能单独定义这两个函数的跳转,如
void SysTick_Handler(void)
{
OS_CPU_SysTickHandler();
}
void PendSV_Handler(void)
{
OS_CPU_PendSVHandler();
}
是错误的做法
否则程序会卡死在OSStartHang死循环里面,使得最初的任务函数无法运行。
Content converter:
No conversion
Mainland
Taiwan
Hong Kong
Singapore
Reply the post
Content:
User:
You are currently anonymous.
Captcha:
Unclear? Try another one.