Merge branch 'master' into dev

Added pin reservation for Ethernet.
Added SSD1305 I2C display type.
This commit is contained in:
Blaz Kristan
2021-06-20 15:13:38 +02:00
12 changed files with 214 additions and 60 deletions

18
wled00/wled_ethernet.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef WLED_ETHERNET_H
#define WLED_ETHERNET_H
#ifdef WLED_USE_ETHERNET
// settings for various ethernet boards
typedef struct EthernetSettings {
uint8_t eth_address;
int eth_power;
int eth_mdc;
int eth_mdio;
eth_phy_type_t eth_type;
eth_clock_mode_t eth_clk_mode;
} ethernet_settings;
extern ethernet_settings ethernetBoards[];
#endif
#endif