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
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
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
ef9a758662
Add multi-target support for performance tests
...
* Original commit: espressif/esp-idf@15884eccf2
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
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
d52dddfea5
ci: limit example test to ESP32s
...
* Original commit: espressif/esp-idf@63329b169b
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
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
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
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
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