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
jiangguangming
8c075ea61f
spi_flash: remove unnecessary header includes in test_app
2023-05-19 11:28:50 +08:00
Jiang Jiang Jian
0501f87f33
Merge branch 'feature/use_api_to_enable_modem_on_esp32h2' into 'master'
...
ble: use modem_clock api to set clocks on ESP32-H2
See merge request espressif/esp-idf!23805
2023-05-19 11:01:15 +08:00
Shen Weilong
2900ed4858
ble docs: Update the ble docs for esp32c6 and esp32h2
2023-05-19 11:01:11 +08:00
Mahavir Jain
1747f2e0d1
Merge branch 'contrib/github_pr_11402' into 'master'
...
esp_ds: ignore releasing mutex if not called from same task (GitHub PR)
Closes IDFGH-10131
See merge request espressif/esp-idf!23763
2023-05-19 10:59:33 +08:00
AndriiFilippov
8694a1ea0c
update default pins for Ethernet basic and enc28j60 examples
...
update .yml files
2023-05-18 17:51:44 +02:00
liuning
5bfb5baecf
fix(phy): fix lp_bod reset if bt/i154 init phy before wifi
2023-05-18 20:58:44 +08:00
Island
4f9f50cb4a
Merge branch 'feature/esp32c2_enable_rf_temp_compensation' into 'master'
...
Feature/esp32c2 enable rf temp compensation
See merge request espressif/esp-idf!23728
2023-05-18 20:34:06 +08:00
Jeff H
628b633e50
log: Add master log option
...
Closes https://github.com/espressif/esp-idf/issues/11049
Closes https://github.com/espressif/esp-idf/pull/11057
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Result from an example in 11057:
When this option is not enabled:
1000 iterations took 10914 microseconds (10.9 microseconds per invocation)
1000 iterations took 10909 microseconds (10.9 microseconds per invocation)
When this option is enabled:
1000 iterations took 10960 microseconds (10.9 microseconds per invocation)
1000 iterations took 107 microseconds (0.1 microseconds per invocation)
2023-05-18 18:35:19 +08:00
wuzhenghui
f8b72615e5
bugfix: close phy_tsens before deepsleep
2023-05-18 16:38:48 +08:00
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
isha.pardikar@espressif.com
aceaa87ea0
NimBLE: Fixed mismatch of number of completed packtes in host flow control
2023-05-18 12:56:47 +05:30
Wu Zheng Hui
fa6a743f67
Merge branch 'bugfix/move_adc_onshot_power_management_to_shot_read_func' into 'master'
...
bugfix: Switch the adc power mode when in use to save power
Closes IDFGH-9205
See merge request espressif/esp-idf!23575
2023-05-18 15:05:32 +08:00
Cao Sen Miao
faa10947a8
temperature_sensor: Apply new-shared interface in temperature sensor driver
2023-05-18 15:00:36 +08:00
David Čermák
f21505da46
Merge branch 'bugfix/linux_freertos_select_wrap' into 'master'
...
freertos/linux: Fix use after scope exit in select() wrap
See merge request espressif/esp-idf!23755
2023-05-18 13:16:47 +08:00
C.S.M
a754efc548
Merge branch 'flash/add_new_module_sony' into 'master'
...
spi_flash: Add GD25LQ255E flash support (sony one 📷 )
Closes IDF-7378
See merge request espressif/esp-idf!23723
2023-05-18 11:48:19 +08:00
Adam Múdry
f13c9f746f
sdmmc: incrementally increase delay of vTaskDelay
...
Prevents unnecessary slowdown in polling functions
2023-05-18 05:33:25 +02: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
wuzhenghui
d197c59eaa
bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
...
Closes https://github.com/espressif/esp-idf/issues/10595
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-18 10:29:50 +08:00
KonstantinKondrashov
ce602a36f9
ci: Relax a check in pytest_gptimer_example
2023-05-17 23:40:59 +08:00
KonstantinKondrashov
b605404b06
esp_app_format: IRAM space optimization
2023-05-17 23:40:59 +08:00
Shen Weilong
c7f357523a
ble: use modem_clock api to set clock on ESP32-C6
2023-05-17 20:02:21 +08:00
Cao Sen Miao
1ec55b7d1a
spi_flash: Add GD25LQ255E flash support
2023-05-17 18:28:57 +08:00
Cao Sen Miao
e304db558b
temperature_sensor: Add new interface and reference counts so that phy and driver can use together
2023-05-17 17:40:59 +08:00
Kenneth Furge
90be9cc3e8
Set state to HTTP_STATE_REQ_COMPLETE_HEADER prior to calling the
...
HTTP_EVENT_HEADERS_SENT callback to allow streaming of PUT data
in the callback.
2023-05-17 14:06:51 +05:30
Lu Ai Jun
d7a141f3ea
Merge branch 'bugfix/update_test_dl_esp_cert' into 'master'
...
tests: update Root certificate for the test endpoints
Closes IDFCI-1710
See merge request espressif/esp-idf!23770
2023-05-17 14:18:44 +08:00
Shu Chen
dc848707db
ieee802154: fix a typo in set_channel API
2023-05-17 14:11:34 +08:00
chenjianhua
9c8958d73b
esp_hid: fixed ble hid battery level setting
2023-05-17 12:18:56 +08:00
Jiang Jiang Jian
5838c2ec66
Merge branch 'bugfix/fix_iphone_disconnects_immediately_after_connecting_when_BLE_wifi_coexist' into 'master'
...
Fix the iPhone disconnects immediately after connecting when BLE and wifi coexist
See merge request espressif/esp-idf!23656
2023-05-17 11:28:23 +08:00
Cai Xin Ying
0cccbc39a3
Merge branch 'docs/add_Chinese_translation_for_api-reference/system/mem_alloc' into 'master'
...
Provided Chinese translation for api-reference/system/mem_alloc.rst
Closes DOC-4894
See merge request espressif/esp-idf!23487
2023-05-16 20:05:05 +08:00
Cai Xin Ying
21f5cb8144
Provided Chinese translation for api-reference/system/mem_alloc.rst
2023-05-16 20:05:04 +08:00
cjin
41ea20908b
BLE: update ble lib
...
Added version support for esp32c6 eco1
2023-05-16 19:18:53 +08:00
cjin
1952a26d5e
ble:add version num support for esp32c6 chip
2023-05-16 19:18:53 +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
Rahul Tank
134d87848b
Merge branch 'bugfix/add_debug_print_for_event' into 'master'
...
Nimble: Add debug code to print HCI events information
See merge request espressif/esp-idf!23712
2023-05-16 17:43:53 +08:00
Zhang Xiao Yan
81558fb77d
Merge branch 'docs/update_algorithm_and_key_from_aes-xts_to_xts-aes' into 'master'
...
docs: update the algorithm and key name from AES-XTS to XTS-AES
See merge request espressif/esp-idf!23742
2023-05-16 17:39:58 +08:00
zwl
69571dfebf
ble:fixed build error when disable smp
2023-05-16 16:07:01 +08:00
zwl
9b50d4e2ef
ble:esp32c2 add rf temperature compensation
2023-05-16 16:07:01 +08:00
Armando (Dou Yiwen)
e3fea3ad71
Merge branch 'feature/support_32MB_psram_s3' into 'master'
...
psram: supported 32MB psram on esp32s3
Closes IDF-7365
See merge request espressif/esp-idf!23753
2023-05-16 16:03:17 +08:00
Jiang Jiang Jian
31f34b95cf
Merge branch 'bugfix/nvs_softap_pmk' into 'master'
...
esp_wifi: fix softap nvs <ssid,password,pmk> not match issue
Closes FCS-1196
See merge request espressif/esp-idf!23619
2023-05-16 15:59:43 +08:00
Zim Kalinowski
bdeeae7a52
Merge branch 'bugfix/remove-bootloader-random-line' into 'master'
...
bootloader: bootloader_random line
Closes IDF-4498
See merge request espressif/esp-idf!23325
2023-05-16 15:25:04 +08:00
Zim Kalinowski
dc7ff8676c
Merge branch 'feature/libunwind_backtracing' into 'master'
...
System: implement libunwind library for RISC-V backtracing
Closes IDFGH-6189
See merge request espressif/esp-idf!18147
2023-05-16 14:19:16 +08:00
C.S.M
50b4d5c6be
Merge branch 'ci/move_timer_into_unity' into 'master'
...
spi_flash: migrate spi_flash UT to pytest component test app
Closes IDF-6730
See merge request espressif/esp-idf!19709
2023-05-16 14:09:25 +08:00
Tomas Sebestik
8249d01ede
ci(github): add dependabot config
...
- add dependabot config file
- ignore DangerJS dependecies from dependabot
2023-05-16 08:04:43 +02:00
Konstantin Kondrashov
d5619aefc8
Merge branch 'feature/update_doc_for_bootloader_pin_levels' into 'master'
...
docs: Adds a note that a GPIO level of test app boot is configurable
Closes DOC-5019
See merge request espressif/esp-idf!23702
2023-05-16 13:59:19 +08:00
Konstantin Kondrashov
adf3142880
docs: Adds a note that a GPIO level of test app boot is configurable
2023-05-16 13:59:19 +08:00
Mahavir Jain
6e11e49cec
Merge branch 'bugfix/docs_fix_typo_in_custom_mac_api' into 'master'
...
docs: fix reference to custom mac address API
See merge request espressif/esp-idf!23750
2023-05-16 12:41:47 +08:00
Song Ruo Jing
a9c78245a0
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2
2023-05-16 03:52:11 +00:00
Justin Ong
a18d7e24d6
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp
2023-05-16 10:34:24 +08:00
Marius Vikhammer
0036e555e9
Merge branch 'contrib/github_pr_11388' into 'master'
...
Update esp_cpu.h to include esp_attr.h (GitHub PR)
Closes IDFGH-10113
See merge request espressif/esp-idf!23711
2023-05-16 09:20:07 +08:00