Update the RX MDK demo to include the web server. Minor tidy up to the RDK version too.

This commit is contained in:
Richard Barry 2010-09-09 16:26:42 +00:00
parent 2fca46e3e4
commit 23ca0009e3
37 changed files with 6883 additions and 391 deletions

View file

@ -160,6 +160,13 @@ int16_t phy_set_autonegotiate( void )
reg = _phy_read(BASIC_MODE_STATUS_REG);
count++;
vTaskDelay( 100 / portTICK_RATE_MS );
/* Make sure we don't break out if reg just contains 0xffff. */
if( reg == 0xffff )
{
reg = 0;
}
} while (!(reg & 0x0020) && (count < PHY_AUTO_NEGOTIATON_WAIT));
if (count >= PHY_AUTO_NEGOTIATON_WAIT)

View file

@ -60,7 +60,7 @@ Macro definitions
* ICLK = 96MHz
*/
#define PHY_RESET_WAIT 0x00000020L
#define PHY_AUTO_NEGOTIATON_WAIT 75L
#define PHY_AUTO_NEGOTIATON_WAIT 75
#define PHY_AN_ENABLE 0x1200
#define PHY_AN_10_100_F_H 0xde1