]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4500_Keil/main.c
Update the Keil XMC4500 demo project to include build configurations for the XMC4200...
[freertos] / FreeRTOS / Demo / CORTEX_M4F_Infineon_XMC4500_Keil / main.c
index 89d41e94521508405f9f18da435a73fb8dc210a8..8d415a9248f28643489b6fc23a4860091b400691 100644 (file)
 #include "FreeRTOS.h"\r
 #include "task.h"\r
 \r
-/* Hardware includes. */\r
-#include "XMC4500.h"\r
-#include "System_XMC4500.h"\r
-\r
 /* Set mainCREATE_SIMPLE_BLINKY_DEMO_ONLY to one to run the simple blinky demo,\r
 or 0 to run the more comprehensive test and demo application. */\r
-#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY     1\r
+#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY     0\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -141,12 +137,6 @@ static void prvSetupHardware( void )
 {\r
 extern void SystemCoreClockUpdate( void );\r
 \r
-       /* Ensure SystemCoreClock variable is set. */\r
-       SystemCoreClockUpdate();\r
-\r
-       /* Configure pin P3.9 for the LED. */\r
-       PORT3->IOCR8 = 0x00008000;\r
-\r
        /* Ensure all priority bits are assigned as preemption priority bits. */\r
        NVIC_SetPriorityGrouping( 0 );\r
 }\r