Song Ruo Jing
a394a3d70c
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
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
Euripedes Rocha
3ff7b48680
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
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
Roland Dobai
3aa8307f03
Tools: Fix flake8 version 5 warnings
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
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