wio:wiopico-io16eth-en
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wio:wiopico-io16eth-en [2025/06/03 15:49] – rjversluis | wio:wiopico-io16eth-en [2025/06/05 07:26] (current) – rjversluis | ||
---|---|---|---|
Line 19: | Line 19: | ||
- | | {{https:// | + | | {{: |
- | | W5500-EVB-Pico | + | | Raspberry Pi Pico 1 | W5500 | W5500 | \\ |
=====Description===== | =====Description===== | ||
Line 28: | Line 28: | ||
=====Features===== | =====Features===== | ||
- | * Only available for Pico's without WiFi shield. | + | * Only available for Pico's without WiFi shield. |
- | * Looking up the Rocrail server by mDNS. | + | * Looking up the Rocrail server by mDNS. ✔️ |
- | * Transparent communication between WiFi and Ethernet. | + | * Transparent communication between WiFi and Ethernet. |
- | * Same pin mapping as the [[: | + | * Same pin mapping as the [[: |
\\ | \\ | ||
Line 41: | Line 41: | ||
This is bit 0 in options7.\\ | This is bit 0 in options7.\\ | ||
A reboot is needed.\\ | A reboot is needed.\\ | ||
+ | {{: | ||
\\ | \\ | ||
=====Wiring===== | =====Wiring===== | ||
- | {{: | + | {{: |
+ | |||
+ | \\ | ||
+ | =====Ethernet Library===== | ||
+ | To be able to set the hostname the Ethernet Library must be modified.\\ | ||
+ | In '' | ||
+ | <code cpp> | ||
+ | const char* g_DhcpHostName = ""; | ||
+ | void DhcpClass:: | ||
+ | </ | ||
+ | |||
+ | |||
+ | <code cpp> | ||
+ | // OPT - host name | ||
+ | buffer[16] = hostName; | ||
+ | // ***** start NEW code lines | ||
+ | if( strlen( g_DhcpHostName ) > 0 ) { | ||
+ | buffer[17] = strlen(g_DhcpHostName); | ||
+ | strcpy((char*)& | ||
+ | } | ||
+ | else { | ||
+ | // ***** end NEW code lines | ||
+ | buffer[17] = strlen(HOST_NAME) + 6; // length of hostname + last 3 bytes of mac address | ||
+ | strcpy((char*)& | ||
+ | |||
+ | printByte((char*)& | ||
+ | printByte((char*)& | ||
+ | printByte((char*)& | ||
+ | } // ***** NEW code line | ||
+ | </ | ||
\\ | \\ | ||
Line 52: | Line 82: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
wio/wiopico-io16eth-en.1748958575.txt.gz · Last modified: 2025/06/03 15:49 by rjversluis