1044 Commits

Author SHA1 Message Date
igor.udot
daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08: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
Frantisek Hrbata
1c92945f59 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Mahavir Jain
401fa7b0f3 Merge branch 'feat/updating_configs_of_esp_https_server' into 'master'
feat(esp_https_server): Updated the ESP_TLS_SERVER_CERT_SELECT_HOOK config

Closes IDF-8418

See merge request espressif/esp-idf!33966
2024-11-15 18:35:00 +08:00
hrushikesh.bhosale
ace6a490bc feat(esp_https_server): Updated the ESP_TLS_SERVER_CERT_SELECT_HOOK config
Update the ESP_TLS_SERVER_CERT_SELECT_HOOK config to ESP_HTTPS_SERVER_CERT_SELECT_HOOK
And made it depend on  ESP_TLS_SERVER_CERT_SELECT_HOOK
2024-11-14 14:48:50 +05:30
Kabir Waraich
8d2a172064
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.
2024-11-13 18:28:47 +05:30
David Cermak
f269835865 fix(lwip): Fix IP6 raw socket checksum in IPv6-only configuration 2024-11-08 12:21:35 +01:00
Chip Weinberger
a89a954a85
[Examples] [Async Handlers] simplify code 2024-11-05 14:22:24 -08:00
harshal.patil
5cc9931dc7
ci(examples/protocols): Run the https x509 bundle default crt bundle stress test using QEMU 2024-11-04 22:42:37 +05:30
nilesh.kale
3e1534e2f7 fix(esp_https_server): added default config for https_server example to set header size to 1024 2024-10-22 12:20:00 +05:30
Aditya Patwardhan
24c82a95a4 Merge branch 'bugfix/python_test_failed_locally_for_https_server' into 'master'
fix: updated pytest for https_server example as per config option

See merge request espressif/esp-idf!33986
2024-10-16 18:23:50 +08:00
Jiang Jiang Jian
8711b55bec Merge branch 'mqtt_custom_outbox_ci' into 'master'
Set partition to large for c6 on custom outbox example

See merge request espressif/esp-idf!34082
2024-10-12 14:29:15 +08:00
Aditya Patwardhan
6a29351bd0 Merge branch 'bug/ci_test_https_server_file_serving' into 'master'
fix(protocols): Erased the storage partition for http_server ci test

Closes IDFCI-2392

See merge request espressif/esp-idf!34083
2024-10-11 14:58:06 +08:00
Euripedes Rocha
5ccc9d1978 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-10 10:49:36 +02:00
hrushikesh.bhosale
3dc0f88dc6 fix(protocols): Erased the storage partition for http_server ci test
Added api to erase storage partition for http_server ci test
2024-10-10 14:11:18 +05:30
harshal.patil
0702fb82b0
ci(examples/protocols): Add more testing connections in the x509 bundle example
- This adds a test to try connecting to the domains that use the
most common certificate authorities with the default full cert bundle
2024-10-09 16:08:35 +05:30
nilesh.kale
0797f580bc fix: updated pytest for https_server example as per config option 2024-10-09 15:56:42 +05:30
David Čermák
07400d348c Merge branch 'feat/wifi_remote_with_hosted' into 'master'
fix(examples): esp_hosted as default for Wi-Fi connect on P4

See merge request espressif/esp-idf!33213
2024-09-30 15:37:40 +08:00
Alex Lisitsyn
01dcc49a0d feature modbus add support esp32c61 2024-09-25 11:42:45 +08:00
Ondrej Kosta
2653ed5318 Merge branch 'feat/spi_eth_c61' into 'master'
feat(esp_eth): added SPI ETH defaults for C61 in examples

Closes IDF-9298

See merge request espressif/esp-idf!33559
2024-09-24 17:12:49 +08:00
Aditya Patwardhan
238615c634
fix(examples): Update accurate information for HTTPS Server 2024-09-20 17:49:23 +05:30
Ondrej Kosta
301e67157b ci(esp_eth): enabled build and test for c61 in eth/proto examples 2024-09-18 08:44:58 +02:00