Add socket define for rp2040 dev (#4968)

This commit is contained in:
Jesse Hills 2023-08-08 10:22:10 +12:00 committed by GitHub
parent 9876d5276c
commit e4cf7b86fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,6 +103,11 @@
#endif #endif
#ifdef USE_RP2040
#define USE_ARDUINO_VERSION_CODE VERSION_CODE(3, 3, 0)
#define USE_SOCKET_IMPL_LWIP_TCP
#endif
#ifdef USE_HOST #ifdef USE_HOST
#define USE_SOCKET_IMPL_BSD_SOCKETS #define USE_SOCKET_IMPL_BSD_SOCKETS
#endif #endif