143 Commits

Author SHA1 Message Date
Euripedes Rocha Filho 6cf94c4011 fix: Mqtt examples default broker
Moves examples to different public broker and correct Cmake 4.x
incompatibility
2026-05-26 16:25:28 +02:00
Euripedes Rocha Filho 72abeb4063 ci: Move P4 apps to use large partitionc
Avoid the warning and allow to build on IDF 5.5
2026-02-27 10:41:03 +01:00
Ashish Sharma aea4f3ef0d feat: adds support to use PSA opaque DS driver 2026-02-05 11:25:57 +08:00
harshal.patil d289d73fc6 fix(examples): Add nvs_flash dependency explicitly 2026-01-16 10:51:36 +05:30
Euripedes Rocha Filho 4c57d316c0 fix: Removes forward / from topics in examples and test
Cleans up examples to adhere to mqtt best practices
2025-11-26 14:31:54 +01:00
Euripedes Rocha Filho 71534b1c43 ci: Adds target tests and move to gitlab components
Ths adopts gitlab components for better maintanance of CI.
Adds target tests
2025-10-01 13:14:17 +02:00
Euripedes Rocha Filho 04f8e3765d chore: Adds pre-commit checks and introduce conventional commits 2025-09-26 17:45:16 +02:00
Euripedes Rocha Filho 169e1ee88d fix: Adjust all examples and test to use local component
- Makes the name of component mqtt
- Updates README
- Adjust CI to build for supported idf versions
- Removes qemu job
2025-09-24 16:25:42 +02:00
Euripedes Rocha Filho 2925288e51 chore: Reorganize file structure
This just move files to their expected locations.
2025-09-22 13:19:04 +02:00
Euripedes Rocha f116643d5a feat(mqtt): Add reason code to SUBSCRIBED event in examples 2025-09-19 18:51:40 +08:00
Euripedes Rocha 6b609bcdee fix(mqtt): Make example binary data consistent
Improves user experience when copying examples to use as starting point.
2025-09-19 18:51:40 +08:00
Hossein.M dfeb06f99f fix: fix build failure when project name is not mqtt_ssl
fixes: #14870

Closes https://github.com/espressif/esp-idf/pull/14871
2025-09-19 18:51:40 +08:00
David Cermak 0cbd2fbcf3 fix(examples): Update wifi-remote dependency to include IDF-v6
Use esp_wifi_remote version < v2.0
Planned release v1.0 to support remote and native coexistence, which
should be still compatible with IDFv5.x and IDFv6.x
2025-09-19 18:51:40 +08:00
David Cermak ea6237dd8d change(examples): Re-enable examples which need esp_wifi_remote
This reverts commit b40958fd363733d2b0136f63e45016442b9baae9.
2025-09-19 18:51:40 +08:00
Ivan Grokhotkov 1741b21561 change(examples): temp. disable examples which need esp_wifi_remote
Will be re-enabled after adding IDF 6.0 compatibility in
esp_wifi_remote.
2025-09-19 18:51:40 +08:00
Chen Jichang 204f57f154 feat(esp32h4): disable unsupported build 2025-09-19 18:51:40 +08:00
Chen Jichang 05b46d3ed0 feat(esp32h4): enable ESP32H4 ci build 2025-09-19 18:51:40 +08:00
igor.udot d30dfd5074 test: format all test scripts 2025-09-19 18:51:40 +08:00
Marek Fiala a0f32ae1a0 feat(tools): Enforce utf-8 encoding with open() function 2025-09-19 18:51:40 +08:00
Frantisek Hrbata b17444a109 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-09-19 18:51:40 +08:00
Frantisek Hrbata e71a595cf8 change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-09-19 18:51:40 +08:00
Euripedes Rocha 2a68028e50 ci(mqtt): Set partition to large for c6 on custom outbox example
Example failed to build on CI for c6 target due to partition size.
2025-09-19 18:51:40 +08:00
David Cermak 8b6951a969 fix(examples): esp_hosted as default for Wi-Fi connect on P4 2025-09-19 18:51:40 +08:00
Ondrej Kosta 87e021c8d9 ci(esp_eth): enabled build and test for c61 in eth/proto examples 2025-09-19 18:51:40 +08:00
Ondrej Kosta d75c586e7e feat(esp_eth): removed disable of C5 and P4 from examples .build-test-rules
Updated examples to be able to build for C5 and P4.

Added Ethernet support for static_ip example.
2025-09-19 18:51:40 +08:00
xuxiao 67b882b53c fix(wifi): fix code comments 2025-09-19 18:51:40 +08:00
laokaiyao 54f86b9687 remove(c5beta3): remove c5 beta3 doxy files 2025-09-19 18:51:40 +08:00
David Cermak 08af0be8ce fix(examples): Add wifi_remote option to common connect example
* Add MQTT test configuration with WiFi on ESP32-P4
* Document esp_wifi_remote workflow in the example's README
2025-09-19 18:51:40 +08:00
Jakob Hasse ab03f3f21a refactor(mqtt): removed unused includes from tcp example 2025-09-19 18:51:40 +08:00
Bogdan Kolendovskyy 32e2d251e5 feat(mqtt): Enable build test in mqtt examples for esp32p4 2025-09-19 18:51:40 +08:00
Mahavir Jain ff8d77fc68 feat(examples): add support for ESP32-P4 in ssl_ds example 2025-09-19 18:51:40 +08:00
David Cermak 44750a277b feat(example): Use PPP config in one MQTT example
to be build in CI, but only running PPP on UART to avoid adding tinyusb
dependency.
2025-09-19 18:51:40 +08:00
Euripedes Rocha 24dd39433c feat(mqtt/example): Adds custom outbox example
Adds example presenting how to customize esp-mqtt outbox.
2025-09-19 18:51:40 +08:00
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
Andrii ca9ca161ac fix(mqtt): Unite supported components tags under common structure 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
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
Chen Yudong 8f90dab8d8 examples: enable build esp32c6 for wifi and network examples 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
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
yuanjianmin 81854fdf75 ci: Fix mqtt broker is not available 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