funktioniert.

This commit is contained in:
2026-03-27 20:04:25 +01:00
parent 12873bae43
commit 2a29f6667e
4 changed files with 155 additions and 14 deletions

View File

@@ -1,6 +1,8 @@
#ifndef _LWIPOPTS_H
#define _LWIPOPTS_H
#include <stdint.h>
#define HTTPD_FSDATA_FILE "src/fsdata.c"
#define NO_SYS 1
@@ -31,6 +33,20 @@
#define PBUF_POOL_SIZE 24
#define MEMP_NUM_SYS_TIMEOUT 20
#define MQTT_OUTPUT_RINGBUF_SIZE 2048
#define SNTP_SERVER_DNS 1
#define SNTP_SERVER_ADDRESS "de.pool.ntp.org"
#ifdef __cplusplus
extern "C" {
#endif
void sntp_set_system_time_us(uint32_t sec, uint32_t us);
#ifdef __cplusplus
}
#endif
#define SNTP_SET_SYSTEM_TIME_US(sec, us) sntp_set_system_time_us((sec), (us))
#define TCP_MSS 1460
#define TCP_WND (8 * TCP_MSS)
#define TCP_SND_BUF (8 * TCP_MSS)