Test the CCS4 demo project to CCS5 and make a minor change to ensure the power supplied is adequate for the CPU speed.

This commit is contained in:
Richard Barry 2012-04-02 09:20:45 +00:00
parent ab1aa67b08
commit bb708957a9
12 changed files with 1162 additions and 17 deletions

View file

@ -528,10 +528,6 @@ static xQueueMessage xStatusMessage = { mainMESSAGE_STATUS, pdPASS };
static void prvSetupHardware( void )
{
/* Convert a Hz value to a KHz value, as required by the Init_FLL_Settle()
function. */
unsigned long ulCPU_Clock_KHz = ( configCPU_CLOCK_HZ / 1000UL );
taskDISABLE_INTERRUPTS();
/* Disable the watchdog. */
@ -540,7 +536,7 @@ unsigned long ulCPU_Clock_KHz = ( configCPU_CLOCK_HZ / 1000UL );
halBoardInit();
LFXT_Start( XT1DRIVE_0 );
Init_FLL_Settle( ( unsigned short ) ulCPU_Clock_KHz, 488 );
hal430SetSystemClock( configCPU_CLOCK_HZ, configLFXT_CLOCK_HZ );
halButtonsInit( BUTTON_ALL );
halButtonsInterruptEnable( BUTTON_SELECT );