pico-sdk/test/kitchen_sink/lwipopts.h
Peter Harper d47c0c89ce
Update mbedtls, lwip and cyw43-driver (#2405)
* Update LwIP to 2.2.1
* Update to mbedtls to 3.6.1
* Update lib/cyw43-driver to 1.1.0
* Support using a more recent version of mbedtls
altcp_tls_mbedtls.c is not compatible with mbedtls 3.x so use a
patched version until this is resolved.
* Make sure MBEDTLS_VERSION_MAJOR is visible to LwIP.
* Test mbedtls in kitchen sink
* Add mbedtls to bazel
2025-04-11 09:14:02 -07:00

20 lines
526 B
C

#ifndef _LWIPOPTS_H
#define _LWIPOPTS_H
// dummy lwip opts to allow compilation
#define NO_SYS 1
#define LWIP_DHCP 1
#define LWIP_RAW 1
#define LWIP_NETIF_HOSTNAME 1
#define LWIP_NETIF_STATUS_CALLBACK 1
#define LWIP_DNS 1
#define LWIP_SOCKET 0
#define LWIP_NETCONN 0
// For testing mbedtls
#define LWIP_ALTCP 1
#define LWIP_ALTCP_TLS 1
#define LWIP_ALTCP_TLS_MBEDTLS 1
#endif