He Yin Ling
f5db736aa6
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.
2021-06-23 10:16:48 +08:00
xiehang
4403af7267
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-03-22 17:18:58 +08:00
xiehang
43a328a7c3
example: do not check the return value of esp_wifi_connect()
2021-01-15 20:10:35 +08:00
David Cermak
2afcd77874
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
2020-10-12 13:26:27 +02:00
houwenxiang
f664527eb4
vfs: support vfs uart set line endings with specified uart number (release/v4.1)
2020-08-24 15:37:44 +08:00
David Cermak
a2c55e2c37
examples: common connect code to ignore GOT_IP6_EVENT if comes from unrelated netif
2020-04-01 08:52:55 +02:00
morris
274b0b8d8a
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
2020-01-21 21:45:04 +08:00
morris
ac11545e0a
ethernet: warning when double start/stop
2019-12-03 16:10:20 +08:00
morris
c3ee156df0
ethernet: move netif glue && add ref counter
...
1. move netif glue into single file
2. add reference counter for Ethernet driver
2019-11-27 10:36:32 +08:00
suda-morris
05d71319de
ethernet: add gpio number into config structure
2019-11-20 10:36:45 +08:00
David Cermak
20add7da60
esp_netif: extract wifi_netif module as an abstraction to wifi universal interface defined by if handle and callback
2019-11-13 12:36:25 +01:00
David Cermak
3a19bf055d
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
2019-11-13 12:36:25 +01:00
David Cermak
21464465ea
examples: common component initialization code to use new esp_netif
...
instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
Angus Gratton
ae21d669b9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-17 18:22:08 +11:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
Ivan Grokhotkov
31dac92e5f
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.
2019-10-13 17:05:26 +02:00
Ivan Grokhotkov
28a440521e
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.
2019-10-07 16:47:49 +02:00
Ivan Grokhotkov
5830f529d8
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-02 19:01:39 +02:00
suda-morris
546ac64a9e
ethernet: update spi-ethernet api
2019-09-19 09:41:21 +00:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
suda-morris
cb42c29252
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
2019-07-04 19:38:13 +08:00
Xia Xiaotian
99ef587a05
run WiFi on ESP32SBETA
2019-06-28 11:34:49 +08:00
suda-morris
90c4827bd2
add esp_eth component
2019-06-26 10:19:23 +08:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
Roland Dobai
151f757912
Rename Kconfig options (examples)
2019-05-21 09:32:55 +02:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Ivan Grokhotkov
22bef90bd3
examples: add component for protocol examples network functionality
2019-04-15 03:32:05 +00:00