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
05ddd5f0e4
Rename Kconfig options (components/esp32)
...
* Original commit: espressif/esp-idf@0ae53691ba
2022-05-27 17:44:23 +04:00
c0f65a6997
mdns example: Remove a warned unused constant
...
* Original commit: espressif/esp-idf@453a33ce79
2022-05-27 17:44:23 +04:00
778eaa6ced
examples/protocols/mdns: use common network component
...
* Original commit: espressif/esp-idf@9628c60a1d
2022-05-27 17:44:23 +04:00
25f8656fbc
examples: add component for protocol examples network functionality
...
* Original commit: espressif/esp-idf@22bef90bd3
2022-05-27 17:44:23 +04:00
6ea0ea93fa
mdns: use esp_event library to handle events
...
* Original commit: espressif/esp-idf@a2d59525e5
2022-05-27 17:44:23 +04:00
11e4aebefd
mdns example: fix print result for IPv6 addresses
...
* Original commit: espressif/esp-idf@fbef5297fc
2022-05-27 17:44:22 +04:00
8d08e5ed95
mdns tests: execute test services only when running example in ci
...
Test services may cause confussion (and did cause some GitHub/forum issues). This update runs test services only when example executed in ci. Also host name is a simple config entry if executed outside of ci.
* Original commit: espressif/esp-idf@74cc7a065f
2022-05-27 17:44:22 +04:00
98e3171db6
Correct Kconfigs according to the coding style
...
* Original commit: espressif/esp-idf@37126d3451
2022-05-27 17:44:22 +04:00
dce0b26ef8
examples: Fix Python coding style
...
* Original commit: espressif/esp-idf@57c54f96f1
2022-05-27 17:44:22 +04:00
ade4aeffa5
mdns: added example test for ci runners
...
* Original commit: espressif/esp-idf@6309643c1d
2022-05-27 17:44:22 +04:00
67173f6770
cmake: make main a component again
...
* Original commit: espressif/esp-idf@d9939cedd9
2022-05-27 17:44:22 +04:00
98069f9ca2
remove executable permission from source files
...
* Original commit: espressif/esp-idf@cb649e452f
2022-05-27 17:44:22 +04:00
450c9de67b
Fix potential NULL pointer dereference crash.
...
* Original commit: espressif/esp-idf@be707f1c6b
2022-05-27 17:44:22 +04:00
b9726db48e
cmake: Add CMakeLists.txt files for all examples
...
Generating using convert_to_cmake.py, with some minor cleanup
* Original commit: espressif/esp-idf@800bffb8b0
2022-05-27 17:44:22 +04:00
6d99957f2d
Fix Kconfig.projbuild in some examples, where myssid is erroneously kept as the default value for password.
...
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com >
* Original commit: espressif/esp-idf@59d19d12af
2022-05-27 17:44:22 +04:00
9ebd9852ca
Examples: Demonstrate the usage of esp_err_to_name
...
* Original commit: espressif/esp-idf@27a63c492f
2022-05-27 17:44:22 +04:00
ad8c92db52
Import mDNS changes
...
* Original commit: espressif/esp-idf@4bddbc031c
2022-05-27 17:44:22 +04:00
1a1cf71a84
examples: Standardise naming of files, symbols, etc. in examples
...
* Use "example" in all example function & variable names,
ie use i2c_example_xxx instead of i2c_xxx for example functions.
Closes #198 https://github.com/espressif/esp-idf/issues/198
* Mark example functions, etc. static
* Replace uses of "test" & "demo" with "example"
* Split the UART example into two
* Rename "main" example files to end with "_main.c" for disambiguation
* Original commit: espressif/esp-idf@821c70f5d7
2022-05-27 17:44:22 +04:00
5924dafd94
examples: check return value of nvs_flash_init
...
nvs_flash_init may return an error code in some cases, and applications
should check this error code (or at least assert on it being ESP_OK, to
make potential issues more immediately obvious).
This change modifies all the examples which use NVS to check the error
code. Most examples get a simple ESP_ERROR_CHECK assert, while NVS
examples, OTA example, and NVS unit tests get a more verbose check which
may be used in real applications.
* Original commit: espressif/esp-idf@4813ab2d28
2022-05-27 17:44:22 +04:00
caa4884b3a
Added README.md to example category folders
...
* Original commit: espressif/esp-idf@0b6598c492
2022-05-27 17:44:22 +04:00
441a53c604
Moved examples to new folders / categories. Removed example numbers from example names
...
* Original commit: espressif/esp-idf@382999b378
2022-05-27 17:44:22 +04:00