<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/FreeRTOS_Source/include}""/>\r
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/FreeRTOS_Source/portable/GCC/MicroBlaze}""/>\r
</option>\r
- <option id="xilinx.gnu.compiler.misc.other.1660455181" name="Other flags" superClass="xilinx.gnu.compiler.misc.other" value="-c -fmessage-length=0 -fno-strict-aliasing" valueType="string"/>\r
+ <option id="xilinx.gnu.compiler.misc.other.1660455181" name="Other flags" superClass="xilinx.gnu.compiler.misc.other" value="-c -fmessage-length=0 -fno-strict-aliasing -Wextra" valueType="string"/>\r
+ <option id="xilinx.gnu.compiler.option.warnings.pedantic.86490975" name="Pedantic (-pedantic)" superClass="xilinx.gnu.compiler.option.warnings.pedantic" value="false" valueType="boolean"/>\r
<inputType id="xilinx.gnu.compiler.input.505106416" name="C source files" superClass="xilinx.gnu.compiler.input"/>\r
</tool>\r
<tool id="xilinx.gnu.mb.cxx.toolchain.compiler.debug.2087155544" name="MicroBlaze g++ compiler" superClass="xilinx.gnu.mb.cxx.toolchain.compiler.debug">\r
</tool>\r
</toolChain>\r
</folderInfo>\r
- <fileInfo id="xilinx.gnu.mb.exe.debug.1890710697.1391169017.1608696955" name="fsdata.c" rcbsApplicability="disable" resourcePath="lwIP/lwIP_Apps/apps/httpserver_raw/fsdata.c" toolsToInvoke="xilinx.gnu.mb.c.toolchain.compiler.debug.1610218702.1428026378">\r
- <tool id="xilinx.gnu.mb.c.toolchain.compiler.debug.1610218702.1428026378" name="MicroBlaze gcc compiler" superClass="xilinx.gnu.mb.c.toolchain.compiler.debug.1610218702"/>\r
- </fileInfo>\r
<sourceEntries>\r
<entry excluding="lwIP/lwIP_Apps/apps/httpserver_raw/fsdata.c|src/xuartlite_selftest_example.c|src/xtmrctr_selftest_example.c|src/xtmrctr_intr_example.c|src/xintc_tapp_example.c|src/xgpio_tapp_example.c|src/xgpio_intr_tapp_example.c|src/xemaclite_polled_example.c|src/xemaclite_intr_example.c|src/testperiph.c|main-blinky.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>\r
</sourceEntries>\r
#include "comtest_strings.h"\r
#include "TimerDemo.h"\r
\r
+/* lwIP includes. */\r
+#include "lwip/tcpip.h"\r
+\r
+\r
/* Priorities at which the various tasks are created. */\r
#define mainQUEUE_POLL_PRIORITY ( tskIDLE_PRIORITY + 1 )\r
#define mainSEM_TEST_PRIORITY ( tskIDLE_PRIORITY + 1 )\r
*/\r
static void prvSetupHardware( void );\r
\r
+/* Defined in lwIPApps.c. */\r
+extern void lwIPAppsInit( void *pvArguments );\r
+\r
/*-----------------------------------------------------------*/\r
\r
/* The check timer callback function sets pcStatusMessage to a string that\r
/* Configure the interrupt controller, LED outputs and button inputs. */\r
prvSetupHardware();\r
\r
+ /* This call creates the TCP/IP thread. */\r
+ tcpip_init( lwIPAppsInit, NULL );\r
+\r
/* Start the reg test tasks, as described in the comments at the top of this\r
file. */\r
xTaskCreate( vRegisterTest1, ( const signed char * const ) "RegTst1", configMINIMAL_STACK_SIZE, ( void * ) 0, tskIDLE_PRIORITY, NULL );\r
\r
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )\r
{\r
+ ( void ) pcTaskName;\r
+ ( void ) pxTask;\r
+\r
/* vApplicationStackOverflowHook() will only be called if\r
configCHECK_FOR_STACK_OVERFLOW is set to either 1 or 2. The handle and name\r
of the offending task will be passed into the hook function via its \r
xTimerStart( xCheckTimer, mainDONT_BLOCK ); \r
lCheckTimerStarted = pdTRUE;\r
}\r
+\r
+ extern void vTemp( void );\r
+ vTemp();\r
}\r
/*-----------------------------------------------------------*/\r
\r
\r
void vApplicationExceptionRegisterDump( xPortRegisterDump *xRegisterDump )\r
{\r
+ ( void ) xRegisterDump;\r
+\r
/* If configINSTALL_EXCEPTION_HANDLERS is set to 1 in FreeRTOSConfig.h, then \r
the kernel will automatically install its own exception handlers before the \r
kernel is started, if the application writer has not already caused them to \r
\r
void vSerialPutString( xComPortHandle pxPort, const signed char * const pcString, unsigned portBASE_TYPE uxStringLength )\r
{\r
+ ( void ) pxPort;\r
+\r
/* Output uxStringLength bytes starting from pcString. */\r
XUartLite_Send( &xUartLiteInstance, ( unsigned char * ) pcString, uxStringLength );\r
}\r
signed char cRxedChar;\r
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r
\r
+ ( void ) pvUnused;\r
+ ( void ) uxByteCount;\r
+\r
/* Place any received characters into the receive queue. */\r
while( XUartLite_IsReceiveEmpty( xUartLiteInstance.RegBaseAddress ) == pdFALSE )\r
{\r
\r
static void prvTxHandler( void *pvUnused, unsigned portBASE_TYPE uxByteCount )\r
{\r
+ ( void ) pvUnused;\r
+ ( void ) uxByteCount;\r
+\r
/* Nothing to do here. The Xilinx library function takes care of the\r
transmission. */\r
portNOP();\r