This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Startup file

Hi there, My project is based on LPC2368 controller and Iam using the GCC compiler alongwith the Keil UVision3 IDE.

Is the startup.s file same for both Real View compiler and
the GCC compiler ?
If it is different please can you suggest me a download link for it.
Where can i find more details about this file. (say in case if i need to modify.)

Parents
  • The startup file for LPC should have the following.
    1) Interrupt Vector addresses.
    2) Cloack setup(PLL / MAM config) (Optional can be put in C file also).
    3) Stack intialization.
    4) Memory intialisation / ZI data intialization.

    Many of the things can be done in C file but you need to initialize the stack before calling any C functions.

    Regards

    Suvidh

Reply
  • The startup file for LPC should have the following.
    1) Interrupt Vector addresses.
    2) Cloack setup(PLL / MAM config) (Optional can be put in C file also).
    3) Stack intialization.
    4) Memory intialisation / ZI data intialization.

    Many of the things can be done in C file but you need to initialize the stack before calling any C functions.

    Regards

    Suvidh

Children
No data