Commit Graph

29931 Commits

Author SHA1 Message Date
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
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
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
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
Cao Sen Miao
1ec55b7d1a spi_flash: Add GD25LQ255E flash support 2023-05-17 18:28:57 +08:00
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
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
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
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
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
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
Zim Kalinowski
e9405e42ab bootloader: bootloader_random line 2023-05-15 22:06:47 +02:00
Roland Dobai
4c9fcce027 Merge branch 'bug/interactive_hints' into 'master'
tools: fix hints processing in interactive mode

Closes IDF-7314

See merge request espressif/esp-idf!23647
2023-05-15 21:50:10 +08:00
Zhang Xiao Yan
69d152fd89 Merge branch 'docs/fix_typo_in_api_guides_usb_otg_console' into 'master'
docs: fix a typo in api-guides/usb-otg-console

See merge request espressif/esp-idf!23751
2023-05-15 18:05:43 +08:00
Linda
65ee4992ce docs: update the algorithm and key name from AES-XTS to XTS-AES 2023-05-15 17:54:50 +08:00
Zim Kalinowski
bd1ac6a566 Merge branch 'feature/adds_esp_bootloader_desc_t' into 'master'
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app

Closes IDFGH-7206 and IDFGH-7573

See merge request espressif/esp-idf!21592
2023-05-15 17:54:43 +08:00
Martin Vychodil
61e694d2f3 Merge branch 'fix/cd_input_sd_mode_fails' into 'master'
CI: sdcard tests fail fix

Closes IDFCI-1700

See merge request espressif/esp-idf!23505
2023-05-15 17:37:29 +08:00
David Cermak
a41d360842 freertos/linux: Fix use after scope exit in select() wrap 2023-05-15 10:28:54 +02:00
Armando
e495d41de8 psram: supported 32MB psram on ESP32S3 2023-05-15 15:36:43 +08:00
Cao Sen Miao
36aace3f47 spi_flash: Move most tests in unit-test to pytest 2023-05-15 14:58:51 +08:00
Cao Sen Miao
0f83970368 ci: Delete ccomp_timer in IDF(witch has been moved to component manager) 2023-05-15 14:58:51 +08:00
Linda
7113190067 docs: fix a typo in api-guides/usb-otg-console 2023-05-15 14:14:20 +08:00
Mahavir Jain
0970fc7e0d
docs: fix reference to custom mac address API 2023-05-15 11:30:24 +05:30
Alexey Lapshin
2327c5cd00 Merge branch 'feature/remove_coredump_tests' into 'master'
coredump: remove tests (moved to esp-coredump repo)

See merge request espressif/esp-idf!22858
2023-05-15 12:31:42 +08:00
Omar Chebib
eeaa40f71d System: implement libunwind library for RISC-V backtracing
Closes https://github.com/espressif/esp-idf/issues/7866

A minimal x86 implementation has also been added, it is used to perform a host test.
2023-05-15 11:19:03 +08:00
Marius Vikhammer
ede0786eb0 Merge branch 'contrib/github_pr_11394' into 'master'
docs: Fix typo in Linux/macOS getting started docs (GitHub PR)

Closes IDFGH-10119

See merge request espressif/esp-idf!23731
2023-05-15 10:35:05 +08:00
Shu Chen
bb12cdaa08 Merge branch 'openthread/default_dnsserver_address' into 'master'
openthread: Add menuconfig to set the default dns server address

See merge request espressif/esp-idf!23581
2023-05-15 10:33:14 +08:00
Marius Vikhammer
a0be5e9ebf Merge branch 'bugfix/c2_wdt_reset_reason' into 'master'
wdt: fix IWDT reset reason for esp32c2

Closes IDF-3843 and IDF-5059

See merge request espressif/esp-idf!23722
2023-05-15 10:17:47 +08:00
Jiang Jiang Jian
8fe688c4f8 Merge branch 'bugfix/fix_multicast_example_map_wrong_address_issue' into 'master'
netdb:fix multicast address map wrong dns address issue

Closes IDFGH-8200

See merge request espressif/esp-idf!23565
2023-05-12 22:32:39 +08:00
Nihal Gonsalves
9eb66357f1
Fix typo in Linux/macOS getting started docs
`hello_word` -> `hello_world`
2023-05-12 15:55:23 +02:00
Marius Vikhammer
2272509978 ci: re-enable reset reason tests for all targets except H2. 2023-05-12 19:00:27 +08:00
Marius Vikhammer
9eadb6b12a esp-system: fixed int WDT reset reason being reported as task WDT on C2 2023-05-12 18:32:24 +08:00
Armando (Dou Yiwen)
ca2624e0eb Merge branch 'feature/sdmmc_host_timing_tuning' into 'master'
sdmmc: supported host timing tuning on esp32s3

Closes IDF-7240 and IDF-7250

See merge request espressif/esp-idf!23257
2023-05-12 18:00:41 +08:00
Rahul Tank
713e4391f8 Nimble: Add debug code to print HCI events information 2023-05-12 15:17:53 +05:30