Commit Graph

903 Commits

Author SHA1 Message Date
Ivan Grokhotkov
c462db569e feat(examples): add local components via idf_component.yml
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2025-09-19 18:51:40 +08:00
caixinying-git
22ce182853 docs: update format issues left in EN docs 2025-09-19 18:51:40 +08:00
Andrii
ca9ca161ac fix(mqtt): Unite supported components tags under common structure 2025-09-19 18:51:40 +08:00
Armando
accb154b35 feat(ci): Enable p4 example, test_apps and unit tests CI build 2025-09-19 18:51:40 +08:00
Euripedes Rocha
3f1c0181eb ci: Fix publish connect mqtt test
Minor changes necessary to make the test run correctly
2025-09-19 18:51:40 +08:00
caixinying-git
fcaf10581c docs: update format issues for EN and CN under api-reference/protocols and migration-guides 2025-09-19 18:51:40 +08:00
Euripedes Rocha
07db66c669 fix(test/mqtt): Removes no-format from test_apps build
Allows warnings on mismatching format strings.
2025-09-19 18:51:40 +08:00
KonstantinKondrashov
95741c1682 all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2025-09-19 18:51:40 +08:00
Euripedes Rocha
7e352dcd85 protocols/examples: Disable Wifi connection if not supported
- Disable Kconfig option for Wifi if not supported by the SoC
- Enable building mqtt examples when target is set to esp32h2
2025-09-19 18:51:40 +08:00
David Cermak
b8047f0dad esp_netif: Make esp_netif_receive() return value configurable 2025-09-19 18:51:40 +08:00
Fu Hanxi
80bd386d3b ci: remove ttfw related info in tools/test_apps 2025-09-19 18:51:40 +08:00
Euripedes Rocha
c0cd2199c9 ci: Migrateunit test for mqtt test to unit test app
- Split mqtt and mqtt5 tests
 - Move common test code to a common component
 - Add necessary python scripts
2025-09-19 18:51:40 +08:00
Bogdan Kolendovskyy
8d88b6ea9d Updated CMakeList.txt for main component of mqtt/ssl_ds. 2025-09-19 18:51:40 +08:00
Bogdan Kolendovskyy
ecfe26da47 examples: fix format errors, remove -Wno-format
Logging in series of examples has misuse of "%d" instead of type-appropriate format specifiers.
Fix by changing "%d" to PRIxx macros corresponding to type.
Remove -Wno-format compile flag in those examples that are affected.
2025-09-19 18:51:40 +08:00
Mahavir Jain
7aaed493fc mqtt/ssl_ds: enable the example for ESP32-H2 target 2025-09-19 18:51:40 +08:00
Laukik Hase
1253a8995a ci: Enable build stage for mqtt/ssl_ds example for esp32c6 2025-09-19 18:51:40 +08:00
David Cermak
15805501f7 esp_netif/lwip: Fix core-locking config
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
* Fix openthread libs

Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2025-09-19 18:51:40 +08:00
Cao Sen Miao
22e548f3ab esp32h2: add build test 2025-09-19 18:51:40 +08:00
Chen Yudong
8f90dab8d8 examples: enable build esp32c6 for wifi and network examples 2025-09-19 18:51:40 +08:00
Linda
ffff8b9361 update ESP-MQTT by including the mqtt5 example 2025-09-19 18:51:40 +08:00
Euripedes Rocha
13c56ef791 [MQTT] - Moves compile definition out of idf
- MQTT build process is to be managed in esp-mqtt repository
- Componenf directory points directly to submodule, usage must be
  unchanged
2025-09-19 18:51:40 +08:00
Wang Zi Yan
8f2a725a86 docs: update mqtt wifi coexist 2025-09-19 18:51:40 +08:00
Chen Yudong
339e438840 CI: fix pattern in test case test_examples_protocol_mqtt5 2025-09-19 18:51:40 +08:00
Suren Gabrielyan
1efdb52330 Examples: migration mqtt examples to pytest 2025-09-19 18:51:40 +08:00
Euripedes Rocha
bfd413589a mqtt: Set state on stoping; Add error code to Subscribed event
* Update submodule: git log --oneline ae53d799da294f03ef65c33e88fa33648e638134..fde00340f19b9f5ae81fff02ccfa9926f0e33687

Detailed description of the changes:
* Fix the default configuration for event queue
  - See merge request espressif/esp-mqtt!153
  - See commit https://github.com/espressif/esp-mqtt/commit/fb42588
* Adds missing header.
  - See merge request espressif/esp-mqtt!152
  - See commit https://github.com/espressif/esp-mqtt/commit/8a60057
* Moves state change when stopping the client
  - See merge request espressif/esp-mqtt!150
  - Closes https://github.com/espressif/esp-mqtt/issues/239
  - See commit https://github.com/espressif/esp-mqtt/commit/3738fcd
* Adds error code to MQTT_EVENT_SUBSCRIBED in case of failure
  - See merge request espressif/esp-mqtt!143
  - - Closes https://github.com/espressif/esp-mqtt/issues/233
  - See commit https://github.com/espressif/esp-mqtt/commit/9af5c26
* Adds debug information on sending dup messages
  - See merge request espressif/esp-mqtt!145
  - See commit https://github.com/espressif/esp-mqtt/commit/47b3f9b
* ci: Fix qemu build
  - See merge request espressif/esp-mqtt!147
  - See commit https://github.com/espressif/esp-mqtt/commit/68e8c4f
* ci: Build and Test QEMU on v5.0
  - See merge request espressif/esp-mqtt!142
  - See commit https://github.com/espressif/esp-mqtt/commit/9db9ee7
* client: Add support for user events
  - See merge request espressif/esp-mqtt!140
  - Closes https://github.com/espressif/esp-mqtt/issues/230
  - See commit https://github.com/espressif/esp-mqtt/commit/97503cc
* Adds unregister event API
  - See merge request espressif/esp-mqtt!139
  - Closes https://github.com/espressif/esp-idf/issues/9194
  - See commit https://github.com/espressif/esp-mqtt/commit/a9a9fe7
2025-09-19 18:51:40 +08:00
Song Ruo Jing
f43591d970 ci: Disable some unit-test-apps for esp32c6 to pass ci build stage 2025-09-19 18:51:40 +08:00
Euripedes Rocha
c54d7cfe43 [MQTT] clarification of message retransmission
- Adds description of the message retransmission process for QoS 1 and
  2.
2025-09-19 18:51:40 +08:00
Armando
f643b95118 partition: use esp_partition_munmap instead of spi_flash_munmap 2025-09-19 18:51:40 +08:00
Martin Vychodil
cc7d9b4b7c Storage: Partition APIs moved to the new component 'esp_partition'
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2025-09-19 18:51:40 +08:00
Wang Zi Yan
0ec688bce6 docs: add a blank line in ble-mesh-index and translate mqtt 2025-09-19 18:51:40 +08:00
Song Ruo Jing
a394a3d70c ci: Enable esp32c6 example, test_apps, and unit tests CI build stage 2025-09-19 18:51:40 +08:00
yuanjianmin
81854fdf75 ci: Fix mqtt broker is not available 2025-09-19 18:51:40 +08:00
Euripedes Rocha
3ff7b48680 [MQTT] Simplifies MQTT CMakeLists file
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2025-09-19 18:51:40 +08:00
Aditya Patwardhan
41782c4f17 mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
the DS documentation
2025-09-19 18:51:40 +08:00
Aditya Patwardhan
f4f32e7b51 mqtt/ssl_ds: Add documentation on how to use esp-secure-cert-tool with
the example
2025-09-19 18:51:40 +08:00
Aditya Patwardhan
b0d5b719b6 mqtt/ssl_ds example: Update the code to use esp_secure_cert component 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
bfa9a90d99 mqtt/ssl_ds example: Remove configure_ds.py script, use
esp-secure-cert-tool instread
2025-09-19 18:51:40 +08:00
Roland Dobai
3aa8307f03 Tools: Fix flake8 version 5 warnings 2025-09-19 18:51:40 +08:00
simon.chupin
1cf692ec34 tools: remove the dependency on the future package 2025-09-19 18:51:40 +08:00
Alexey Lapshin
caa59d13d7 build system: re-add -Wno-format as private flag for some test_apps 2025-09-19 18:51:40 +08:00
Ivan Grokhotkov
649f6d369e build system: re-add -Wno-format as private flag for some example components 2025-09-19 18:51:40 +08:00
Ivan Grokhotkov
54de87142c build system: re-add -Wno-format as private flag for some components 2025-09-19 18:51:40 +08:00
yuanjm
17df9effcd example: Add mqtt5 example 2025-09-19 18:51:40 +08:00
yuanjm
186dd8a18b test: Add mqtt5 unit-test 2025-09-19 18:51:40 +08:00
yuanjm
30c80f9631 mqtt: Add mqtt5 Kconfig 2025-09-19 18:51:40 +08:00
David Cermak
30b05ecead esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2025-09-19 18:51:40 +08:00
Euripedes Rocha
dd40fc3af2 [MQTT] - Updates esp_mqtt configuration struct
- Layered config struct
- Fix examples.
2025-09-19 18:51:40 +08:00
Chen Yudong
119d724017 CI: make sure that reading of the ipv4 address has finished 2025-09-19 18:51:40 +08:00
Chen Yudong
fade26cf27 CI: Improve common test methods
also fix ota test cases
2025-09-19 18:51:40 +08:00
Chen Yudong
debc9962a1 CI: update test cases to use different environment variables
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2025-09-19 18:51:40 +08:00