18.2.11 Call the Main Function

The main() function is called, with any return value unused. Following the return from main(), control will return to Reset_Handler() and execution will enter an infinite loop. On devices which support the Thumb-2 instruction set, the preprocessor macro __DEBUG may be defined to insert a software breakpoint instruction (BKPT) immediately after the return from main().