Ivan Grokhotkov
05dcd8f0ee
examples/protocols: fix compilation when CONFIG_EXAMPLE_USE_OPENETH=y
...
The code checked CONFIG_ETH_USE_SPI_ETHERNET (which is usually set),
but CONFIG_EXAMPLE_ETH_SPI_xxx_GPIO options are only defined if
CONFIG_EXAMPLE_USE_SPI_ETHERNET is set. Fix the ifdef accordingly.
Regression from abc79de6.
* Original commit: espressif/esp-idf@ece73a3e55
2022-05-27 17:44:24 +04:00
Ondrej Kosta
c2abeff476
examples: Update Ethernet examples to use new PHY LAN87xx init function
...
Ethernet examples device usage and Kconfig options synchronized
* Original commit: espressif/esp-idf@4e77430107
2022-05-27 17:44:24 +04:00
David Cermak
6a92d3253f
CI: mdns example test: start responder after valid IP
...
to clean up the test and not to pollute the network unnecessarily.
Also keeps sending the delegated query until a response found
* Original commit: espressif/esp-idf@042fa1831e
2022-05-27 17:44:24 +04:00
David Cermak
47c7266103
mdns: Add asynchronous query API
...
Closes https://github.com/espressif/esp-idf/issues/7090
* Original commit: espressif/esp-idf@d81482d699
2022-05-27 17:44:24 +04:00
Jiacheng Guo
2ddaee2b6e
mdns: allow explicit txt value length
...
* Original commit: espressif/esp-idf@b4e0088b68
2022-05-27 17:44:24 +04:00
He Yin Ling
73b1763029
example: set example wifi scan method to all channel:
...
in CI example test we could have runners with same SSID in the same lab.
Use scan on all channel will let DUT connect to the AP with best RSSI.
* Original commit: espressif/esp-idf@97a09e51ce
2022-05-27 17:44:24 +04:00
Jiacheng Guo
8a8d58d4dc
mdns: fix test script delayed response
...
* Original commit: espressif/esp-idf@a4f263948c
2022-05-27 17:44:24 +04:00
Jiacheng Guo
402baebfee
mdns: fix wrong SRV/PTR record handling
...
* Original commit: espressif/esp-idf@e6135552d2
2022-05-27 17:44:24 +04:00
Jiacheng Guo
418fb60dd9
mdns: fix mdns probe/reply behavior
...
* send correct hostnames when probing.
* add test for mdns host delegation.
* Original commit: espressif/esp-idf@d2a5d25984
2022-05-27 17:44:24 +04:00
Jiacheng Guo
4049b3b5ed
mdns: make delegate host address a list
...
Also adds unit test and doc string for new apis.
* Original commit: espressif/esp-idf@2d34352f3d
2022-05-27 17:44:24 +04:00
Jiacheng Guo
c8821199a2
mdns: add remove delegate host api
...
* Original commit: espressif/esp-idf@2174693096
2022-05-27 17:44:24 +04:00
Jiacheng Guo
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
Shubham Kulkarni
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
ronghulin
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
yuanjm
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
Fu Hanxi
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
xiehang
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
xiehang
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
morris
e2653e7fb0
eth: hide spi configuration when using internal emac
...
* Original commit: espressif/esp-idf@8d0a0537cc
2022-05-27 17:44:23 +04:00
He Yin Ling
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
morris
d5566971fb
eth: support W5500 in network examples
...
* Original commit: espressif/esp-idf@aea901f014
2022-05-27 17:44:23 +04:00
Angus Gratton
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
nx518
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
David Cermak
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
David Cermak
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
David Cermak
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
houwenxiang
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
morris
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
David Cermak
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
Mahavir Jain
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
David Cermak
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
David Cermak
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
David Cermak
123ae8db62
examples: add socket stdin utils to common connect component
...
* Original commit: espressif/esp-idf@a5a750ba48
2022-05-27 17:44:23 +04:00
David Cermak
e24cc7d1ae
common_connect: add support for getting multiple IPv6 addresses
...
* Original commit: espressif/esp-idf@63aa0d6e9c
2022-05-27 17:44:23 +04:00
David Cermak
9d9aac1569
esp-netif: support for ipv6 addr types and indices
...
* Original commit: espressif/esp-idf@56725fa678
2022-05-27 17:44:23 +04:00
Roland Dobai
ef9a758662
Add multi-target support for performance tests
...
* Original commit: espressif/esp-idf@15884eccf2
2022-05-27 17:44:23 +04:00
David Cermak
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
David Cermak
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
morris
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
He Yin Ling
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
morris
c7ff8ba0c9
ethernet: warning when double start/stop
...
* Original commit: espressif/esp-idf@ac11545e0a
2022-05-27 17:44:23 +04:00
morris
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
suda-morris
cd3cc0be3b
ethernet: add gpio number into config structure
...
* Original commit: espressif/esp-idf@05d71319de
2022-05-27 17:44:23 +04:00
David Cermak
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
David Cermak
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
David Cermak
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
David Cermak
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
David Cermak
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
Michael (XIAO Xufeng)
d52dddfea5
ci: limit example test to ESP32s
...
* Original commit: espressif/esp-idf@63329b169b
2022-05-27 17:44:23 +04:00
Xia Xiaotian
67d310b988
run WiFi on ESP32SBETA
...
* Original commit: espressif/esp-idf@99ef587a05
2022-05-27 17:44:23 +04:00