1eb5df9780
mdns: add mdns delegation
...
This allows publishing mdns services for other devices.
* Original commit: espressif/esp-idf@401ff56cc1
2022-05-27 17:44:24 +04:00
3ad559bf3f
Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols
...
* Original commit: espressif/esp-idf@0a395134d4
2022-05-27 17:44:24 +04:00
7a8329cb5c
Bugfix: Connect example to add scan mode config
...
Closes https://github.com/espressif/esp-idf/issues/6595
* Original commit: espressif/esp-idf@3373eff989
2022-05-27 17:44:23 +04:00
eda5d72acf
examples: Strip IPv6 function in example and use sockaddr_storage to replace sockaddr_in6
...
* Original commit: espressif/esp-idf@821eea45b3
2022-05-27 17:44:23 +04:00
49a00c2455
style: format python files with isort and double-quote-string-fixer
...
* Original commit: espressif/esp-idf@0146f258d7
2022-05-27 17:44:23 +04:00
dec1d7dcf8
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
...
* Original commit: espressif/esp-idf@b8a8fe3f54
2022-05-27 17:44:23 +04:00
487287157d
example: We should not check the return value of esp_wifi_connect() in any case
...
* Original commit: espressif/esp-idf@c260c223e9
2022-05-27 17:44:23 +04:00
e2653e7fb0
eth: hide spi configuration when using internal emac
...
* Original commit: espressif/esp-idf@8d0a0537cc
2022-05-27 17:44:23 +04:00
df6a208f45
test: remove fake binary size check in example test:
...
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
* Original commit: espressif/esp-idf@a908174c06
2022-05-27 17:44:23 +04:00
d5566971fb
eth: support W5500 in network examples
...
* Original commit: espressif/esp-idf@aea901f014
2022-05-27 17:44:23 +04:00
2cb3a6e35e
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
* Original commit: espressif/esp-idf@66fb5a29bb
2022-05-27 17:44:23 +04:00
ccd48bc9a9
lwip: Added description to Kconfig option on IPv6 SLAAC
...
Closes https://github.com/espressif/esp-idf/issues/6076
Merges https://github.com/espressif/esp-idf/pull/6078
* Original commit: espressif/esp-idf@9207c6ca8e
2022-05-27 17:44:23 +04:00
110f1f652d
mdns test: Add test to resolve esp32 hostname with DiG
...
* Original commit: espressif/esp-idf@81e89476fe
2022-05-27 17:44:23 +04:00
ed77d65a82
examples: Common connect component: Unregister shutdown handler on disconnection
...
To be able to connect smoothly after disconnecting, we have to unregister all handlers including shutdown handler on disconnection
* Original commit: espressif/esp-idf@52a7721bf7
2022-05-27 17:44:23 +04:00
07f57523c8
examples: common connect to also support no connection flow if no inteface chosen
...
This is useful for testing if there's no need for external network and connection
* Original commit: espressif/esp-idf@085d2b8d25
2022-05-27 17:44:23 +04:00
ad67a23097
vfs: support vfs uart set line endings with specified uart number
...
* Original commit: espressif/esp-idf@8e00522cd7
2022-05-27 17:44:23 +04:00
078abd8161
esp_rom: extract common GPIO apis into esp_rom_gpio.h
...
* Original commit: espressif/esp-idf@a4d0033c03
2022-05-27 17:44:23 +04:00
f1f6c5de05
examples: common connect: fix build error if ipv6 disabled
...
Declaration of local variable esp_ip6_addr_t ip6[]; was active even if IPV6 disabled in sdkconfig. Introduced in 62e39adff8db0605875fe7103c8919fbfe229f20
* Original commit: espressif/esp-idf@5c6bca69a5
2022-05-27 17:44:23 +04:00
12fb6d8e15
protocol_examples_common: keep buffering enabled on stdout
...
- Newlib uses significantly more stack space when printing to an unbuffered stream
- For examples tests, disabling buffering on stdout is not really required
This issue was found during one of the OTA example test failure, root cause
being stack overflow in `esp_event` task.
* Original commit: espressif/esp-idf@7925ba245d
2022-05-27 17:44:23 +04:00
2258d5bcef
mdns-example: fail gracefully if mdns response not received within timeout
...
If mdns answer hasn't been received within timeout, Value error would be raised, but the mdns-server-thread would still run, blocking CI jobs. Fixed by moving the raise statement within try-finally block
* Original commit: espressif/esp-idf@3758177bf8
2022-05-27 17:44:23 +04:00
54f5c6f29c
examples: common connect component to use both interfaces at once
...
* Original commit: espressif/esp-idf@06711c7c36
2022-05-27 17:44:23 +04:00
123ae8db62
examples: add socket stdin utils to common connect component
...
* Original commit: espressif/esp-idf@a5a750ba48
2022-05-27 17:44:23 +04:00
e24cc7d1ae
common_connect: add support for getting multiple IPv6 addresses
...
* Original commit: espressif/esp-idf@63aa0d6e9c
2022-05-27 17:44:23 +04:00
9d9aac1569
esp-netif: support for ipv6 addr types and indices
...
* Original commit: espressif/esp-idf@56725fa678
2022-05-27 17:44:23 +04:00
ef9a758662
Add multi-target support for performance tests
...
* Original commit: espressif/esp-idf@15884eccf2
2022-05-27 17:44:23 +04:00
2a23f355c7
examples: enable IPv6 in example common connect for esp32s2
...
Closes IDF-1115
* Original commit: espressif/esp-idf@0927ac648f
2022-05-27 17:44:23 +04:00
07399011f7
examples: common connect code to ignore GOT_IP6_EVENT if comes from unrelated netif
...
* Original commit: espressif/esp-idf@48fe3a13f5
2022-05-27 17:44:23 +04:00
74aee42f80
ethernet: work with cache disabled
...
add ETH_MAC_FLAG_WORK_WITH_CACHE_DISABLE flag, make ethenret driver
possible to work when cache disabled
Closes https://github.com/espressif/esp-idf/issues/4406
* Original commit: espressif/esp-idf@5ad0bdd8db
2022-05-27 17:44:23 +04:00
7a3aa26df8
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
* Original commit: espressif/esp-idf@c906e2afee
2022-05-27 17:44:23 +04:00
c7ff8ba0c9
ethernet: warning when double start/stop
...
* Original commit: espressif/esp-idf@ac11545e0a
2022-05-27 17:44:23 +04:00
80ce63d73e
ethernet: move netif glue && add ref counter
...
1. move netif glue into single file
2. add reference counter for Ethernet driver
* Original commit: espressif/esp-idf@c3ee156df0
2022-05-27 17:44:23 +04:00
cd3cc0be3b
ethernet: add gpio number into config structure
...
* Original commit: espressif/esp-idf@05d71319de
2022-05-27 17:44:23 +04:00
573855031d
esp_netif: extract wifi_netif module as an abstraction to wifi universal interface defined by if handle and callback
...
* Original commit: espressif/esp-idf@20add7da60
2022-05-27 17:44:23 +04:00
d1c62628b8
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
...
* Original commit: espressif/esp-idf@3a19bf055d
2022-05-27 17:44:23 +04:00
48b819bbc1
mdns: update mdns to use esp-netif for mdns supported services such as STA, AP, ETH
...
removes also include dependency on lwip to use esp_netif defined address fields and structures
* Original commit: espressif/esp-idf@19e24fe61e
2022-05-27 17:44:23 +04:00
dfcefc38fd
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
* Original commit: espressif/esp-idf@a49b934ef8
2022-05-27 17:44:23 +04:00
879a6cdfa3
examples: common component initialization code to use new esp_netif
...
instead of tcpip_adapter
* Original commit: espressif/esp-idf@21464465ea
2022-05-27 17:44:23 +04:00
d52dddfea5
ci: limit example test to ESP32s
...
* Original commit: espressif/esp-idf@63329b169b
2022-05-27 17:44:23 +04:00
67d310b988
run WiFi on ESP32SBETA
...
* Original commit: espressif/esp-idf@99ef587a05
2022-05-27 17:44:23 +04:00
d8d6b35553
mdns: updated example test to exercise also hostnames resolved by lwip gethostbyname and getaddrinfo
...
* Original commit: espressif/esp-idf@f3cb91ef71
2022-05-27 17:44:23 +04:00
7dfe14c83d
ethernet: support OpenCores ethernet MAC
...
OpenCores Ethernet MAC has a relatively simple interface, and is
already supported in QEMU. This makes it a good candidate for enabling
network support when running IDF apps in QEMU, compared to the
relatively more complex task of writing a QEMU model of ESP32 EMAC.
This driver is written with QEMU in mind: it does not implement or
handle things that aren't implemented or handled in the QEMU model:
error flags, error interrupts. The transmit part of the driver also
assumes that the TX operation is done immediately when the TX
descriptor is written (which is the case with QEMU), hence waiting for
the TX operation to complete is not necessary.
For simplicity, the driver assumes that the peripheral register
occupy the same memory range as the ESP32 EMAC registers, and the
same interrupt source number is used.
* Original commit: espressif/esp-idf@31dac92e5f
2022-05-27 17:44:23 +04:00
0582187b9a
examples: gracefully shut down Wi-Fi before restart
...
This fixes the issue that if Wi-Fi is stopped from a shutdown handler,
the code in connect.c tries to reconnect, and fails because Wi-Fi is
already stopped.
Also make the error check in connect.c less strict.
* Original commit: espressif/esp-idf@28a440521e
2022-05-27 17:44:23 +04:00
28d5b74a00
ethernet: update spi-ethernet api
...
* Original commit: espressif/esp-idf@546ac64a9e
2022-05-27 17:44:23 +04:00
3e753f5e2d
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
...
* Original commit: espressif/esp-idf@afbaf74007
2022-05-27 17:44:23 +04:00
aaba3fc47a
examples: change default build instructions in docs to CMake
...
* Original commit: espressif/esp-idf@e7dba7d7bc
2022-05-27 17:44:23 +04:00
e431b6b7fe
build system: Use CMake-based build system as default when describing commands
...
* Original commit: espressif/esp-idf@47bbb107a8
2022-05-27 17:44:23 +04:00
ed71a239a8
ethernet: support dm9051
...
1. move resource allocation from xxx_init to xxx_new
2. fix enabling tx checksum insertion by mistake
3. iperf example: enlarge max arguments
4. add examples for spi-ethernet
Closes https://github.com/espressif/esp-idf/issues/3715
Closes https://github.com/espressif/esp-idf/issues/3711
* Original commit: espressif/esp-idf@cb42c29252
2022-05-27 17:44:23 +04:00
680bad646f
add esp_eth component
...
* Original commit: espressif/esp-idf@90c4827bd2
2022-05-27 17:44:23 +04:00
271665e0cb
examples: use new component registration api
...
* Original commit: espressif/esp-idf@6771eead80
2022-05-27 17:44:23 +04:00
9a0803ad7e
Rename Kconfig options (examples)
...
* Original commit: espressif/esp-idf@151f757912
2022-05-27 17:44:23 +04:00