From 01eadc39e919cafc62efbb5ae6963d13164b95af Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Fri, 21 Aug 2026 17:58:53 +0200 Subject: [PATCH] Fix rp2350 build Signed-off-by: Pol Henarejos --- src/usb/lwip/lwip.c | 1 + src/usb/lwip/rest_server_tls.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/usb/lwip/lwip.c b/src/usb/lwip/lwip.c index b119a4b..8de7e68 100644 --- a/src/usb/lwip/lwip.c +++ b/src/usb/lwip/lwip.c @@ -49,6 +49,7 @@ try changing the first byte of tud_network_mac_address[] below from 0x02 to 0x00 #include "dnserver.h" #include "lwip/init.h" #include "lwip/timeouts.h" +#include "bsp/board.h" #elif defined(ESP_PLATFORM) #include "apps/dhcpserver/dhcpserver.h" #include "netif/ethernet.h" diff --git a/src/usb/lwip/rest_server_tls.c b/src/usb/lwip/rest_server_tls.c index 9a9eea6..9684cd1 100644 --- a/src/usb/lwip/rest_server_tls.c +++ b/src/usb/lwip/rest_server_tls.c @@ -19,6 +19,10 @@ #include "rest_server_tls.h" #ifdef ENABLE_EMULATION #include "compat/board.h" +#elif defined(PICO_PLATFORM) +#include "bsp/board.h" +#elif defined(ESP_PLATFORM) +#include "compat/esp_compat.h" #endif #ifdef _MSC_VER