Syntax
/* This is a block comment. */
/* and end with */.Code example
/*-----------------------------------------------
* CMSIS-RTOS 'main' function template
*---------------------------------------------*/
#include "cmsis_os2.h"
/*
* main: initialize and start the system
*/
int main (void) {
osKernelInitialize (); /* initialize RTOS */
LED_Initialize(); /* initialize LEDs */
/* create 'thread' functions that
start executing. Example:
tid_name=osThreadCreate (osThread(name), NULL);
*/
osKernelStart (); /* start thread execution */
}