Settings
|
Sign in
|
Sign up
Bar
Post
Home
>
Bar STM32
>
View post
Reply the post
|
View author only
There is currently
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.
©2010-2025 Purasbar Ver3.0 [Mobile] [
Desktop
]
Except where otherwise noted, content on
this site
is licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported license
.