Commit Graph

1065 Commits

Author SHA1 Message Date
Ondrej Kosta
eba9549bbc Merge branch 'feat/eth_mac_filter' into 'master'
feat(esp_eth): added option to set MAC filter for mcast

Closes IDF-12503 and IDFGH-14897

See merge request espressif/esp-idf!36944
2025-04-30 19:38:02 +08:00
Mahavir Jain
ff555428d1 Merge branch 'feat/dynamic_buffer_tls1.3' into 'master'
feat(mbedtls): add support for dynamic buffer for TLS1.3

Closes IDFGH-14708, IDF-12469, IDF-9178, and IDF-1725

See merge request espressif/esp-idf!38258
2025-04-30 17:52:43 +08:00
Ondrej Kosta
e941910c0f feat(esp_eth): Added destination MAC address filter configuration interface 2025-04-29 13:54:56 +02:00
Yin Qing Zhao
7141b9558b Merge branch 'feat/chip_esp32c5_eco2_support_wifi' into 'master'
feat/chip esp32c5 eco2 support wifi

Closes IDF-10602, IDF-10616, IDF-10592, IDF-10590, IDF-10605, IDF-10604, IDF-10618, IDF-10617, IDF-10588, IDF-10598, IDF-10609, IDF-10610, IDF-10600, IDF-10589, IDF-10607, IDF-10608, IDF-10596, IDF-12857, IDF-11002, IDF-10601, IDF-10579, IDF-8641, IDF-8640, IDF-8639, IDF-8638, PM-403, AX-1139, AX-1151, AX-1153, AX-1155, WIFIBUG-1159, and WIFIBUG-1146

See merge request espressif/esp-idf!38566
2025-04-28 21:06:18 +08:00
hrushikesh.bhosale
17a1a0dfb9 feat(async_handler): Adding test for long uri requests
Adding test for two /long async requests.
2025-04-28 14:57:21 +08:00
hrushikesh.bhosale
b6d4fa2c2e fix(async_handler): Async handler example scratch buffer fix
1. In httpd_req_async_handler_begin, the httpd_req_aux is locally malloced
and data is  done memcpy to local httpd_req_aux from request'ss httpd_req_aux for
async request use-case, this causes scartch pointer from these two structs
pointing to same memory address.
2. In current workflow, the request's sratch buffer is freed in httpd_parse.c
httpd_req_cleanup api. Therefore if the user try to fetch the data (like headers)
from the scratch buffer, data will be not available.
3. Each request should have the deep copy of the scratch buffer. To retrive
the data later.

Closes https://github.com/espressif/esp-idf/issues/15587
2025-04-28 14:57:21 +08:00
yinqingzhao
dd9f8bfcbc feat(wifi): chip esp32c5 eco2 support wifi 2025-04-28 10:52:55 +08:00
Mahavir Jain
fbc38a95ec Merge branch 'fix/async_handler_example_stack_overflow_issue' into 'master'
fix(esp_http_server): Async handler example stack overflow fix

See merge request espressif/esp-idf!38586

Related: https://github.com/espressif/esp-idf/issues/15587
2025-04-25 14:52:01 +08:00
hrushikesh.bhosale
160336fe90 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-04-25 11:00:10 +05:30
Aditya Patwardhan
cb9ffd9cf6 fix(http_server): Fixed CI build test rules for the example 2025-04-24 15:57:12 +05:30
Ashish Sharma
415e0f3c86 feat(mbedtls): add support for dynamic buffer for TLS1.3
Closes https://github.com/espressif/esp-idf/issues/15448
2025-04-24 12:05:36 +08:00
laokaiyao
9a88effab8 ci: disabled RF soc caps for c5 eco2
Disable the RF soc caps to bypass the build of un-supported RF examples
2025-04-16 11:01:39 +08:00
Guillaume Souchere
e4e2a83e2f Merge branch 'fix/console-deinit-deadlock' into 'master'
fix(console): Deadlock on console deletion

Closes IDFGH-9188, IDFGH-8520, and IDF-6906

See merge request espressif/esp-idf!30920
2025-04-04 13:56:03 +08:00
Guillaume Souchere
30f8b59ed0 feat(console): Make console deinit optional 2025-04-03 10:06:01 +02:00
harshal.patil
9221c4eecd 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 09:20:35 +05:30
Chen Jichang
6c4271d4bb feat(esp32h4): disable unsupported build 2025-03-28 14:41:29 +08:00
Chen Jichang
c34b4eb882 feat(esp32h4): enable ESP32H4 ci build 2025-03-28 14:41:28 +08:00
Jiang Jiang Jian
4f5bed28e7 Merge branch 'bugfix/provisioning_sec2_aes_iv_usage' into 'master'
fix(provisioning): fix incorrect AES-GCM IV usage in security2 scheme

See merge request espressif/esp-idf!37226
2025-03-08 14:03:53 +08:00
Roland Dobai
62ce56c542 Merge branch 'fix/fix_kconfig_files' into 'master'
fix(kconfig): Fix issues with Kconfig files

See merge request espressif/esp-idf!36726
2025-03-07 18:24:06 +08:00
Mahavir Jain
00e8d1a832 fix(esp_local_ctrl): update for changes in protocomm security2 scheme 2025-03-07 13:49:12 +05:30
igor.udot
daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
Jan Beran
2ccbb2f91d fix(kconfig): Fix issues with Kconfig files 2025-03-03 13:02:41 +01:00
Hrushikesh Bhosale
3420672964 Merge branch 'feat/esp_http_client_requests_logs' into 'master'
feat(esp_http_client): Unable to recognise http requests logs

See merge request espressif/esp-idf!37328
2025-02-28 17:41:19 +08:00
hrushikesh.bhosale
06da436a4c feat(http_server/async_handler): Http server async pytest was not enabled
Pytest for the http_server/async_handler example was not enabled,
this ensures that the pytest is enabled
2025-02-28 11:23:26 +05:30
hrushikesh.bhosale
9d8805563d feat(esp_http_client): Unable to recognise http requests logs
In the esp_http_client_example, it becomes difficult to
determine which request or request type a log belongs to.
2025-02-26 17:19:48 +05:30
Mahavir Jain
e3e49d7463 Merge branch 'fix/make_scratch_buffer_dynamic' into 'master'
fix(esp_http_server): Make the http server scratch buffer dynamic

Closes IDF-11879

See merge request espressif/esp-idf!36651
2025-02-14 14:00:10 +08:00
hrushikesh.bhosale
9846584def feat(esp_http_server): Modified the calculation of buf_len
Modified the calculation of buf_len, so that scratch buffer allocates
the memory according to requirement and not extra (except the last read chunk)
2025-02-13 17:15:07 +05:30
Ondrej Kosta
45c186770c Merge branch 'fix/eth_example_stat_ip' into 'master'
fix(esp_eth): fixed Static IP example for Ethernet

Closes IDFCI-2707

See merge request espressif/esp-idf!36821
2025-02-12 20:19:16 +08:00
hrushikesh.bhosale
97b6043435 feat(esp_http_server): Dynamically allocate http server's scratch buffer
In this commit, esp_http_server's http_parser scratch is made dynamic.
User is asked to give limit size for header and URI, according to which
scratch buufer allocates memory upto limits
2025-02-11 09:41:26 +05:30
David Cermak
42d2a131f6 fix(lwip): Remove if_indextoname() impl in favor of LWIP_NETIF_API
ESP-IDF already hardcodes LWIP_NETIF_API=1, so the related netif APIs are
defined unconditionally.
2025-02-10 19:34:57 +08:00
Ondrej Kosta
f07e88de97 fix(esp_eth): fixed Static IP example for Ethernet
Fixed IP event handler unregistering for Ethernet
2025-02-10 11:08:50 +01:00
gaoxu
5ef4f20778 feat(esp32h21): disable unsupported build test 2025-02-06 15:47:51 +08:00
David Čermák
ed14b8d3f8 Merge branch 'fix/lwip_ping_getnetif_threadsafe' into 'master'
fix(lwip): Fix ping session calling thread unsafe API

Closes IDFGH-14183

See merge request espressif/esp-idf!35527
2025-01-14 18:16:51 +08:00
Mahavir Jain
7d75dea34a Merge branch 'feat/https_examples_pytest_with_esp32c2_rom_mbedtls' into 'master'
ci(https/examples): Enabled https examples pytest with config esp32c2_rom_mbedtls

See merge request espressif/esp-idf!33910
2025-01-14 12:17:10 +08:00
Mahavir Jain
25fe9e50eb fix(ci): use component dependency pattern in build yml 2025-01-13 09:10:04 +05:30
Mahavir Jain
6502148fdc fix(examples): simple http_server example build for Linux target
Static task creation on Linux target had issues with insufficient stack
memory allocation. Type of `StackType_t` is `unsigned long` and hence
it must be considered during stack memory allocation.

Fix ensures proper working of simple HTTP server example.
2025-01-10 09:50:18 +05:30
Marek Fiala
2c814ef2fa feat(tools): Enforce utf-8 encoding with open() function 2024-12-27 17:12:21 +08:00
Jiang Guang Ming
642ffec9ed ci: Enabled https_request example pytest with config esp32c2_rom_mbedtls 2024-12-23 17:30:06 +08:00
Mahavir Jain
4e0a45b9d8 Merge branch 'contrib/github_pr_15023' into 'master'
fix(html): Fix upload_script to actually use max size variables (GitHub PR)

Closes IDFGH-14227

See merge request espressif/esp-idf!35803
2024-12-23 15:57:37 +08:00
David Cermak
c5955f8cf6 fix(lwip): Fix ping session calling thread unsafe API
Closes https://github.com/espressif/esp-idf/issues/14982
2024-12-20 08:09:22 +01:00
Shu Chen
7d46a4a0b0 Merge branch 'example_connect/thread' into 'master'
feat(protocol_examples_common): Add Thread connect to support Thread for the protocol examples

See merge request espressif/esp-idf!34892
2024-12-16 17:56:46 +08:00
Anuj Deshpande
c81c6cfb3a Fix upload_script to actually use max size variables 2024-12-13 10:09:47 +05:30
WanqQixiang
3d0688942c feat(protocol_examples_common): Add Thread connect to support Thread for the protocol examples 2024-12-11 19:13:20 +08:00
Hrushikesh Bhosale
d90bd6a179 Merge branch 'feature/add_sse_demo_in_https_server_example' into 'master'
feat(http_server): Added Server Sent Events demo

Closes IDFGH-12605

See merge request espressif/esp-idf!33939
2024-12-06 15:44:01 +08:00
Euripedes Rocha
881bd1bf66 fix(mqtt): Corrects mqtt test apps dependencies
Test app build rules were missing the mqtt component as a dependency.
2024-12-04 15:46:05 +01:00
hrushikesh.bhosale
696b32c942 feat(https_server): Added Server Sent Events demo
This commit adds the demo of Server Sent Events
functionality in the https_server/simple example
Closes https://github.com/espressif/esp-idf/issues/13603

Co-authored-by: default avatarAditya Patwardhan <aditya.patwardhan@espressif.com>
2024-12-04 14:26:21 +05:30
Abhik Roy
967603b5aa feat(example): Added DNS over HTTPS (DoH) example 2024-12-03 22:52:25 +11:00
Alex Lisitsyn
b77ecce06b Merge branch 'contrib/github_pr_14878' into 'master'
fix(modbus): Fix the mode setup  in modbus slave (GitHub PR)

Closes IDFGH-14059

See merge request espressif/esp-idf!35237
2024-12-03 17:18:07 +08:00
aleks
a0c3a7231f fix(modbus): Fix the mode setup in modbus slave
https://github.com/espressif/esp-idf/pull/14878
2024-12-02 14:23:34 +01:00
Mahavir Jain
ac35595746 Merge branch 'contrib/github_pr_14834' into 'master'
[Examples] [Async Handlers] simplify code by splitting long_async_handler into two functions (GitHub PR)

Closes IDFGH-14011

See merge request espressif/esp-idf!34694
2024-11-26 15:07:29 +08:00