Revamp rp examples

This commit is contained in:
cpq committed 2026-05-22 08:40:58 +01:00
1 parent 948b56a3ec
commit 83ba170b45
142 files changed
+769 -3721

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@
#endif
#ifndef MG_SET_WIFI_CONFIG
#define MG_SET_WIFI_CONFIG(data)
#define MG_SET_WIFI_CONFIG(ifp, driver_data)
#endif
#ifndef MG_ENABLE_TCPIP_PRINT_DEBUG_STATS
+1 -1
View File
@@ -24,7 +24,7 @@ struct mg_tcpip_driver_cyw_data {
do { \
static struct mg_tcpip_driver_cyw_data driver_data_; \
static struct mg_tcpip_if mif_; \
MG_SET_WIFI_CONFIG(&driver_data_); \
MG_SET_WIFI_CONFIG(&mif_, &driver_data_); \
mif_.ip = MG_TCPIP_IP; \
mif_.mask = MG_TCPIP_MASK; \
mif_.gw = MG_TCPIP_GW; \
+1 -1
View File
@@ -13,7 +13,7 @@ struct mg_tcpip_driver_nxp_wifi_data {
do { \
static struct mg_tcpip_driver_nxp_wifi_data driver_data_; \
static struct mg_tcpip_if mif_; \
MG_SET_WIFI_CONFIG(&driver_data_); \
MG_SET_WIFI_CONFIG(&mif_, &driver_data_); \
mif_.ip = MG_TCPIP_IP; \
mif_.mask = MG_TCPIP_MASK; \
mif_.gw = MG_TCPIP_GW; \
+1 -1
View File
@@ -15,7 +15,7 @@ struct mg_tcpip_driver_pico_w_data {
do { \
static struct mg_tcpip_driver_pico_w_data driver_data_; \
static struct mg_tcpip_if mif_; \
MG_SET_WIFI_CONFIG(&driver_data_); \
MG_SET_WIFI_CONFIG(&mif_, &driver_data_); \
mif_.ip = MG_TCPIP_IP; \
mif_.mask = MG_TCPIP_MASK; \
mif_.gw = MG_TCPIP_GW; \
+1 -1
View File
@@ -14,7 +14,7 @@ struct mg_tcpip_driver_st67w6_data {
do { \
static struct mg_tcpip_driver_st67w6_data driver_data_; \
static struct mg_tcpip_if mif_; \
MG_SET_WIFI_CONFIG(&driver_data_); \
MG_SET_WIFI_CONFIG(&mif_, &driver_data_); \
mif_.ip = MG_TCPIP_IP; \
mif_.mask = MG_TCPIP_MASK; \
mif_.gw = MG_TCPIP_GW; \