Commit Graph

103 Commits

Author SHA1 Message Date
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
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
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
simon.chupin
1cf692ec34 tools: remove the dependency on the future package 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
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
Chen Yudong
729363e4cc CI: fix ip address checker and trace log 2025-09-19 18:51:40 +08:00
Fu Hanxi
4ebf448bcf docs: changes docs supported targets tables 2025-09-19 18:51:40 +08:00
Laukik Hase
ee67d87a90 ci: Fix mqtt_qos1 example test failure
- Updated log levels of some tags in mqtt/tcp example
  - Updated mqtt/tcp example test to work with WiFi
2025-09-19 18:51:40 +08:00
Michael (XIAO Xufeng)
c2d902062e ci: partially enable example build for esp32c2 2025-09-19 18:51:40 +08:00
Djordje Nedic
37ff11d0ed tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2025-09-19 18:51:40 +08:00
David Cermak
b390e07833 esp_netif: Remove tcpip_adapter compatibility layer 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
841e8d7c60 configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
Closes https://github.com/espressif/esp-idf/issues/8285
2025-09-19 18:51:40 +08:00
David Cermak
c0871b5be9 ci/mqtt: Move mqtt example tests to ethernet runners 2025-09-19 18:51:40 +08:00
Roland Dobai
5a8152580b Build & config: Remove leftover files from the unsupported "make" build system 2025-09-19 18:51:40 +08:00
Roland Dobai
426f028d84 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2025-09-19 18:51:40 +08:00
Sachin Billore
380f031a98 ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
Closes IDF-3859
2025-09-19 18:51:40 +08:00
Shubham Kulkarni
17ae8434f4 Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols 2025-09-19 18:51:40 +08:00
Euripedes Rocha
5fafa05f92 bugfix/mqtt examples: Updates the CA certificates used.
- Updates the CA certificates.
- Updates the URI names to reflect the new URI in the service used in
  the examples.

Closes IDFGH-4986
Closes https://github.com/espressif/esp-idf/issues/6776
2025-09-19 18:51:40 +08:00
yuanjm
c500e7c930 examples: Update mqtt open source test server address 2025-09-19 18:51:40 +08:00
David Cermak
ad00d740f4 examples/mqtt: Use common transport for setting log severity 2025-09-19 18:51:40 +08:00
Euripedes Rocha Filho
4471cd2158 examples/mqtt: Cleanup on examples
- Removes extra callback function, the code from the callback is integrated into the event handler code.
- Clarify usage of handler args, pass NULL as callback data instead of client, to avoid user confusion,
  and add documentation on usage of handler_args.
2025-09-19 18:51:40 +08:00