Commit Graph

33 Commits

Author SHA1 Message Date
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
Bogdan Kolendovskyy
32e2d251e5 feat(mqtt): Enable build test in mqtt examples for esp32p4 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
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
Chen Yudong
8f90dab8d8 examples: enable build esp32c6 for wifi and network examples 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
Fu Hanxi
4ebf448bcf docs: changes docs supported targets tables 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
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
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
Euripedes Rocha Filho
3f2c411e37 examples/mqtt : Fix ssl mutual auth to use event loop
The example for mqtt ssl mutual authentication is now using the event
loop. Thi modification makes it uniform with all the other mqtt
examples.
2025-09-19 18:51:40 +08:00
Angus Gratton
ebd802fa2c Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2025-09-19 18:51:40 +08:00
Marius Vikhammer
28a139c454 MQTT: add server side authentication to mutual auth example 2025-09-19 18:51:40 +08:00
David Cermak
5488fe31ba esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2025-09-19 18:51:40 +08:00
David Cermak
29a89b1961 examples: protocol examples which use common connection component
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2025-09-19 18:51:40 +08:00
Marius Vikhammer
358b4b1919 protocol examples: enable protocol examples for esp32sbeta
Closes IDF-1027
2025-09-19 18:51:40 +08:00
Anton Maklakov
898d58b747 tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2025-09-19 18:51:40 +08:00
Mahavir Jain
49360c1a93 examples: change default build instructions in docs to CMake 2025-09-19 18:51:40 +08:00
David Cermak
bf66526873 mqtt: update example documentation on generating a certificate for ssl authentication to hosts
Closes https://github.com/espressif/esp-idf/issues/3593
2025-09-19 18:51:40 +08:00
Angus Gratton
0872e4ec68 build system: Use CMake-based build system as default when describing commands 2025-09-19 18:51:40 +08:00
Renz Christian Bagaporo
0e49903b2f examples: use new component registration api 2025-09-19 18:51:40 +08:00
Michael (XIAO Xufeng)
0ff7c4ee21 ci: support to build esp32s2beta simple examples 2025-09-19 18:51:40 +08:00
Ivan Grokhotkov
ad3c88c867 examples/protocols/mqtt: use common network component 2025-09-19 18:51:40 +08:00
Roland Dobai
79e16da5c4 Correct Kconfigs according to the coding style 2025-09-19 18:51:40 +08:00
David Cermak
6b3ba4d55a mqtt: support for BEFORE_CONNECT event in idf
Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages
2025-09-19 18:51:40 +08:00
David Cermak
bab63dcee9 mqtt: ssl mutual authentication example added per PR from github, corrected cmake build, updated per idf style
Merges https://github.com/espressif/esp-idf/pull/2490
2025-09-19 18:51:40 +08:00