mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-05-17 21:44:45 +02:00
18 lines
474 B
C
18 lines
474 B
C
#ifndef _LWIPOPTS_H
|
|
#define _LWIPOPTS_H
|
|
|
|
#include "lwipopts_examples_common.h"
|
|
|
|
/* TCP WND must be at least 16 kb to match TLS record size
|
|
or you will get a warning "altcp_tls: TCP_WND is smaller than the RX decrypion buffer, connection RX might stall!" */
|
|
#undef TCP_WND
|
|
#define TCP_WND 16384
|
|
|
|
#define LWIP_ALTCP 1
|
|
#define LWIP_ALTCP_TLS 1
|
|
#define LWIP_ALTCP_TLS_MBEDTLS 1
|
|
|
|
#define LWIP_DEBUG 1
|
|
#define ALTCP_MBEDTLS_DEBUG LWIP_DBG_ON
|
|
|
|
#endif |