SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
The main() function in SimpleBLEPeripheral_Main.c is the starting point at runtime. This function brings up the board and initializes the OSAL and SNV drivers. Next, this function initializes power management and creates the tasks. Finally, the function calls the osal_start_system(), which starts the processing loop (OSAL) and does not return.