Adam
12/06/2024, 9:28 AMAdam
12/06/2024, 9:29 AMfloitsch
12/06/2024, 2:55 PMfloitsch
12/06/2024, 3:01 PMCONFIG_ETH_RMII_CLK_OUTPUT_GPIO0=y
That indicates that the esp32-eth-clk-out0-spiram is a better starting point.
Still looking at what other changes we might need.floitsch
12/06/2024, 3:27 PMesp32-eth-clk-out0-spiram envelope) the code on https://libs.toit.io/esp32/net/ethernet/class-EthernetServiceProvider
Basically:
import gpio
import net.ethernet
import esp32.net.ethernet as esp32
main:
power := gpio.Pin --output 4
power.set 1
provider := esp32.EthernetServiceProvider.mac-esp32
--phy-chip=esp32.PHY-CHIP-LAN8720
--phy-address=0
--mac-mdc=gpio.Pin 23
--mac-mdio=gpio.Pin 18
provider.install
network := ethernet.open
try:
// use network
print "if we reach here the network opened"
finally:
network.close
provider.uninstall
power.closefloitsch
12/06/2024, 3:27 PMAdam
12/06/2024, 4:23 PMfloitsch
12/06/2024, 4:27 PMfloitsch
12/06/2024, 4:29 PMjag flash automatically install the Jaguar container for you. It is, however, just a normal container.Adam
12/06/2024, 4:35 PMfloitsch
12/06/2024, 4:36 PMfloitsch
12/09/2024, 5:31 PMesp32-eth-clk-out17-spiram envelope.Adam
12/10/2024, 3:10 PMAdam
12/10/2024, 3:11 PMfloitsch
12/10/2024, 3:13 PMAdam
12/10/2024, 3:13 PMAdam
12/10/2024, 3:14 PMfloitsch
12/10/2024, 3:14 PMfloitsch
12/10/2024, 3:14 PMAdam
12/10/2024, 3:15 PMfloitsch
12/10/2024, 3:15 PMAdam
12/10/2024, 3:16 PMkasperl
12/12/2024, 5:46 PM