Chip Weinberger
3824eba04d
feat(httpd): add support for asynchronous request handling
...
This commit adds support for handling multiple requests simultaneously by introducing two new functions: `httpd_req_async_handler_begin()` and `httpd_req_async_handler_complete()`. These functions allow creating an asynchronous copy of a request that can be used on a separate thread and marking the asynchronous request as completed, respectively.
Additionally, a new flag `for_async_req` has been added to the `httpd_sess_t` struct to indicate if a socket is being used for an asynchronous request and should not be purged from the LRU cache.
An example have been added to demonstrate the usage of these new functions.
Closes https://github.com/espressif/esp-idf/issues/10594
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-05-19 10:05:42 +05:30
Konstantin Kondrashov
1d25057a24
Merge branch 'feature/iram_optimization_app_elf_sha256_2' into 'master'
...
esp_app_format: IRAM space optimization
Closes IDF-7131
See merge request espressif/esp-idf!23572
2023-05-18 15:29:31 +08:00
Zhang Wen Xu
8c5a395483
Merge branch 'bugfix/fix_typo_set_channel' into 'master'
...
ieee802154: fix a typo in set_channel API
See merge request espressif/esp-idf!23760
2023-05-18 10:36:47 +08:00
KonstantinKondrashov
ce602a36f9
ci: Relax a check in pytest_gptimer_example
2023-05-17 23:40:59 +08:00
Shu Chen
dc848707db
ieee802154: fix a typo in set_channel API
2023-05-17 14:11:34 +08:00
Mahavir Jain
2688dfe982
tests: update Root certificate for the test endpoints
...
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.
This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-16 15:56:29 +05:30
morris
a7d79456e2
Merge branch 'bugfix/mcpwm_bldc_example' into 'master'
...
mcpwm: test generator force level with dead time module
See merge request espressif/esp-idf!23649
2023-05-12 12:11:17 +08:00
Xiong Wei Chao
9b3dfe2caf
Merge branch 'feature/add_bluetooth_nimble_lightsleep_example' into 'master'
...
bt: Added an example of Bluetooth using light sleep
Closes BCI-299 and BT-1879
See merge request espressif/esp-idf!19698
2023-05-10 19:51:07 +08:00
morris
5680d28b0e
mcpwm: fix bldc example force output level inverted
...
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-10 19:17:21 +08:00
Zim Kalinowski
a495f4729b
Merge branch 'ci/fix_system_invalid_kconfigs' into 'master'
...
ci: fix invalid kconfig options in system test apps
See merge request espressif/esp-idf!23582
2023-05-10 01:38:46 +08:00
Alexey Lantushenko
9d1747dd59
1. The example does not work with when board only supports TYPE1 format 2. The example has syntax error converting void* to adc_digi_output_data_t*
...
Signed-off-by: Armando <douyiwen@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/11347
2023-05-09 12:37:05 +08:00
Marius Vikhammer
a300b3eb81
ci: fix invalid kconfig options in system test apps
2023-05-09 11:27:55 +08:00
laokaiyao
bf8419fd6e
i2s: public bclk_div and add a default config for PDM TX DAC
2023-05-06 14:19:48 +08:00
Xu Si Yu
9d4898cf0c
Merge branch 'bugfix/modify_state_check_method' into 'master'
...
OpenThread CI: add a function for executing commands
See merge request espressif/esp-idf!23529
2023-05-05 19:05:46 +08:00
David Cermak
b2af4d9689
lwip/linux: Add lwip support for networking component under linux
...
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00
Rahul Tank
ef232423dd
Merge branch 'bugfix/add_event_cb_for_pcl' into 'master'
...
Nimble: Add support to send power control event in registered callback
See merge request espressif/esp-idf!23522
2023-05-05 11:59:36 +08:00
Zim Kalinowski
4ba38c2105
Merge branch 'fix/console-build-error' into 'master'
...
console: Fix building issue when serial JTAG is set
Closes IDFGH-9327
See merge request espressif/esp-idf!23311
2023-05-04 20:15:42 +08:00
xiongweichao
1532675692
bt: Added an example of Bluetooth using light sleep
2023-05-04 14:41:31 +08:00
Omar Chebib
74d87aef0c
Merge branch 'feature/dedicated_gpios_xtensa' into 'master'
...
Dedicated GPIO: add software UART implementation for Xtensa targets
See merge request espressif/esp-idf!21918
2023-05-04 12:49:27 +08:00
Xu Si Yu
34d8117820
OpenThread CI: add a function for executing commands
2023-05-04 10:34:17 +08:00
Ivan Grokhotkov
0eb2bdf3dc
Merge branch 'contrib/github_pr_11204' into 'master'
...
Fix function signature in flash suspend example (GitHub PR)
Closes IDFGH-9888
See merge request espressif/esp-idf!23254
2023-05-02 17:09:57 +08:00
Rahul Tank
1f92c349a2
Nimble: Add support to send power control event in registered callback
2023-05-02 12:14:23 +05:30
Rahul Tank
329eec289b
Merge branch 'feature/services_health_therm' into 'master'
...
NimBLE: Added health thermometer profile
See merge request espressif/esp-idf!23065
2023-05-02 13:28:08 +08:00
Mahavir Jain
789173587f
Merge branch 'add_c6_in_supported_targets_in_prov_example' into 'master'
...
Add ESP32-C6 in supported targets
See merge request espressif/esp-idf!23492
2023-05-02 11:56:50 +08:00
isha.pardikar@espressif.com
8c3ba9e2dc
NimBLE: Added health thermometer profile
2023-04-28 17:20:16 +05:30
Jiang Jiang Jian
40aa745641
Merge branch 'bugfix/a2dp_source_app_state_error' into 'master'
...
bt: Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device
Closes IDFGH-9843
See merge request espressif/esp-idf!23277
2023-04-28 17:46:22 +08:00
Harshit Malpani
47740e3da5
Add esp32c6 in supported target for ota examples
2023-04-28 10:57:33 +05:30
Harshit Malpani
0c8db529cb
Add ESP32-C6 in supported targets for wifi_prov_mgr example
2023-04-28 10:57:32 +05:30
Mahavir Jain
b5055b9bfa
Merge branch 'feature/add_mbedtls_ciphersuites_set_get_api' into 'master'
...
esp-tls: Add config and api to set and get ciphersuites list
Closes IDF-7183
See merge request espressif/esp-idf!23320
2023-04-28 13:01:59 +08:00
morris
de72ac217c
Merge branch 'bugfix/rmt_one-wire' into 'master'
...
rmt_onewire: refactor example with component registry
Closes IDFGH-9422
See merge request espressif/esp-idf!23288
2023-04-28 04:51:32 +08:00
yuanjianmin
3f58b33c7f
example: Add example to test ciphersuites set function
2023-04-27 19:22:27 +08:00
Mahavir Jain
cba923788e
Merge branch 'feature/tls1_3_support' into 'master'
...
esp-tls: add initial support for TLS1.3 connections (client mode)
Closes IDF-7251 and IDF-7252
See merge request espressif/esp-idf!23442
2023-04-27 18:13:43 +08:00
Guillaume Souchere
c84f0b25ac
console: Fix building issue when serial JTAG is set
...
Closes https://github.com/espressif/esp-idf/issues/10707
2023-04-27 15:28:23 +08:00
morris
af2085b789
rmt_onewire: refactor example with component manager
...
Closes https://github.com/espressif/esp-idf/issues/10790
2023-04-27 15:02:55 +08:00
Marius Vikhammer
9357f0977c
Merge branch 'ci/chip_support_network_invalid_kconfigs' into 'master'
...
ci: remove redundant ci configs for chip support and network components
See merge request espressif/esp-idf!23430
2023-04-26 17:26:05 +08:00
Martin Vychodil
53f680d0c1
Merge branch 'fix/sdcard_example_blocker' into 'master'
...
CI: fix sdcard examples timeout
Closes IDFCI-1696, IDFCI-1683, IDFCI-1684, and IDFCI-1687
See merge request espressif/esp-idf!23410
2023-04-26 16:33:53 +08:00
Isha Pardikar
743fd29187
Merge branch 'bugfix/spp_notify' into 'master'
...
NimBLE: Removed indicate flag from gatt db and added subscription case in spp_server example
See merge request espressif/esp-idf!23409
2023-04-26 13:21:54 +08:00
Marius Vikhammer
bca026455c
ci: remove redundent ci configs for chip support and network components
...
CI would build psram config test apps even for target with no psram.
2023-04-26 09:54:29 +08:00
Zim Kalinowski
4a647d08de
Merge branch 'feature/c6_ulp_sleep' into 'master'
...
ulp: added sleep support for lp core
Closes IDF-7012
See merge request espressif/esp-idf!23103
2023-04-25 22:40:52 +08:00
Zhang Wen Xu
83fdb4d28b
Merge branch 'bugfix/add_input_init_of_dut_for_openthread_ci' into 'master'
...
openthread CI: add input init of dut for openthread CI
See merge request espressif/esp-idf!23428
2023-04-25 21:01:59 +08:00
Mahavir Jain
873ac173c4
https_mbedtls: update example to support TLS 1.3 connection
...
- make server verification mandatory (previously it was optional)
- add PSA crypto init API and handling for session ticket event
- coding style fixes
2023-04-25 17:43:58 +05:30
Song Ruo Jing
e2a5c092f7
Merge branch 'refactor/rename_to_esp_clk_tree_prefix' into 'master'
...
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx
See merge request espressif/esp-idf!23362
2023-04-25 19:41:39 +08:00
Armando (Dou Yiwen)
31bf665d88
Merge branch 'bugfix/fix_adc_continuouus_example_pytest_potential_failure' into 'master'
...
adc: fix adc_continuous example pytest potential failure
See merge request espressif/esp-idf!23424
2023-04-25 18:54:46 +08:00
Saurabh Kumar Bansal
2fb3681ad2
Merge branch 'feature/usb_composite_device_support' into 'master'
...
usbd: add usb composite device example
Closes IDFGH-9035
See merge request espressif/esp-idf!23135
2023-04-25 16:34:45 +08:00
Xu Si Yu
f46872780c
openthread CI: add delay to ensure that the dut can receive input command
2023-04-25 15:31:21 +08:00
isha.pardikar@espressif.com
718c6a4f13
NimBLE: Removed indicate flag from gatt db, added subscription case and corrected indentation
...
in spp_server example.
2023-04-25 12:25:51 +05:30
Song Ruo Jing
a4e8960ab4
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-25 14:12:06 +08:00
Armando
6bf35715e4
fix adc_continuous example pytest potential failure
2023-04-25 12:28:27 +08:00
Marius Vikhammer
359b237cc5
ulp: added sleep support for lp core
...
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-25 11:51:35 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7
Merge branch 'refactor/remove_esp32h4_target' into 'master'
...
esp32h4: removed esp32h4 target (stage 2)
Closes IDF-7237, IDF-7238, and IDF-7239
See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00