Commit Graph

1001 Commits

Author SHA1 Message Date
Jiang Jiang Jian
b652d02074 Merge branch 'fix_https_request_ci_failure_v5.3' into 'release/v5.3'
fix(https_request): write host time to NVS to eliminate SNTP dependency in CI (backport v5.3)

See merge request espressif/esp-idf!48420
2026-05-20 17:59:58 +08:00
muhaidong
2c2eee578e fix(wifi): add ESP_WIFI_MAX_CONN_NUM-aligned ranges for soft-AP max STA Kconfig 2026-05-20 11:19:07 +08:00
Ashish Sharma
91cd9d754c fix(http_request): fixes failing pytest 2026-05-18 15:14:25 +08:00
hrushikesh.bhosale
06be8a2b5a ci(pre-commit): use typing.Callable for Python 3.8 compatibility on release/v5.3 2026-05-13 11:39:38 +05:30
hrushikesh.bhosale
80d8beb0b7 fix(https_request): write host time to NVS to eliminate SNTP dependency in CI
Replace erase_nvs + SNTP time sync with direct NVS timestamp injection
from the pytest host. This eliminates CI flakiness caused by NTP servers
being unreachable from the CI lab network.

Changes:
- Add write_time_to_nvs() helper that generates an NVS partition image
  with the current host timestamp and flashes it to the DUT before each
  test. The firmware reads this via the existing update_time_from_nvs()
  path and skips SNTP entirely.
- Remove @pytest.mark.parametrize('erase_nvs', ['y']) from all 4
  Ethernet-based tests since NVS is now written with valid data.
2026-05-12 10:50:16 +05:30
Aditya Patwardhan
b7a671622c Merge branch 'fix/x509_bundle_replace_unreliable_url_v5.3' into 'release/v5.3'
fix(examples): replace unreliable external URL in https_x509_bundle example (backport v5.3)

See merge request espressif/esp-idf!47721
2026-05-10 14:50:36 +05:30
Evgeny Torbin
bf81b9d743 ci: fix pre-commit hook errors 2026-04-17 16:01:00 +02:00
Evgeny Torbin
59f62ad15f test: format all test scripts 2026-04-17 16:01:00 +02:00
Hrushikesh Bhosale
38d76e0bab fix(https_x509_bundle): replace unreliable external URL in https_x509_bundle example
Replace howsmyssl.com with letsencrypt.org in the https_x509_bundle
example. howsmyssl.com is a third-party server that is frequently
unreachable from CI, causing flaky test failures. letsencrypt.org
chains to the same ISRG Root X1 CA, so the custom certificate bundle
validation coverage is identical.

(cherry picked from commit d6596eff3a)
2026-04-17 14:39:29 +05:30
Bogdan Kolendovskyy
0455b975bd ci(mqtt): use QoS=1 for control messages in SSL test
SSL test relies on the device receiving a control message during the test, which was being sent
with QoS=0. Send the control message with QoS=1 to avoid failures due to poor network connection.
2026-03-11 16:55:12 +01:00
hrushikesh.bhosale
9926b91a99 fix(esp_http_client): Fixed the esp_http_client example test
- remove the dut expect which was expect error code for invalid
request, as the HTTP_EVENT_DISCONNECTED is not getting triggered
2026-01-27 17:28:34 +05:30
hrushikesh.bhosale
a40b472220 fix(esp_http_client): Fixed the example pytest
Pytest was expect the positive content length for async req
2026-01-27 17:08:34 +05:30
Ondrej Kosta
6cf171edb6 feat(ci): updated Ethernet tests to align with new runners 2025-12-16 15:27:09 +08:00
hrushikesh.bhosale
cadd1804cc feat(esp_http_client): Make https_async request under CERT BUNDLE config
Make https_async rqeuest under MBEDTLS_CERTIFICATE_BUNDLE config
2025-08-22 16:31:41 +05:30
hrushikesh.bhosale
b5a0b07291 fix(esp_http_client): Moved httpd_async request from cert_pem to crt_bundle
Moved the httpd_async request from cert_pem to esp_crt_bundle. As cert_pem
is alredy tested for howmyssl URL
2025-08-06 11:40:32 +05:30
Mahavir Jain
a9c62e02e4 fix: update root certificate for postman-echo endpoint
The certificate chain for postman-echo endpoint has switched to
Let's Encrypt root CA
2025-06-13 11:05:57 +05:30
hrushikesh.bhosale
5722889fe3 fix(esp_http_server): Async handler example stack overflow fix
1. In async handler example, on hitting /long URI and closing the
connection forcefully from client (example ctrl + c) cause more stack
size (almost 200 bytes) than successfull request.
2. The connection should be closed from the server as soon as the client
closes the connect (i.e. handler should return ESP_FAIL to close the
connection)
2025-05-09 10:18:27 +05:30
harshal.patil
28e42429f4 fix(examples): Example CA certs must contain the Key Usage parameter
- Example CA certificates that are used for self-signed client certificates
need to include the Key Usage parameter.
- Python3.13 changed the default context of the SSL context that is
generated using ssl.create_default_context() by enabling the VERIFY_X509_STRICT
flag by default
2025-04-03 10:52:47 +05:30
Mahavir Jain
0a329ab9a4 fix(esp_local_ctrl): update for changes in protocomm security2 scheme 2025-03-10 10:00:12 +05:30
David Cermak
c2bc4d3797 fix(lwip): Fix ping session calling thread unsafe API
Closes https://github.com/espressif/esp-idf/issues/14982
2025-01-14 11:25:44 +01:00
Roland Dobai
bc92458d2a Merge branch 'feature/add_utf_8_decoding_v5.3' into 'release/v5.3'
feat(tools): Enforced utf-8 encoding with Python open() functions (v5.3)

See merge request espressif/esp-idf!36126
2025-01-06 17:10:39 +08:00
morris
b545f9cca8 Merge branch 'bugfix/modbus_serial_examples_fix_mode_v53' into 'release/v5.3'
fix(modbus): Fix the mode setup in modbus slave (backport v5.3)

See merge request espressif/esp-idf!36118
2025-01-06 17:05:33 +08:00
Marek Fiala
2b0407eb2a feat(tools): Enforce utf-8 encoding with open() function 2025-01-02 16:48:43 +01:00
aleks
fb506232f7 fix(modbus): Fix the mode setup in modbus slave
https://github.com/espressif/esp-idf/pull/14878
2025-01-02 17:58:42 +08:00
Kabir Waraich
74cb39cbca Update slave.c to fix the mode
There is an issue in the lines that I have changed. I think it was copied over from the enum by mistake.
2025-01-02 17:58:42 +08:00
WanqQixiang
43ae52b87a feat(protocol_examples_common): Add Thread connect to support Thread for the protocol examples 2024-12-31 14:33:17 +08:00
David Cermak
9b129db0cb fix(lwip): Fix IP6 raw socket checksum in IPv6-only configuration 2024-12-11 09:50:58 +01:00
Harshit Malpani
b577f659cd fix: Fixed build errors with TLS 1.3 only configuration 2024-12-10 13:07:44 +08:00
David Cermak
847ec07bc4 fix(examples): esp_hosted as default for Wi-Fi connect on P4 2024-10-25 17:32:09 +08:00
Mahavir Jain
98295c8c67 Merge branch 'bug/ci_test_https_server_file_serving_v5.3' into 'release/v5.3'
fix(protocols): Erased the storage partition for http_server ci test (v5.3)

See merge request espressif/esp-idf!34163
2024-10-17 12:37:57 +08:00
Euripedes Rocha
b16f944b86 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.
2024-10-14 09:11:25 +02:00
hrushikesh.bhosale
b4eb654cc3 fix(protocols): Erased the storage partition for http_server ci test
Added api to erase storage partition for http_server ci test
2024-10-14 12:00:15 +05:30
muhaidong
67b99935d9 fix(ci): fixed examples protocols mqtt custom_outbox build fail issue 2024-10-10 10:56:25 +08:00
Chen Jichang
84f024478c fix(ci): rerun pre-commit to fix readme files 2024-09-27 11:12:55 +08:00
David Cermak
d9e4ec6c0a 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
2024-07-04 11:14:46 +02:00
gaoxu
cf123b3626 feat(uart): support HP/LP uart on ESP32C5 MP v5.3 2024-06-12 18:15:22 +08:00
Ondrej Kosta
f6420436eb feat(esp_eth): a new folder structure of the driver and other improvements
Fixed memory leak in emac_esp_new_dma function.

Polished ESP EMAC cache management.

Added emac_periph definitions based on SoC features and improved(generalized) ESP EMAC GPIO
initialization.

Added ESP EMAC GPIO reservation.

Added check for frame error condition indicated by EMAC DMA and created a target test.
2024-06-07 15:26:18 +02:00
Sarvesh Bodakhe
fdb4197d02 fix(esp_wifi): Add some bugfixes and cleanup in softAP
1. Fix wrong reason code in 'WIFI_EVENT_AP_STADISCONNECTED' event
2. cleanup in softAP for disconnecting connected station
3. Update examples to display reason while processing WIFI_EVENT_AP_STADISCONNECTED event
2024-05-20 11:50:09 +08:00
nilesh.kale
855d1eb170 fix: Refactored script for initiating Python-based HTTPS server
This commit refactors the script responsible for starting a Python-based HTTPS server
to align with the latest Python version's requirements and best practices.

Closes https://github.com/espressif/esp-idf/issues/13575
2024-05-07 14:15:05 +05:30
Mahavir Jain
ebbcf074fc fix(examples): update root certificate for howsmyssl endpoint
This fixes CI failure seen because of cert migration of howsmyssl
endpoint from previous "DST Root CA X3" (cross-signed) to "ISRG Root X1".
2024-04-11 16:06:00 +05:30
Kevin (Lao Kaiyao)
432864e917 Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master'
ci(esp32c5mp): enable esp32c5 build on CI

See merge request espressif/esp-idf!29895
2024-04-08 12:16:16 +08:00
laokaiyao
65b1fd33d3 ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
Chen Yudong
7d13f8210f ci: fix pytest generic env markers 2024-04-03 18:10:43 +08:00
Mahavir Jain
421a1ee931 feat(examples): add support for ESP32-P4 in ssl_ds example 2024-03-27 10:56:13 +05:30
Harshit Malpani
1b7d8fafc5 docs: Update restful server example README file
Closes https://github.com/espressif/esp-idf/issues/13230
2024-02-28 16:52:11 +05:30
Harshit Malpani
19104b430f ci: fix ESP32-P4 build failures in CI 2024-02-26 22:59:01 +08:00
Harshit Malpani
bae89606c3 feat: Update esp_local_ctrl example for ESP32P4 2024-02-23 12:33:11 +05:30
Harshit Malpani
2df1ba8535 docs: Update App Utils programming guide docs for ESP32P4
Re-enable protocol and ota examples for ESP32P4
2024-02-23 12:33:11 +05:30
muhaidong
d1838da407 fix(example): fixed app partion is too small for binary size 2024-02-22 22:56:02 +08:00
Harshit Malpani
d52955efdd feat: Add event handler in simple https_server example 2024-02-14 14:36:14 +05:30