Fu Hanxi
c1301c6145
build: bypass build issues
2024-01-10 15:34:50 +01:00
Zim Kalinowski
fa1a3ce0b5
Merge branch 'refactor/components_linux_compatible' into 'master'
...
Exclude all currently incompatible components from Linux build
Closes IDF-8318 and IDF-5996
See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
David Čermák
210f757835
Merge branch 'fix/esp_netif_lock' into 'master'
...
fix(esp_netif): Lock netif list with TCPIP context
Closes IDFGH-11088
See merge request espressif/esp-idf!26164
2023-10-17 21:36:39 +08:00
Jakob Hasse
548022fbe6
refactor(linux): excluded all non-Linux components from build
...
* All components which won't build (yet) on Linux are excluded.
This enables switching to Linux in an application without
explicitly setting COMPONENTS to main in the main
CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available
doc(linux): brought section
"Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
David Cermak
88d18e9a40
fix(esp_netif): Mark esp_netif_next deprecated and fix usages
...
* Uses netif_find_if() in IPv6 examples
* Fixes esp_netif_next() usage in L2TAP
2023-10-13 15:56:45 +02:00
Jakob Hasse
ac2515e199
refactor(lwip): Added on/off switch for LwIP stack
...
* This switch allows applications to replace lwip with a different
IP stack or just make it build if it is a dependency but not
actually needed.
2023-09-22 10:03:13 +08:00
Harshit Malpani
0798691bf0
fix: Fix protocols example to build without setting target
...
Protocol examples used to raise an error if the target was not set
and `idf.py build` command was used. This commit fix this error
and when IDF_TARGET is not set, ESP32 is selected as default target
2023-09-20 17:50:16 +05:30
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
...
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Rocha Euripedes
10c21f704c
Merge branch 'bugfix/module_logging_tag_lower_case' into 'master'
...
mqtt: unite supported components tags under common structure
See merge request espressif/esp-idf!22418
2023-09-05 14:06:33 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Andrii
6a42266795
fix(mqtt): Unite supported components tags under common structure
2023-08-10 09:06:16 +00:00
Chen Yudong
9aa23a4320
ci(wifi): add more wifi runners
...
sockets: add ipv6 only test
2023-07-24 18:09:55 +08:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Euripedes Rocha
4778d9b477
protocols/examples: Disable Wifi connection if not supported
...
- Disable Kconfig option for Wifi if not supported by the SoC
- Enable building mqtt examples when target is set to esp32h2
2023-05-30 13:26:45 +02:00
David Cermak
b2af4d9689
lwip/linux: Add lwip support for networking component under linux
...
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00
Harshit Malpani
7f683f0996
Remove nvs_flash.h from protocols/linux_stubs
2023-03-31 16:42:06 +05:30
Euripedes Rocha
d6db90a3cd
[tcp_transport] - Adds Socks4 proxy transport
...
- Basic implementation of Socks4 protocol.
- Introduce basic host testing.
2023-03-27 14:46:40 +02:00
David Čermák
956e62c461
Merge branch 'feature/lwip_ipv6_only' into 'master'
...
lwip: Support IPv6 only mode
Closes IDF-6023
See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
Harshit Malpani
af686f2eed
tcp_client: fix missing header file
2023-02-27 15:12:15 +05:30
David Cermak
5f6cb31105
lwip: Support IPv6 only mode
2023-02-27 08:53:34 +01:00
David Cermak
5d04ebab51
examples: Update socket udp_client to support lwip on linux
...
This uses FreeRTOS simulator and lwip on linux, with options
to use tap-io commponent for host network interactions.
2023-01-31 08:43:50 +01:00
David Cermak
fa97004faf
lwip: Support for linux target
...
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +01:00
Chen Yudong
c07d237ffe
examples: enable build esp32c6 for wifi and network examples
2023-01-12 14:50:06 +08:00
Chen Yudong
8aca3932b0
CI: enable more wifi cases
2023-01-06 06:03:52 +00:00
Harshit Malpani
4673556691
tcp_client: Remove components dir from tcp_client example and use esp_stubs from protocols/linux_stubs
2023-01-04 11:20:52 +05:30
Chen Yudong
51d2d20f75
example: add socket scripts again
2022-12-16 19:03:25 +08:00
Suren Gabrielyan
ec9abc7b02
Examples: update README of socket examples
2022-12-15 14:55:47 +08:00
Chen Yudong
2d006d488c
CI: Migrate socket example tests to pytest
2022-12-15 14:55:42 +08:00
Chen Yudong
df92048180
CI: fix ipv6 test failed on some runners
2022-12-14 15:58:49 +08:00
Song Ruo Jing
2557e24a28
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
2022-11-01 11:23:21 +08:00
David Čermák
720cc883d1
Merge branch 'tcp_transport_client_example' into 'master'
...
Create TCP Client using TCP TRANSPORT instead of socket
See merge request espressif/esp-idf!18429
2022-09-20 17:53:50 +08:00
AndriiFilippov
1befb078cd
Create TCP Client using TCP TRANSPORT instead of socket
...
Update error logs with returned values. Add transport_tcp_init() error check.Clean up
2022-09-15 14:26:21 +02:00
Abhik Roy
b3c39d2324
examples/socket: Fix for send() failure handling.
...
Closes https://github.com/espressif/esp-idf/issues/9475
2022-09-09 13:03:23 +05:30
Ivan Grokhotkov
c6e9a0c350
esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux
2022-08-18 18:16:45 +02:00
David Čermák
fbc32c0312
Merge branch 'examples/tcp_client_linux_support' into 'master'
...
tcp_client example: support for Linux target.
Closes IDF-5636
See merge request espressif/esp-idf!19203
2022-08-18 12:40:37 +08:00
Abhik Roy
933a2a69fe
tcp_client example: support for Linux target.
2022-08-16 23:48:18 +05:30
simon.chupin
35dda59209
tools: remove the dependency on the future package
2022-08-09 16:46:58 +02:00
Abhik Roy
8ab028c85e
icmpv6_ping example code formatting.
2022-07-20 12:14:59 +05:30
David Čermák
d1dc30fd70
Merge branch 'example/icmpv6_ping' into 'master'
...
examples: Add ICMPv6 Echo Request/Reply example.
See merge request espressif/esp-idf!18731
2022-07-19 05:04:02 +08:00
Abhik Roy
25c310b3da
examples: Add ICMPv6 Echo Request/Reply example.
...
Added example to create a raw ICMPv6 socket and sends an ICMPv6 Echo-Request
to the destination ipv6 address and wait for Echo-Reply for esp32 and Linux target.
2022-07-18 12:13:23 +05:30
Chen Yudong
d54e1e8379
CI: make sure that reading of the ipv4 address has finished
2022-07-15 14:21:39 +08:00
Chen Yudong
2f75733ad7
CI: Improve common test methods
...
also fix ota test cases
2022-07-15 14:21:34 +08:00
Chen Yudong
4313ff4655
CI: input ssid password depends on sdkconfig
2022-07-15 01:16:36 +08:00
Chen Yudong
472ac26712
CI: update test cases to use different environment variables
...
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2022-07-15 01:16:35 +08:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
David Čermák
46e599c56d
Merge branch 'feature/lwip_rework_patches' into 'master'
...
lw-IP: Reworked patches
Closes IDFGH-6197
See merge request espressif/esp-idf!17388
2022-06-03 15:26:55 +08:00
Michael (XIAO Xufeng)
f7be540222
ci: partially enable example build for esp32c2
2022-06-02 14:17:31 +08:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
David Cermak
b0e4ae4a5e
examples: Minor fixes in udp_nulticast socket examples
...
Make sure that IPv6 mapped IPv4 addresses are not used when using
vanilla lwip
2022-05-18 17:10:42 +02:00