Quote from: LubOlimex on Today at 02:48:31 PMCPU: Allwinner A20 (SUN7I)
ID: A20-OLinuXino-LIME2 Rev.L
CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
OF: fdt: Machine model: Olimex A20-OLinuXino-LIME2
// Important to be defined BEFORE including ETH.h for ETH.begin() to work.
// Example RMII LAN8720 (Olimex, etc.)
#ifndef ETH_PHY_TYPE
#define ETH_PHY_TYPE ETH_PHY_LAN8720
#define ETH_PHY_ADDR 0
#define ETH_PHY_MDC 23
#define ETH_PHY_MDIO 18
#define ETH_PHY_POWER 12
#define ETH_CLK_MODE ETH_CLOCK_GPIO0_OUT
#endif
void loop()
{
if (eth_connected) {
testClient("google.com", 80);
}
delay(1000);
}
Quote from: LubOlimex on May 07, 2024, 08:25:22 AM2.0.14 and 2.0.16 should require nothing extra. If it doesn't work out-of-the-box with 2.0.14 and 2.0.16 then the problem is with the Arduino package installation (it sometimes bugs out when you switch between newer and older versions of packages), this might require full reinstall or manual deletion.