]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC/main.c
Back out changes to LPC18xx UDP demo.
[freertos] / FreeRTOS-Plus / Demo / FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC / main.c
index 54c2add548535c4940cb1428b7394e3b748dc0f8..6007ff01cb26a1684bef45223413504e00297a05 100644 (file)
@@ -90,8 +90,7 @@
 #include "CDCCommandConsole.h"\r
 \r
 /* Library includes. */\r
-#include "cmsis.h"\r
-#include "Board_API.h"\r
+#include "LPC18xx.h"\r
 \r
 /* The size of the stack and the priority used by the two echo client tasks. */\r
 #define mainECHO_CLIENT_TASK_STACK_SIZE        ( configMINIMAL_STACK_SIZE * 2 )\r
 /* The size of the stack and the priority used by the USB CDC command console\r
 task. */\r
 #define mainCDC_COMMAND_CONSOLE_STACK_SIZE             ( configMINIMAL_STACK_SIZE * 2 )\r
-#define mainCDC_COMMAND_CONSOLE_TASK_PRIORITY  ( tskIDLE_PRIORITY )\r
+#define mainCDC_COMMAND_CONSOLE_TASK_PRIORITY  ( 4U )\r
 \r
 /*\r
- * Register commands that can be used with FreeRTOS+CLI.  The commands are\r
- * defined in CLI-commands.c.\r
- */\r
+* Register commands that can be used with FreeRTOS+CLI.  The commands are\r
+* defined in CLI-commands.c.\r
+*/\r
 extern void vRegisterCLICommands( void );\r
 \r
 /*\r
@@ -142,9 +141,6 @@ const uint8_t ucMACAddress[ 6 ] = { configMAC_ADDR0, configMAC_ADDR1, configMAC_
 \r
 int main( void )\r
 {\r
-       /* Hardware setup. */\r
-       Board_Init();\r
-\r
        /* The examples assume that all priority bits are assigned as preemption\r
        priority bits. */\r
        NVIC_SetPriorityGrouping( 0UL );\r