Add PPP driver

This commit is contained in:
Sergey Lyubka committed 2024-11-27 22:00:30 +00:00
1 parent 03c955410c
commit 3dd4c7da2a
10 files changed
+835 -42

No files matched your search

+2
View File
@@ -81,6 +81,7 @@ extern struct mg_tcpip_driver mg_tcpip_driver_cmsis;
extern struct mg_tcpip_driver mg_tcpip_driver_ra;
extern struct mg_tcpip_driver mg_tcpip_driver_xmc;
extern struct mg_tcpip_driver mg_tcpip_driver_xmc7;
extern struct mg_tcpip_driver mg_tcpip_driver_ppp;
// Drivers that require SPI, can use this SPI abstraction
struct mg_tcpip_spi {
@@ -89,4 +90,5 @@ struct mg_tcpip_spi {
void (*end)(void *); // SPI end: slave select high
uint8_t (*txn)(void *, uint8_t); // SPI transaction: write 1 byte, read reply
};
#endif