mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-03 21:03:51 -04:00
Update the RX MDK demo to include the web server. Minor tidy up to the RDK version too.
This commit is contained in:
parent
2fca46e3e4
commit
23ca0009e3
37 changed files with 6883 additions and 391 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue