mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 09:05:59 +08:00
feat(lwip): Redefine lwip file structure
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
#include "lwip/pbuf.h"
|
||||
#include "lwip/udp.h"
|
||||
#include "lwip/mem.h"
|
||||
#include "lwip/dhcpserver.h"
|
||||
#include "dhcpserver/dhcpserver.h"
|
||||
|
||||
#ifndef LWIP_OPEN_SRC
|
||||
#include "net80211/ieee80211_var.h"
|
@ -5,7 +5,7 @@
|
||||
* Author: LiuHan
|
||||
*/
|
||||
#include "apps/sntp_opts.h"
|
||||
#include "apps/sntp_time.h"
|
||||
#include "lwip/apps/sntp/sntp_time.h"
|
||||
#include "esp_timer.h"
|
||||
|
||||
static s8_t sntp_time_timezone = 8;
|
@ -22,8 +22,8 @@
|
||||
#include "esp_timer.h"
|
||||
|
||||
#include "lwip/apps/sntp.h"
|
||||
#include "lwip/apps/time.h"
|
||||
#include "lwip/apps/sntp_time.h"
|
||||
#include "lwip/apps/sntp/time.h"
|
||||
#include "lwip/apps/sntp/sntp_time.h"
|
||||
|
||||
static os_timer_t micros_overflow_timer;
|
||||
static uint32 micros_at_last_overflow_tick = 0;
|
@ -1,9 +1,10 @@
|
||||
#
|
||||
# Component Makefile
|
||||
#
|
||||
COMPONENT_ADD_INCLUDEDIRS += include/lwip/ipv4 include/lwip/ipv6 include/lwip/posix include/lwip
|
||||
COMPONENT_ADD_INCLUDEDIRS += lwip/src/include lwip/src/include/lwip lwip/src/include/posix lwip/include/lwip \
|
||||
include/lwip/apps include/lwip/port apps
|
||||
|
||||
COMPONENT_SRCDIRS += source/api source/api/multi-threads source/apps source/arch \
|
||||
source/netif source/core source/core/ipv4 source/core/ipv6
|
||||
COMPONENT_SRCDIRS += lwip/src/api lwip/src/apps/sntp lwip/src/netif lwip/src/core lwip/src/core/ipv4 lwip/src/core/ipv6 \
|
||||
port/freertos port/netif apps/dhcpserver apps/sntp
|
||||
|
||||
CFLAGS += -D_POSIX_SOURCE -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user