Commit Graph

865 Commits

Author SHA1 Message Date
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
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
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