* This file is part of the FreeRTOS+UDP distribution. The FreeRTOS+UDP license\r
* terms are different to the FreeRTOS license terms.\r
*\r
- * FreeRTOS+UDP uses a dual license model that allows the software to be used\r
- * under a pure GPL open source license (as opposed to the modified GPL license\r
- * under which FreeRTOS is distributed) or a commercial license. Details of\r
- * both license options follow:\r
+ * FreeRTOS+UDP uses a dual license model that allows the software to be used \r
+ * under a standard GPL open source license, or a commercial license. The \r
+ * standard GPL license (unlike the modified GPL license under which FreeRTOS \r
+ * itself is distributed) requires that all software statically linked with \r
+ * FreeRTOS+UDP is also distributed under the same GPL V2 license terms. \r
+ * Details of both license options follow:\r
*\r
* - Open source licensing -\r
* FreeRTOS+UDP is a free download and may be used, modified, evaluated and\r
*/\r
static void prvProcessNetworkDownEvent( void );\r
\r
-#if( ipconfigFREERTOS_PLUS_NABTO == 1 )\r
- static void prvStartNabtoTask( void );\r
- extern void FreeRTOS_NabtoInit();\r
-#endif /* ipconfigFRERTOS_PLUS_NABTO */\r
/*-----------------------------------------------------------*/\r
\r
/* The queue used to pass events into the UDP task for processing. */\r
}\r
#else\r
{\r
- /* Static configuration is being used, so the network is now up. */\r
- #if ipconfigFREERTOS_PLUS_NABTO == 1\r
- {\r
- prvStartNabtoTask();\r
- }\r
- #endif /* ipconfigFREERTOS_PLUS_NABTO */\r
-\r
#if ipconfigUSE_NETWORK_EVENT_HOOK == 1\r
{\r
vApplicationIPNetworkEventHook( eNetworkUp );\r
}\r
#endif /* ipconfigUSE_NETWORK_EVENT_HOOK */\r
+\r
+ /* Static configuration is being used, so the network is now up. */\r
+ #if ipconfigFREERTOS_PLUS_NABTO == 1\r
+ {\r
+ vStartNabtoTask();\r
+ }\r
+ #endif /* ipconfigFREERTOS_PLUS_NABTO */\r
}\r
#endif\r
}\r
\r
/*-----------------------------------------------------------*/\r
\r
-#if( ipconfigFREERTOS_PLUS_NABTO == 1 )\r
- static void prvStartNabtoTask( void )\r
- {\r
- static portBASE_TYPE xNabtoTaskStarted = pdFALSE;\r
-\r
- if( xNabtoTaskStarted == pdFALSE )\r
- {\r
- FreeRTOS_NabtoInit();\r
- xNabtoTaskStarted = pdTRUE;\r
- }\r
- }\r
-#endif /* ipconfigFREERTOS_PLUS_NABTO */\r
-\r
-\r