]> git.sur5r.net Git - freertos/commitdiff
Increase frequency to 99MHz.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 9 Aug 2009 13:03:17 +0000 (13:03 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 9 Aug 2009 13:03:17 +0000 (13:03 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@842 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/CORTEX_LPC1768_GCC_RedSuite/src/main.c

index ccabf42eb6ec1226fcf81d03204a6de83abd4a38..750bc79324bebbf481adacd41d403c1e68c945c0 100644 (file)
@@ -279,7 +279,7 @@ void prvSetupHardware( void )
        /* select main OSC, 12MHz, as the PLL clock source. */\r
        SC->CLKSRCSEL = 0x1;            \r
        \r
-       SC->PLL0CFG = 0x0b;\r
+       SC->PLL0CFG = 0x20031;\r
        SC->PLL0FEED = PLLFEED_FEED1;\r
        SC->PLL0FEED = PLLFEED_FEED2;\r
              \r
@@ -292,7 +292,7 @@ void prvSetupHardware( void )
        SC->CCLKCFG = 0x03;\r
        \r
        /* Configure flash accelerator. */\r
-       SC->FLASHCFG = 0x303a;\r
+       SC->FLASHCFG = 0x403a;\r
        \r
        /* Check lock bit status. */\r
        while( ( ( SC->PLL0STAT & ( 1 << 26 ) ) == 0 ) );       \r