/*----------------------------------------------------------------------------
 * CRC32 ROM Self-Test Example ANxxx
 *---------------------------------------------------------------------------*/

#define osObjectsPublic                     // define objects in main module
#include "osObjects.h"                      // RTOS object definitions

extern int Init_SelfTest_Thread(void);

/*
 * main: initialize and start the system
 */
int main (void) {


	osKernelInitialize ();                    // initialize CMSIS-RTOS
  // initialize peripherals here
	
  // create 'thread' functions that start executing,
  // example: tid_name = osThreadCreate (osThread(name), NULL);

	osKernelStart ();                         // start thread execution 
	Init_SelfTest_Thread();
	while(1) {
		osDelay(10);
	}
}
