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 files in Keil

Can You explain me something. Why in ARM microcontrollers each IDE use startup files?
Where from the compiler knows that the first think is to execude the code from startup. Each C language programms should start from main() funcion and here the program starts from startup?
If the startup does not exists it works fine too but we have to make Heap, stack and other by ourself but in main()?
If I add different startup called whatever i want and add it to group in project in will be done the as first too so it means that the name of the startupp file is not important.

Can you explain me how does it work? (for example in Keil)

Parents Reply Children
No data