mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-01 04:50:58 +02:00
Update IDF to aaf1239 (#1539)
* fix sdmmc config * Fix warnings in EEPROM from @Curclamas * remove leftover TAG in EEPROM * Initial add of @stickbreaker i2c * Add log_n * fix warnings when log is off * i2c code clean up and reorganization * add flags to interrupt allocator * fix sdmmc config * Fix warnings in EEPROM from @Curclamas * remove leftover TAG in EEPROM * fix errors with latest IDF * fix debug optimization (#1365) incorrect optimization for debugging tick markers. * Fix some missing BT header * Change BTSerial log calls * Update BLE lib * Arduino-ESP32 release management scripted (#1515) * Calculate an absolute path for a custom partitions table (#1452) * * Arduino-ESP32 release management scripted (ready-to-merge) * * secure env for espressif/arduino-esp32 * * build tests enabled * gitter webhook enabled * * gitter room link fixed * better comment * * filepaths fixed * BT Serial adjustments * * don't run sketch builds & tests for tagged builds * Return false from WiFi.hostByName() if hostname is not resolved * Free BT Memory when BT is not used * WIFI_MODE_NULL is not supported anymore * Select some key examples to build with PlatformIO to save some time * Update BLE lib * Fixed BLE lib * Major WiFi overhaul - auto reconnect on connection loss now works - moved to event groups - some code clean up and procedure optimizations - new methods to get a more elaborate system ststus * Add cmake tests to travis * Add initial AsyncUDP * Add NetBIOS lib and fix CMake includes * Add Initial WebServer * Fix WebServer and examples * travis not quiting on build fail * Try different travis build * Update IDF to aaf1239 * Fix WPS Example * fix script permission and add some fail tests to sketch builder * Add missing space in WiFiClient::write(Stream &stream)
This commit is contained in:
@ -70,6 +70,8 @@ typedef struct {
|
||||
dhcps_lease_t dhcps_poll;
|
||||
} dhcps_options_t;
|
||||
|
||||
typedef void (*dhcps_cb_t)(u8_t client_ip[4]);
|
||||
|
||||
static inline bool dhcps_router_enabled (dhcps_offer_t offer)
|
||||
{
|
||||
return (offer & OFFER_ROUTER) != 0;
|
||||
@ -87,6 +89,7 @@ void dhcps_set_option_info(u8_t op_id, void *opt_info, u32_t opt_len);
|
||||
bool dhcp_search_ip_on_mac(u8_t *mac, ip4_addr_t *ip);
|
||||
void dhcps_dns_setserver(const ip_addr_t *dnsserver);
|
||||
ip4_addr_t dhcps_dns_getserver();
|
||||
void dhcps_set_new_lease_cb(dhcps_cb_t cb);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,52 +1,52 @@
|
||||
/*
|
||||
* Copyright (c) 2001-2003 Swedish Institute of Computer Science.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
||||
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
||||
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
||||
* OF SUCH DAMAGE.
|
||||
*
|
||||
* This file is part of the lwIP TCP/IP stack.
|
||||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __SYS_ARCH_H__
|
||||
#define __SYS_ARCH_H__
|
||||
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/queue.h"
|
||||
#include "freertos/semphr.h"
|
||||
/*
|
||||
* Copyright (c) 2001-2003 Swedish Institute of Computer Science.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
||||
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
||||
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
||||
* OF SUCH DAMAGE.
|
||||
*
|
||||
* This file is part of the lwIP TCP/IP stack.
|
||||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __SYS_ARCH_H__
|
||||
#define __SYS_ARCH_H__
|
||||
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/queue.h"
|
||||
#include "freertos/semphr.h"
|
||||
#include "arch/vfs_lwip.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
typedef xSemaphoreHandle sys_sem_t;
|
||||
typedef xSemaphoreHandle sys_mutex_t;
|
||||
typedef xTaskHandle sys_thread_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
typedef xSemaphoreHandle sys_sem_t;
|
||||
typedef xSemaphoreHandle sys_mutex_t;
|
||||
typedef xTaskHandle sys_thread_t;
|
||||
|
||||
typedef struct sys_mbox_s {
|
||||
xQueueHandle os_mbox;
|
||||
@ -54,28 +54,28 @@ typedef struct sys_mbox_s {
|
||||
uint8_t alive;
|
||||
}* sys_mbox_t;
|
||||
|
||||
|
||||
#define LWIP_COMPAT_MUTEX 0
|
||||
|
||||
#if !LWIP_COMPAT_MUTEX
|
||||
#define sys_mutex_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
|
||||
#define sys_mutex_set_invalid( x ) ( ( *x ) = NULL )
|
||||
#endif
|
||||
|
||||
#define sys_mbox_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
|
||||
#define sys_mbox_set_invalid( x ) ( ( *x ) = NULL )
|
||||
|
||||
#define LWIP_COMPAT_MUTEX 0
|
||||
|
||||
#if !LWIP_COMPAT_MUTEX
|
||||
#define sys_mutex_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
|
||||
#define sys_mutex_set_invalid( x ) ( ( *x ) = NULL )
|
||||
#endif
|
||||
|
||||
#define sys_mbox_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
|
||||
#define sys_mbox_set_invalid( x ) ( ( *x ) = NULL )
|
||||
|
||||
#define sys_sem_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
|
||||
#define sys_sem_set_invalid( x ) ( ( *x ) = NULL )
|
||||
|
||||
#define sys_sem_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
|
||||
#define sys_sem_set_invalid( x ) ( ( *x ) = NULL )
|
||||
|
||||
void sys_delay_ms(uint32_t ms);
|
||||
sys_sem_t* sys_thread_sem_init(void);
|
||||
void sys_thread_sem_deinit(void);
|
||||
sys_sem_t* sys_thread_sem_get(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYS_ARCH_H__ */
|
||||
sys_sem_t* sys_thread_sem_get(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYS_ARCH_H__ */
|
||||
|
||||
|
@ -16,11 +16,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Internal declarations used to ingreate LWIP port layer
|
||||
to ESP-IDF VFS for POSIX I/O.
|
||||
*/
|
||||
extern int lwip_socket_offset;
|
||||
|
||||
void esp_vfs_lwip_sockets_register();
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
0
tools/sdk/include/lwip/lwip/api.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/api.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/arch.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/arch.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/autoip.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/autoip.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/debug.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/debug.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/def.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/def.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/dhcp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/dhcp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/dhcp6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/dhcp6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/dns.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/dns.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/err.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/err.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ethip6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ethip6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/icmp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/icmp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/icmp6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/icmp6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/igmp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/igmp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/inet.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/inet.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/inet_chksum.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/inet_chksum.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/init.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/init.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip4.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip4.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip4_addr.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip4_addr.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip6_addr.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip6_addr.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip6_frag.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip6_frag.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip_addr.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip_addr.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip_frag.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/ip_frag.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/mem.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/mem.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/memp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/memp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/mld6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/mld6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/nd6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/nd6.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/netbuf.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/netbuf.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/netdb.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/netdb.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/netif.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/netif.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/netifapi.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/netifapi.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/opt.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/opt.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/pbuf.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/pbuf.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/pppapi.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/pppapi.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/api_msg.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/api_msg.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/memp_priv.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/memp_priv.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/memp_std.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/memp_std.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/tcp_priv.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/tcp_priv.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/tcpip_priv.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/priv/tcpip_priv.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/raw.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/raw.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/sio.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/sio.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/snmp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/snmp.h
Executable file → Normal file
6
tools/sdk/include/lwip/lwip/sockets.h
Executable file → Normal file
6
tools/sdk/include/lwip/lwip/sockets.h
Executable file → Normal file
@ -446,8 +446,6 @@ typedef struct fd_set
|
||||
unsigned char fd_bits [(FD_SETSIZE+7)/8];
|
||||
} fd_set;
|
||||
|
||||
#elif LWIP_SOCKET_OFFSET
|
||||
#error LWIP_SOCKET_OFFSET does not work with external FD_SET!
|
||||
#endif /* FD_SET */
|
||||
|
||||
/** LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
|
||||
@ -591,8 +589,10 @@ static inline int sendto(int s,const void *dataptr,size_t size,int flags,const s
|
||||
{ return lwip_sendto_r(s,dataptr,size,flags,to,tolen); }
|
||||
static inline int socket(int domain,int type,int protocol)
|
||||
{ return lwip_socket(domain,type,protocol); }
|
||||
#ifndef ESP_HAS_SELECT
|
||||
static inline int select(int maxfdp1,fd_set *readset,fd_set *writeset,fd_set *exceptset,struct timeval *timeout)
|
||||
{ return lwip_select(maxfdp1,readset,writeset,exceptset,timeout); }
|
||||
#endif /* ESP_HAS_SELECT */
|
||||
static inline int ioctlsocket(int s,long cmd,void *argp)
|
||||
{ return lwip_ioctl_r(s,cmd,argp); }
|
||||
|
||||
@ -645,8 +645,10 @@ static inline int sendto(int s,const void *dataptr,size_t size,int flags,const s
|
||||
{ return lwip_sendto(s,dataptr,size,flags,to,tolen); }
|
||||
static inline int socket(int domain,int type,int protocol)
|
||||
{ return lwip_socket(domain,type,protocol); }
|
||||
#ifndef ESP_HAS_SELECT
|
||||
static inline int select(int maxfdp1,fd_set t*readset,fd_set *writeset,fd_set *exceptset,struct timeval *timeout)
|
||||
{ return lwip_select(maxfdp1,readset,writeset,exceptset,timeout); }
|
||||
#endif /* ESP_HAS_SELECT */
|
||||
static inline int ioctlsocket(int s,long cmd,void *argp)
|
||||
{ return lwip_ioctl(s,cmd,argp); }
|
||||
|
||||
|
0
tools/sdk/include/lwip/lwip/stats.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/stats.h
Executable file → Normal file
4
tools/sdk/include/lwip/lwip/sys.h
Executable file → Normal file
4
tools/sdk/include/lwip/lwip/sys.h
Executable file → Normal file
@ -148,6 +148,10 @@ err_t sys_sem_new(sys_sem_t *sem, u8_t count);
|
||||
/** Signals a semaphore
|
||||
* @param sem the semaphore to signal */
|
||||
void sys_sem_signal(sys_sem_t *sem);
|
||||
/** Signals a semaphore (ISR version)
|
||||
* @param sem the semaphore to signal
|
||||
* @return non-zero if a higher priority task has been woken */
|
||||
int sys_sem_signal_isr(sys_sem_t *sem);
|
||||
/** Wait for a semaphore for the specified timeout
|
||||
* @param sem the semaphore to wait for
|
||||
* @param timeout timeout in milliseconds to wait (0 = wait forever)
|
||||
|
0
tools/sdk/include/lwip/lwip/tcp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/tcp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/tcpip.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/tcpip.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/timers.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/timers.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/udp.h
Executable file → Normal file
0
tools/sdk/include/lwip/lwip/udp.h
Executable file → Normal file
@ -38,6 +38,8 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/select.h>
|
||||
#include "esp_task.h"
|
||||
#include "esp_system.h"
|
||||
#include "sdkconfig.h"
|
||||
@ -294,6 +296,12 @@
|
||||
*/
|
||||
#define TCP_QUEUE_OOSEQ CONFIG_TCP_QUEUE_OOSEQ
|
||||
|
||||
/**
|
||||
* ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES==1: Keep TCP connection when IP changed
|
||||
* scenario happens: 192.168.0.2 -> 0.0.0.0 -> 192.168.0.2 or 192.168.0.2 -> 0.0.0.0
|
||||
*/
|
||||
|
||||
#define ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES CONFIG_ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES
|
||||
/*
|
||||
* LWIP_EVENT_API==1: The user defines lwip_tcp_event() to receive all
|
||||
* events (accept, sent, etc) that happen in the system.
|
||||
@ -698,12 +706,15 @@
|
||||
*/
|
||||
#define LWIP_POSIX_SOCKETS_IO_NAMES 0
|
||||
|
||||
|
||||
/**
|
||||
* Socket offset is also determined via the VFS layer at
|
||||
* filesystem registration time (see port/vfs_lwip.c)
|
||||
* FD_SETSIZE from sys/types.h is the maximum number of supported file
|
||||
* descriptors and CONFIG_LWIP_MAX_SOCKETS defines the number of sockets;
|
||||
* LWIP_SOCKET_OFFSET is configured to use the largest numbers of file
|
||||
* descriptors for sockets. File descriptors from 0 to LWIP_SOCKET_OFFSET-1
|
||||
* are non-socket descriptors and from LWIP_SOCKET_OFFSET to FD_SETSIZE are
|
||||
* socket descriptors.
|
||||
*/
|
||||
#define LWIP_SOCKET_OFFSET lwip_socket_offset
|
||||
#define LWIP_SOCKET_OFFSET (FD_SETSIZE - CONFIG_LWIP_MAX_SOCKETS)
|
||||
|
||||
/* Enable all Espressif-only options */
|
||||
|
||||
@ -726,6 +737,7 @@
|
||||
#define ESP_DHCP_TIMER 1
|
||||
#define ESP_LWIP_LOGI(...) ESP_LOGI("lwip", __VA_ARGS__)
|
||||
#define ESP_PING 1
|
||||
#define ESP_HAS_SELECT 1
|
||||
|
||||
#if CONFIG_LWIP_IRAM_OPTIMIZATION
|
||||
#define ESP_IRAM_ATTR IRAM_ATTR
|
||||
|
0
tools/sdk/include/lwip/netdb.h
Executable file → Normal file
0
tools/sdk/include/lwip/netdb.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/etharp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/etharp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ethernet.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ethernet.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ethernetif.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ethernetif.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/lowpan6.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/lowpan6.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/lowpan6_opts.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/lowpan6_opts.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ccp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ccp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/chap-md5.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/chap-md5.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/chap-new.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/chap-new.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/chap_ms.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/chap_ms.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/eap.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/eap.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ecp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ecp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/eui64.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/eui64.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/fsm.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/fsm.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ipcp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ipcp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ipv6cp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ipv6cp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/lcp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/lcp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/magic.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/magic.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/mppe.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/mppe.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/arc4.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/arc4.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/des.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/des.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/md4.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/md4.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/md5.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/md5.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/sha1.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/polarssl/sha1.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ppp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ppp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ppp_impl.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/ppp_impl.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppcrypt.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppcrypt.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppdebug.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppdebug.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppoe.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppoe.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppol2tp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppol2tp.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppos.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/pppos.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/upap.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/upap.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/vj.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/ppp/vj.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/slipif.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/slipif.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/wlanif.h
Executable file → Normal file
0
tools/sdk/include/lwip/netif/wlanif.h
Executable file → Normal file
0
tools/sdk/include/lwip/sys/socket.h
Executable file → Normal file
0
tools/sdk/include/lwip/sys/socket.h
Executable file → Normal file
Reference in New Issue
Block a user