mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-12 16:50:21 +00:00
Add support for SDIO
Add support for SDIO in CYW driver Add Portenta H7 example
This commit is contained in:
1 parent
29594283c1
commit
1b06403a19
16 files changed
+2053
-276
No files matched your search
+4
-2
@@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#if MG_ENABLE_TCPIP && defined(MG_ENABLE_DRIVER_CYW) && MG_ENABLE_DRIVER_CYW
|
||||
#if MG_ENABLE_TCPIP && \
|
||||
((defined(MG_ENABLE_DRIVER_CYW) && MG_ENABLE_DRIVER_CYW) || \
|
||||
(defined(MG_ENABLE_DRIVER_CYW_SDIO) && MG_ENABLE_DRIVER_CYW_SDIO))
|
||||
|
||||
struct mg_tcpip_spi_ {
|
||||
void *spi; // Opaque SPI bus descriptor
|
||||
@@ -20,7 +22,7 @@ struct mg_tcpip_driver_cyw_firmware {
|
||||
};
|
||||
|
||||
struct mg_tcpip_driver_cyw_data {
|
||||
struct mg_tcpip_spi_ *spi;
|
||||
void *bus;
|
||||
struct mg_tcpip_driver_cyw_firmware *fw;
|
||||
char *ssid;
|
||||
char *pass;
|
||||
|
||||
Reference in new issue
Block a user