Commit Graph

851 Commits

Author SHA1 Message Date
Euripedes Rocha
4b884c421a [MQTT] - Adds esp-timer as dependency and change version.
- Current time is now from esp_timer.
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
David Cermak
c6951764a2 mqtt: Update tests to start with valid transport 2025-09-19 18:51:40 +08:00
David Cermak
7d9a22b4d4 mqtt: Fix and add mqtt host test to CI 2025-09-19 18:51:40 +08:00
David Cermak
8f8090e4ac esp-netif: Make dependency on esp-eth optional
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
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
Jessy Chen
b2e3cc620a esp_wifi: optimize wifi kconfig 2025-09-19 18:51:40 +08:00
Mahavir Jain
537b53ad60 docs: Add esp_tls_errors.h to API reference list
Closes DOC-2797
2025-09-19 18:51:40 +08:00
Anton Maklakov
0edf4bee23 components: correct printf() placeholder for time_t
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2025-09-19 18:51:40 +08:00
Laukik Hase
6b188eab14 kconfig: Changed default values of bool configs
- Some bool configs were using default values true and false,
  instead of y and n.
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
Sagar Bijwe
3a3457eb66 Remove legacy system event framework. 2025-09-19 18:51:40 +08:00
Sudeep Mohanty
af6b3bb9fe esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2025-09-19 18:51:40 +08:00
Darian Leung
c1bc52fa31 freertos: Remove legacy hooks
This commit refactors the legacy hooks as follows:

- Removed CONFIG_FREERTOS_LEGACY_HOOKS
- FreeRTOS hooks are now enabled via:
    - CONFIG_FREERTOS_USE_IDLE_HOOK
    - CONFIG_FREERTOS_USE_TICK_HOOK
- Update IDF hooks documentation
2025-09-19 18:51:40 +08:00
David Cermak
64993a3270 esp_eth: Update esp32's EMAC API to decouple driver and vendor config 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
07f7376d1e ci/mqtt: Make publish test-app message properties configurable
Also increase the default sizes and repeat-counts to send more data and
exercise the library more intensly
2025-09-19 18:51:40 +08:00
David Cermak
0fe8646fd4 ci/mqtt: Fix weekend test publish-connect on target
* Fix thread safe issue in paho-mqtt library
* Move the weekend test to ethernet runner
2025-09-19 18:51:40 +08:00
David Cermak
d649af04a8 ci/mqtt: Move publish-connect test to ethernet runners 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
laokaiyao
e052687fc6 esp8684: rename target to esp32c2 2025-09-19 18:51:40 +08:00
David Cermak
05231a9912 mqtt: Add docs on MQTT_CUSTOM_OUTBOX implentation
Closes https://github.com/espressif/esp-mqtt/issues/217
2025-09-19 18:51:40 +08:00
Cao Sen Miao
e6130a46cd CI: Enable ESP8684 build stage CI on master 2025-09-19 18:51:40 +08:00
Jakob Hasse
92320ebdda refactor (test_utils)!: separate file for memory check functions
Memory check (leaks and heap tracing) functions for unit tests
now have a separate file now and are renamed for more consistency.

BREAKING CHANGE: renamed memory check function names which may be used
                 in unit tests outside IDF.
2025-09-19 18:51:40 +08:00
David Cermak
98d60c9a00 MQTT: Add more tests 2025-09-19 18:51:40 +08:00
David Cermak
afb3c084f1 MQTT: Add more unit tests with actual broker 2025-09-19 18:51:40 +08:00
Darian Leung
947a4f0908 freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()

Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()

Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
  thus the spinlock test pass threshold had to be increased to account for the extra runtime.

Closes https://github.com/espressif/esp-idf/issues/5301
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
Aditya Patwardhan
c7ce57bb52 mqtt_test_app: Fix the invalid esp-tls error code values in mqtt test app 2025-09-19 18:51:40 +08:00
David Cermak
523934decf CI: Update mqtt test to cleanup connect-publish-URI interaction 2025-09-19 18:51:40 +08:00
Euripedes Rocha
699dd4fbce [MQTT/test] Fix publish connect test
- Mqtt client will return error on wrong parameters. This fix the test
  code to setup the client for each test case.
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
Zim Kalinowski
0d4f84fe7a upgrade freertos version and history 2025-09-19 18:51:40 +08:00
David Cermak
43cca8e25c CI: mqtt test apps: removed unnecessary env.yml 2025-09-19 18:51:40 +08:00
Euripedes Rocha Filho
5cf3dad79a mqtt: Adds host tests for mqtt client 2025-09-19 18:51:40 +08:00
liuhan
531329d262 transport: Add CONFI_WS_TRANSPORT for optimize the code size 2025-09-19 18:51:40 +08:00
David Cermak
181e90fe5a CI: Prepare mqtt app test for QEMU tests
Adds qemu configuration
Generalize the get_dut() to enable choosing DUT class per configuration
2025-09-19 18:51:40 +08:00
David Cermak
f962ac035f CI: Enable publish tests only when started from weekend pipeline 2025-09-19 18:51:40 +08:00
David Cermak
9bc1e1a011 mqtt: Moved weekend tests to test apps 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
Marius Vikhammer
38cb3195e1 Support ESP32S3 Beta 3 target
Update ROM API. Port changes from bringup branch.
2025-09-19 18:51:40 +08:00
yuanjm
a9c5cd15d1 tools: Update mqtt open source test server address 2025-09-19 18:51:40 +08:00
yuanjm
f6629ff7e1 doc: Update mqtt open source test server address 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
Marius Vikhammer
3148f4c5dd CI: enable example builds for C3
Enables building C3 examples in CI.

Fixes related warnings/errors and disables examples that cannot run.
2025-09-19 18:51:40 +08:00