We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3fee7e commit 1026b98Copy full SHA for 1026b98
src/Arduino_ConnectionHandler.h
@@ -46,21 +46,17 @@
46
#if defined(ARDUINO_PORTENTA_H7_M7)
47
#include <WiFi.h>
48
#include <WiFiUdp.h>
49
+ #include <Ethernet.h>
50
+ #include <PortentaEthernet.h>
51
52
#define BOARD_HAS_WIFI
53
+ #define BOARD_HAS_ETHERNET
54
#define BOARD_HAS_PORTENTA_VISION_SHIELD_ETHERNET
55
#define NETWORK_HARDWARE_ERROR WL_NO_SHIELD
56
#define NETWORK_IDLE_STATUS WL_IDLE_STATUS
57
#define NETWORK_CONNECTED WL_CONNECTED
58
#endif
59
-#if defined(BOARD_HAS_PORTENTA_VISION_SHIELD_ETHERNET)
- #include <Ethernet.h>
- #include <PortentaEthernet.h>
60
-
61
- #define BOARD_HAS_ETHERNET
62
-#endif
63
64
#if defined(ARDUINO_NICLA_VISION)
65
66
0 commit comments