/**
 * @brief	Main entry point
 * @return	Nothing
 */
int main(void)
{
		/* Initialize the board & LEDs for error indication */
	SystemCoreClockUpdate();
	Board_Init();
	
	/* Enable and setup SysTick Timer at a periodic rate */
	SysTick_Config(SystemCoreClock / TICKRATE_HZ1);
	
	/* Run the example code */
	RunExample();
	
	return 0;
}
Beispiel #2
0
int main(int argc, char *argv[])
{
	SetConsoleCtrlHandler(HandlerCtrlEvent, TRUE);

	mainThread = GetCurrentThread();

	while(mainRun)
	{
		RunExample();
		__itt_marker(pD, __itt_null, pshEndOfRun, __itt_marker_scope_task);
	} 

    return 0;
}