<state>$PROJ_DIR$/MicroSemi_Code/CMSIS</state>\r
<state>$PROJ_DIR$/MicroSemi_Code/drivers/mss_gpio</state>\r
<state>$PROJ_DIR$/MicroSemi_Code/drivers/mss_watchdog</state>\r
+ <state>$PROJ_DIR$/MicroSemi_Code/drivers/mss_ace</state>\r
+ <state>$PROJ_DIR$/MicroSemi_Code/drivers_config/mss_ace</state>\r
<state>$PROJ_DIR$/WebServer</state>\r
<state>$PROJ_DIR$/../Common/ethernet/FreeTCPIP/apps/httpd</state>\r
<state>$PROJ_DIR$/../Common/ethernet/FreeTCPIP</state>\r
</settings>\r
</configuration>\r
<configuration>\r
- <name>Full-with-optimisation</name>\r
+ <name>Full_with_optimisation</name>\r
<toolchain>\r
<name>ARM</name>\r
</toolchain>\r
<debug>1</debug>\r
<option>\r
<name>ExePath</name>\r
- <state>Full-with-optimisation\Exe</state>\r
+ <state>Full_with_optimisation\Exe</state>\r
</option>\r
<option>\r
<name>ObjPath</name>\r
- <state>Full-with-optimisation\Obj</state>\r
+ <state>Full_with_optimisation\Obj</state>\r
</option>\r
<option>\r
<name>ListPath</name>\r
- <state>Full-with-optimisation\List</state>\r
+ <state>Full_with_optimisation\List</state>\r
</option>\r
<option>\r
<name>Variant</name>\r
<state>$PROJ_DIR$/MicroSemi_Code/CMSIS</state>\r
<state>$PROJ_DIR$/MicroSemi_Code/drivers/mss_gpio</state>\r
<state>$PROJ_DIR$/MicroSemi_Code/drivers/mss_watchdog</state>\r
+ <state>$PROJ_DIR$/MicroSemi_Code/drivers/mss_ace</state>\r
+ <state>$PROJ_DIR$/MicroSemi_Code/drivers_config/mss_ace</state>\r
<state>$PROJ_DIR$/WebServer</state>\r
<state>$PROJ_DIR$/../Common/ethernet/FreeTCPIP/apps/httpd</state>\r
<state>$PROJ_DIR$/../Common/ethernet/FreeTCPIP</state>\r
</group>\r
<group>\r
<name>Drivers</name>\r
+ <file>\r
+ <name>$PROJ_DIR$\MicroSemi_Code\drivers_config\mss_ace\ace_config.c</name>\r
+ <excluded>\r
+ <configuration>Blinky</configuration>\r
+ </excluded>\r
+ </file>\r
+ <file>\r
+ <name>$PROJ_DIR$\MicroSemi_Code\drivers\mss_ace\ace_convert.c</name>\r
+ <excluded>\r
+ <configuration>Blinky</configuration>\r
+ </excluded>\r
+ </file>\r
<file>\r
<name>$PROJ_DIR$\MicroSemi_Code\drivers\mss_ethernet_mac\crc32.c</name>\r
<excluded>\r
<configuration>Blinky</configuration>\r
</excluded>\r
</file>\r
+ <file>\r
+ <name>$PROJ_DIR$\MicroSemi_Code\drivers\mss_ace\mss_ace.c</name>\r
+ <excluded>\r
+ <configuration>Blinky</configuration>\r
+ </excluded>\r
+ <configuration>\r
+ <name>Blinky</name>\r
+ <settings>\r
+ <name>ICCARM</name>\r
+ <data>\r
+ <version>26</version>\r
+ <wantNonLocal>0</wantNonLocal>\r
+ <debug>1</debug>\r
+ <option>\r
+ <name>CCDefines</name>\r
+ <state></state>\r
+ </option>\r
+ <option>\r
+ <name>CCPreprocFile</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCPreprocComments</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCPreprocLine</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCListCFile</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCListCMnemonics</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCListCMessages</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCListAssFile</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCListAssSource</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCEnableRemarks</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCDiagSuppress</name>\r
+ <state>Pa082</state>\r
+ </option>\r
+ <option>\r
+ <name>CCDiagRemark</name>\r
+ <state></state>\r
+ </option>\r
+ <option>\r
+ <name>CCDiagWarning</name>\r
+ <state></state>\r
+ </option>\r
+ <option>\r
+ <name>CCDiagError</name>\r
+ <state></state>\r
+ </option>\r
+ <option>\r
+ <name>CCObjPrefix</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>CCAllowList</name>\r
+ <version>1</version>\r
+ <state>0000000</state>\r
+ </option>\r
+ <option>\r
+ <name>CCDebugInfo</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>IEndianMode</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>IProcessor</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>IExtraOptionsCheck</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>IExtraOptions</name>\r
+ <state></state>\r
+ </option>\r
+ <option>\r
+ <name>CCLangConformance</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCSignedPlainChar</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>CCRequirePrototypes</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCMultibyteSupport</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCDiagWarnAreErr</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCCompilerRuntimeInfo</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>IFpuProcessor</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>OutputFile</name>\r
+ <state>$FILE_BNAME$.o</state>\r
+ </option>\r
+ <option>\r
+ <name>CCLibConfigHeader</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>PreInclude</name>\r
+ <state></state>\r
+ </option>\r
+ <option>\r
+ <name>CompilerMisraOverride</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCIncludePath2</name>\r
+ <state>$PROJ_DIR$/../../Source/include</state>\r
+ <state>$PROJ_DIR$/../../Source/portable/IAR/ARM_CM3</state>\r
+ <state>$PROJ_DIR$</state>\r
+ <state>$PROJ_DIR$/MicroSemi_Code/CMSIS</state>\r
+ <state>$PROJ_DIR$/MicroSemi_Code/drivers/mss_gpio</state>\r
+ <state>$PROJ_DIR$/MicroSemi_Code/drivers/mss_watchdog</state>\r
+ </option>\r
+ <option>\r
+ <name>CCStdIncCheck</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCCodeSection</name>\r
+ <state>.text</state>\r
+ </option>\r
+ <option>\r
+ <name>IInterwork2</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>IProcessorMode2</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>CCOptLevel</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCOptStrategy</name>\r
+ <version>0</version>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCOptLevelSlave</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CompilerMisraRules98</name>\r
+ <version>0</version>\r
+ <state>1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111</state>\r
+ </option>\r
+ <option>\r
+ <name>CompilerMisraRules04</name>\r
+ <version>0</version>\r
+ <state>111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111</state>\r
+ </option>\r
+ <option>\r
+ <name>CCPosIndRopi</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCPosIndRwpi</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>CCPosIndNoDynInit</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>IccLang</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>IccCDialect</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>IccAllowVLA</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>IccCppDialect</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>IccExceptions</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>IccRTTI</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>IccStaticDestr</name>\r
+ <state>1</state>\r
+ </option>\r
+ <option>\r
+ <name>IccRelaxedFpPrecision</name>\r
+ <state>0</state>\r
+ </option>\r
+ <option>\r
+ <name>IccCppInlineSemantics</name>\r
+ <state>0</state>\r
+ </option>\r
+ </data>\r
+ </settings>\r
+ </configuration>\r
+ </file>\r
<file>\r
<name>$PROJ_DIR$\MicroSemi_Code\drivers\mss_ethernet_mac\mss_ethernet_mac.c</name>\r
<excluded>\r
<name>$PROJ_DIR$\main-blinky.c</name>\r
<excluded>\r
<configuration>Full</configuration>\r
- <configuration>Full-with-optimisation</configuration>\r
+ <configuration>Full_with_optimisation</configuration>\r
</excluded>\r
</file>\r
<file>\r
void vuIP_Task( void *pvParameters )\r
{\r
portBASE_TYPE i;\r
-unsigned long ulNewEvent = 0UL;\r
-unsigned long ulUIP_Events = 0UL;\r
+unsigned long ulNewEvent = 0UL, ulUIP_Events = 0UL;\r
+long lPacketLength;\r
\r
/* Just to prevent compiler warnings about the unused parameter. */\r
( void ) pvParameters;\r
for( ;; )\r
{\r
/* Is there received data ready to be processed? */\r
- uip_len = MSS_MAC_rx_packet();\r
+ lPacketLength = MSS_MAC_rx_packet();\r
\r
/* Statements to be executed if data has been received on the Ethernet. */\r
- if( ( uip_len > 0 ) && ( uip_buf != NULL ) )\r
+ if( ( lPacketLength > 0 ) && ( uip_buf != NULL ) )\r
{\r
+ uip_len = ( u16_t ) lPacketLength;\r
+ \r
/* Standard uIP loop taken from the uIP manual. */\r
if( xHeader->type == htons( UIP_ETHTYPE_IP ) )\r
{\r
{\r
const long lMaxAttempts = 10;\r
long lAttempt;\r
-const portTickType xShortDelay = ( 10 / portTICK_RATE_MS );\r
+const portTickType xShortDelay = ( 5 / portTICK_RATE_MS );\r
\r
/* Try to send data to the Ethernet. Keep trying for a while if data cannot\r
be sent immediately. Note that this will actually cause the data to be sent\r