There is currently 1 post.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
1235 0
在移植uCOS-II时,必须修改启动文件里面的SysTick_Handler和PendSV_Handler
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 1 Posted at: 3/17/17 18:16
不能单独定义这两个函数的跳转,如
void SysTick_Handler(void)
{
    OS_CPU_SysTickHandler();
}
void PendSV_Handler(void)
{
    OS_CPU_PendSVHandler();
}
是错误的做法
否则程序会卡死在OSStartHang死循环里面,使得最初的任务函数无法运行。
Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 1235 Replies: 0
Author: 巨大八爪鱼
Last reply: 巨大八爪鱼
Last reply time: 3/17/17 18:16
Announcements