Merge branch 'ethercat' into ethercat_resolve

This commit is contained in:
Forsworns
2022-03-01 20:07:21 +08:00
12 changed files with 878 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ extern int AdapterNbiotInit(void);
extern int AdapterBlueToothInit(void);
extern int AdapterWifiInit(void);
extern int AdapterEthernetInit(void);
extern int AdapterEthercatInit(void);
extern int AdapterZigbeeInit(void);
extern int AdapterLoraInit(void);
@@ -142,6 +143,9 @@ static struct InitDesc connection_desc[] =
#ifdef CONNECTION_ADAPTER_ETHERNET
{ "ethernet adapter", AdapterEthernetInit},
#endif
#ifdef CONNECTION_ADAPTER_ETHERCAT
{ "ethercat adapter", AdapterEthercatInit},
#endif
#ifdef CONNECTION_ADAPTER_LORA
{ "lora adapter", AdapterLoraInit},
#endif