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
651 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
1 Solution
437 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
2 Replies
438 Views
JuroV
NXP Employee
NXP Employee

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

0 Kudos
437 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