Commit 0cc6107
committed
webrepl: Support LAN as well as WLAN boards.
When webrepl starts, it prints out the IP address, however it does
this by querying the network.WLAN object.
This fail for board with an Ethernet interface but no WiFi interface.
We try both type of interface (and print error if none exist).
Signed-off-by: Romaric-RILLET <[email protected]>1 parent 0104788 commit 0cc6107
1 file changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | | - | |
107 | | - | |
108 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
109 | 124 | | |
110 | 125 | | |
111 | 126 | | |
| |||
0 commit comments