I have a Kinetis K40 Tower Kit which I'm programming with CW10.1.
When I create a new project without Device Initialization or Project Expert, and I go to the Project Properties, I can see that the Entry Point is __thumb_startup.
My question is... Where is __thumb_startup?
kinetis_sysinit.c shows the prototype and I see it in the vector table, but I don't see the actual function. Oddly though, the code compiles and runs just fine starting at the first line in main().
Solved! Go to Solution.
Hello
Code for __thumb_startup is encoded in the run time library you are linking to your project. Name from this library starts with librt_Thumb.
The source code of the function __thumb_startup can be found in
{Install\MCU\ARM_EABI_Support\ewl\EWL_Runtime\Runtime_ARM\Source\startup.c
CrasyCat
Hello
Code for __thumb_startup is encoded in the run time library you are linking to your project. Name from this library starts with librt_Thumb.
The source code of the function __thumb_startup can be found in
{Install\MCU\ARM_EABI_Support\ewl\EWL_Runtime\Runtime_ARM\Source\startup.c
CrasyCat