yuanjm
9c1520d1f9
lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
...
Closes https://github.com/espressif/esp-idf/issues/7742
2021-12-01 07:19:18 +00:00
Andrii Filippov
6a11f6fb20
Merge branch 'bugfix/replace_PING_CHECK_macro' into 'master'
...
Replace PING_CHECK macro by ESP_GOTO_ON_FALSE
Closes IDF-4241
See merge request espressif/esp-idf!15930
2021-11-30 17:20:51 +00:00
AndriiFilippov
f42d1f48c6
unified replace PING_CHECK by ESP_GOTO_ON_FALSE
...
unified replace PING_CHECK by ESP_GOTO_ON_FALSE
replace PING_CHECK macro by ESP_GOTO_ON_FALSE
Include header
grammar fix
2021-11-30 10:12:09 +01:00
Shu Chen
a08d2732d5
Merge branch 'bugfix/esp32h2_iperf_udp_WTD_trigger' into 'master'
...
fix watch dog trigger when iperf udp is running
See merge request espressif/esp-idf!15625
2021-11-25 01:56:26 +00:00
zhangwenxu
0fe32adb58
iperf: handle NO_MEM error in OpenThread iperf
...
* simplify iperf send/recv loop
2021-11-24 11:20:32 +08:00
Sudeep Mohanty
722a6b7cf4
docs: update programming guide for esp32s3 chip independent system chapters
...
This commit updates the chip independent system chapters of the
programming guide for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-23 12:48:10 +05:30
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Cao Sen Miao
599227a1b6
ESP8684: Add esp8684 target to other repo for passing build
2021-11-06 17:33:45 +08:00
Sudeep Mohanty
4846222102
freertos: update freertos folder structure to match upstream
...
The following changes have been made:
1. All FreeRTOS kernel source files are now placed in the
freertos/FreeRTOS-Kernel folder to match with the upstream folder structure.
2. All kernel include files are now placed in freertos/FreeRTOS-Kernel/include.
3. All port files are now placed in freertos/FreeRTOS-Kernel/portable.
4. All additions/customizations are placed in freertos/esp_additions.
5. All other miscellaneous files (README, License files etc.) are moved to
freertos/FreeRTOS-Kernel folder to match with the upstream.
6. Updated esp-cryptoauthlib to latest commit to resolve FreeRTOS
include dependencies.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-10-29 12:05:13 +08:00
David Cermak
7b91343ca7
lwip: Fix ping socket create to allow for fd=0
...
0 is a valid socket description, so should be accepted after we create a
socket. In IDF, though, it's just a theoretical issue, as customers have
to configure:
* FD_SETSIZE = CONFIG_LWIP_MAX_SOCKETS (from makefiles)
* CONFIG_VFS_SUPPORT_IO = n (from menuconfig)
(this configuration is currently broken, but if we adjust the IDF here
and there we could reproduce the issue)
2021-10-26 08:19:26 +02:00
Liu Han
49cd81ccf3
lwip/dhcp: add configure for enable vendor class identify option
...
Closes https://github.com/espressif/esp-idf/issues/6786
2021-10-22 11:17:59 +08:00
xueyunfei
e451a9b2e1
add function for deinit lwip timers
2021-10-13 15:49:47 +08:00
David Čermák
d1ac84e68e
Merge branch 'bugfix/lwip_move_icmp_tests_from_eth' into 'master'
...
CI/lw-ip: Move ICMP test cases from eth component
Closes IDF-3863
See merge request espressif/esp-idf!15200
2021-10-01 07:06:32 +00:00
David Cermak
8b45ac0fbc
lwip: Add ping test case (moved from eth component)
2021-09-22 15:22:18 +02:00
yuanjm
9e2f15ae51
lwip: Support DHCP option length configuration
2021-09-18 17:24:27 +08:00
Sudeep Mohanty
0912df611f
freertos: updated the location of FreeRTOSConfig.h
...
Moved FreeRTOSConfig.h from include/freertos to include/esp_additions/freertos.
Updated FreeRTOS.h file to include FreeRTOSConfig.h without the
freertos/ prefix to match with the upstream file.
Renamed architecture specific FreeRTOSConfig.h files to FreeRTOSConfig_arch.h
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-09-14 08:46:01 +05:30
yuanjm
f2d32d5c0a
dhcpserver: support cplusplus
...
Closes https://github.com/espressif/esp-idf/issues/7494
Merges https://github.com/espressif/esp-idf/pull/7526
2021-09-08 15:52:12 +08:00
David Cermak
213727c4f2
lwip: IPv6: Add support for DHCPv6 stateless config
...
Closes https://github.com/espressif/esp-idf/issues/5245
2021-09-07 14:48:21 +08:00
Jiang Jiang Jian
cec0f5edfb
Merge branch 'optimization/config_option_LWIP_TCPIP_CORE_LOCKING' into 'master'
...
optimization config option LWIP_TCPIP_CORE_LOCKING
Closes IDF-2478
See merge request espressif/esp-idf!11809
2021-08-25 08:52:43 +00:00
David Cermak
e54523708d
Merge branch 'master' into feature/lwip_sntp_max_servers
2021-08-24 18:16:07 +02:00
David Čermák
756cc4f8dc
Merge branch 'bugfix/esp_sntp_declare' into 'master'
...
lw-ip: Fix sntp custom options if sntp_get_system_time used
Closes FCS-710
See merge request espressif/esp-idf!14556
2021-08-23 15:11:26 +00:00
David Cermak
457d837b40
lwip: Fix sntp custom options if sntp_get_system_time used
2021-08-23 11:47:44 +02:00
David Čermák
ab077df865
Merge branch 'feature/lwip_fstat' into 'master'
...
lw-ip: Add partial fstat vfs support to set st_mode
Closes IDFGH-5459
See merge request espressif/esp-idf!14854
2021-08-20 13:41:09 +00:00
David Cermak
d55ed5c11b
lwip: Add partial fstat vfs support to set st_mode
...
Closes https://github.com/espressif/esp-idf/issues/7198
2021-08-19 17:29:29 +02:00
ivmarkov
ee531c748a
lwip: Fix ICMP Ping on specific iface
...
Fix broken parentheses in setsockopt call
Merges https://github.com/espressif/esp-idf/pull/7397
2021-08-19 09:55:26 +02:00
xueyunfei
0d07569fff
optimization config option LWIP_TCPIP_CORE_LOCKING
2021-08-18 21:32:13 +08:00
yuanjm
e9dab3203e
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
...
Closes https://github.com/espressif/esp-idf/issues/7363
2021-08-05 10:38:38 +08:00
Emil Muratov
34be62665c
lwip: menuconfig option to enable ntp servers option request via DHCP
...
This could be toggled on/off, off is the default.
SNTP debug option. Example update for ntp via DHCP
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-08-02 01:21:35 +03:00
Emil Muratov
80810971c8
lwip menuconfig option for max number of SNTP servers
...
LWIP has two definess for setting max number of sntp servers:
- Total number of handled servers
- max number of sntp's picked via DHCP
by default both values are equal to 1, but could be set separately
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-07-27 22:38:36 +03:00
Jiacheng Guo
a74bbde9c5
openthread: support 1.3 border routing features
...
- Support ICMPv6 auto config
- Support SRP service delegation
- Publish _meshcop._mdns service
2021-07-21 10:44:10 +08:00
David Čermák
f86140eb8d
Merge branch 'feature/add_rdnss_kconfig' into 'master'
...
lw-ip: Add ND6 RDNSS DNS server Kconfig option
Closes IDFGH-5209
See merge request espressif/esp-idf!14090
2021-06-24 18:51:43 +00:00
David Čermák
90a2a150dd
Merge branch 'bugfix/dhcps_remove_record_when_request_nak' into 'master'
...
lw-IP: Fix DHCP Server to remove clients record if request not acked
Closes IDFGH-4594
See merge request espressif/esp-idf!12120
2021-06-24 16:31:43 +00:00
David Cermak
96911fb7ea
lwip: Fix DHCP Server to remove clients record if request not acked
...
When client's request refused by sending NAK, its record still resided
in the linked list of pooled addresses. It is okay from the spec
perspective (RFC2131.p16: Server MAY mark the offered address
unavailable), but would consume some memory if the client didn't retry.
Closes https://github.com/espressif/esp-idf/issues/6410
2021-06-24 15:10:24 +08:00
liuhan
7d5ae1ee26
esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code
2021-06-24 09:49:45 +08:00
yuanjm
b0e1a8e752
lwip: Add ND6 RDNSS DNS server Kconfig option
...
Closes https://github.com/espressif/esp-idf/issues/6982
2021-06-23 10:09:26 +08:00
liuhan
2d80c122b1
lwip: Add CONFIG_LWIP_ICMP and CONFIG_LWIP_ICMP6 to sperate the code
2021-06-21 15:14:19 +08:00
Angus Gratton
2aa48c9558
Merge branch 'doc/performance_guide' into 'master'
...
doc: Add performance guides for execution speed, binary size, RAM usage
Closes IDF-1136, IDF-486, IDF-487, IDF-485, IDFGH-5238, IDFGH-4923, IDFGH-1516, and IDFGH-408
See merge request espressif/esp-idf!13564
2021-06-04 02:17:26 +00:00
Angus Gratton
1281895785
lwip: Add a note that enabling debug increases the binary size
2021-06-03 13:55:34 +10:00
Shu Chen
e470e7c4c3
Merge branch 'feature/ot-lwip-interface' into 'master'
...
openthread: add lwIP network interface
See merge request espressif/esp-idf!13188
2021-06-03 01:46:17 +00:00
Jiacheng Guo
52a68cb7fe
openthread: integrate OpenThread network interface with esp_netif
2021-06-02 17:03:54 +08:00
David Čermák
557b1e9fe0
Merge branch 'docs/lwip_fuzzer_tests_document' into 'master'
...
Docs: Added README.md for lwip fuzzer tests
Closes IDFCI-540
See merge request espressif/esp-idf!13186
2021-05-25 04:12:10 +00:00
Angus Gratton
e305f29382
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
...
- Removes need to manually exclude these components as shown at
https://github.com/espressif/esp-idf/issues/3781#issuecomment-825742378
- Hide the config for these components if IPV6 is disabled
- The components are still included in the build, but with no source
files
2021-05-20 19:53:00 +10:00
Suren Gabrielyan
53c18a85db
Docs: Added README.md for lwip fuzzer tests
...
Closes IDFCI-540
2021-05-18 17:52:07 +04:00
Angus Gratton
0fc9253ed9
lwip: Update public port-layer headers with c++ guards, sdkconfig include
...
This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
2021-05-18 16:09:17 +10:00
David Cermak
49022e99f5
lwip: Add config for DHCP client id; Fix DNS server idx assert issue
...
This commit brings two esp-lwip fixes to IDF:
1) Add configuration to disable DHCP client identification
2195f7416f
This config could be used to disable option 61 in DHCP packets, so that
clients will be identified by their chaddr only.
(This is the lwip upstream original behaviour)
2) Fix server_idx increasing to DNS_MAX_SERVERS and trigger the LWIP_ASSERT
5a567d52f7
When lwip doesn't have DNS server and resolve a domain address, the server_idx
will increase to DNS_MAX_SERVERS, which will trigger the LWIP_ASSERT and make device crash.
Closes https://github.com/espressif/esp-idf/issues/6878
2021-05-07 14:11:51 +02:00
Jiacheng Guo
fd3553b66d
lwip: add config options for Thread IPv6 border routing
2021-04-22 06:13:47 +00:00
yuanjm
ef7583517d
lwip: Fix LWIP_DEBUG define which is always defined
2021-04-12 14:41:46 +00:00
David Cermak
d6f66465ff
lwip: Made LCP ECHO bool for better user experience
2021-04-09 06:53:30 +00:00
xueyunfei
181e87d700
bugfix for assert when tcp send data
2021-03-31 08:59:22 +00:00
David Čermák
3bc3407aeb
Merge branch 'bugfix/lwip_ppp_echo_interval_config' into 'master'
...
lw-IP: added configuration values for echo interval
Closes IDFGH-3098
See merge request espressif/esp-idf!12487
2021-03-18 11:59:07 +00:00