where can I find the function "_start"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

where can I find the function "_start"

Jump to solution
891 Views
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 Kudos
Reply
1 Solution
677 Views
JuroV
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
Reply
2 Replies
678 Views
JuroV
NXP Employee
NXP Employee

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

0 Kudos
Reply
677 Views
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 Kudos
Reply