where can I find the function "_start"

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

where can I find the function "_start"

跳至解决方案
673 次查看
chengxiaowei
Contributor I

Hi all!

I'd like to know a simple question about the MQX RTOS Initialization.

At the end of  "boot" function , the code is as follow:

     

       /* Jump to the main process */

           jmp _start

   

  where can I find the definition of "_start' ? I have search all the file in the project, but failed.

0 项奖励
1 解答
459 次查看
JuroV
NXP Employee
NXP Employee

The _start is part of standard library startup block. The library delivered with CodeWarrior.

在原帖中查看解决方案

0 项奖励
2 回复数
460 次查看
JuroV
NXP Employee
NXP Employee

The _start is part of standard library startup block. The library delivered with CodeWarrior.

0 项奖励
459 次查看
deekay
Contributor I

You can also find the source code for that library, located in the cw dir somewhere. I took the source of the needed thumb code only and skipped the unnecessaryparts for my rtos project . Compiled with gcc in eclipse. Works like a charm.

0 项奖励