/* Configures clocks, LCD, port pints, etc. necessary to execute this demo.  */
static void prvSetupHardware(void)
/* Configures clocks, LCD, port pints, etc. necessary to execute this demo.  */
static void prvSetupHardware(void)
{
unsigned long ulCPU_Clock_KHz = ( configCPU_CLOCK_HZ / 1000UL );
	taskDISABLE_INTERRUPTS();
	WDTCTL = WDTPW + WDTHOLD;
	halBoardInit();
	LFXT_Start( XT1DRIVE_0 );
	Init_FLL_Settle( ( unsigned short ) ulCPU_Clock_KHz, 488 );
	halButtonsInit( BUTTON_ALL );
	halButtonsInterruptEnable( BUTTON_SELECT );
	halLcdInit();
	halLcdSetContrast( 100 );
	halLcdClearScreen();
	halLcdPrintLine( " www.FreeRTOS.org", 0,  OVERWRITE_TEXT );
}