Commit Graph

28200 Commits

Author SHA1 Message Date
Darian Leung
d69d1aafaf hal: Fix USB DWC HAL host channel halt race condition
This commit fixes a race condtion bug with usb_dwc_hal_chan_request_halt()
where a channel the channel is halted if it has just completed a transfer
(i.e., finished processing a QTD with the "HOC" flag set) but the channel is
still pending interrupt handling. In this case...

- usb_dwc_hal_chan_request_halt() would simply read the channel's underlying
register, determine it is not active, not set the "halt_requested" flag, and
simply return true.
- The caller assumes of usb_dwc_hal_chan_request_halt() will assume that the
channel has halted, and may proceed to reconfigure the pipe/port
- When usb_dwc_hal_chan_decode_intr() comes to process the pending interrupt
it will simply return USB_DWC_HAL_CHAN_EVENT_CPLT not knowing a halt has been
requested.

This commit updates the implementation of usb_dwc_hal_chan_request_halt() so
that a halt is properly requested even if the underlying channel has already
physically halted.
2022-12-06 18:08:54 +08:00
Vilem Zavodny
0ea1317983 examples/spi_lcd_touch: Fixed colors on ILI9341. 2022-12-06 10:59:25 +01:00
Alexey Gerenkov
893cc19f75 tools: Adds newlib nano support for clang builds 2022-12-06 12:33:09 +03:00
Alexey Gerenkov
989cb33fe4 tools: Updates esp-clang version to 'esp-15.0.0-20221201' 2022-12-06 12:33:09 +03:00
Shen Wei Long
67507baf37 Merge branch 'feature/add_comments_for_bt_connections_master' into 'master'
Explain how much memory that will be used by each connection/advertiser.

See merge request espressif/esp-idf!21321
2022-12-06 16:55:26 +08:00
Jiang Jiang Jian
8223a59183 Merge branch 'feat/espnow_rx_cb_opt' into 'master'
esp_wifi: upload more pkt info for espnow rx cb

Closes WIFI-4754

See merge request espressif/esp-idf!18261
2022-12-06 16:33:16 +08:00
Jiang Guang Ming
454aeb3a48 Merge branch 'feature/add_new_caps_for_rom_has_regi2c_bug' into 'master'
esp_rom: add ESP_ROM_HAS_REGI2C_BUG in rom caps

See merge request espressif/esp-idf!21418
2022-12-06 16:04:21 +08:00
Alexey Lapshin
2710718f5d docs: fix path to SYSVIEW_FreeRTOS.txt 2022-12-06 13:49:10 +07:00
Jiang Jiang Jian
505a78f4f5 Merge branch 'ci/patterns-target_test-wifi_more_files' into 'master'
CI: add more files to patterns-target_test-wifi

Closes IDFCI-1534

See merge request espressif/esp-idf!21398
2022-12-06 14:38:33 +08:00
Mahavir Jain
274aa2d7c0 Merge branch 'docs/remote_signing_of_images_cmd_fix' into 'master'
docs: fix secure boot "Remote Signing of Images" section command

Closes DOC-4198

See merge request espressif/esp-idf!21378
2022-12-06 14:35:21 +08:00
harshal.patil
54d6ab2044 docs: Added documentation for using pre-calculated signatures
to generate secure boot enabled binaries.
2022-12-06 10:23:45 +05:30
Marius Vikhammer
6bd0be3e92 Merge branch 'bugfix/freertos_port_miss_header' into 'master'
freertos: add missing header include for esp_chip_info.h to port.c

Closes IDFGH-8889

See merge request espressif/esp-idf!21456
2022-12-06 12:46:54 +08:00
Marius Vikhammer
b8e3896fc4 Merge branch 'bugfix/hints_require' into 'master'
hints: add a more complete description for component not found errors

See merge request espressif/esp-idf!21421
2022-12-06 12:00:55 +08:00
Mo Fei Fei
2f8371fe53 Merge branch 'docs/update_schematics_s3_devkitc' into 'master'
Docs: Update schematics for ESP32-S3 DevKitC-1

Closes DOC-4182

See merge request espressif/esp-idf!21406
2022-12-06 11:50:23 +08:00
Mo Fei Fei
120657cc08 Docs: Update schematics for ESP32-S3 DevKitC-1 2022-12-06 11:50:23 +08:00
Marius Vikhammer
ea249dc3a6 freertos: add missing header include for esp_chip_info.h to port.c
Closes https://github.com/espressif/esp-idf/issues/10310
2022-12-06 11:31:15 +08:00
morris
8c7e8f2811 doc: add api reference for controller lcd drivers 2022-12-06 11:12:28 +08:00
morris
18545e9abe lcd: support multi framebuffers for RGB LCD driver 2022-12-06 11:12:28 +08:00
Marius Vikhammer
b1b25ad7df hints: add a more complete description for component not found errors 2022-12-06 10:54:44 +08:00
Marius Vikhammer
36cb08c379 heap: add linux target support
Add wrappers for public heap API for the linux target.
2022-12-06 10:49:59 +08:00
Andrei Safronov
9d257054c8 xtensa: remove asm struct expressions in header files 2022-12-05 22:00:07 +03:00
Jiang Guang Ming
09b09fdb48 Merge branch 'bugfix/update_esp_psram_s2_s3_kconfig_description' into 'master'
esp_psram: update esp_psram s2/s3 Kconfig description

See merge request espressif/esp-idf!21424
2022-12-06 02:23:17 +08:00
Jakob Hasse
91f04aa877 refactor(nvs): custom allocator for all objects allocated in NVS 2022-12-05 18:59:33 +01:00
jiangguangming
d65913d279 esp_psram: update esp_psram s2/s3 Kconfig description 2022-12-05 15:07:29 +00:00
Jessy Chen
45ead31bd5 esp_wifi: upload more wifi pkt info in rx callback for espnow & csi 2022-12-05 22:30:08 +08:00
Jiang Jiang Jian
6419436684 Merge branch 'bugfix/skip_sae_during_wps' into 'master'
esp_wifi: Add changes to skip SAE handshake during WPS connection

Closes ESPCS-875

See merge request espressif/esp-idf!21369
2022-12-05 22:26:45 +08:00
xiongweichao
9d56c4c215 Assert when malloc user_data fail 2022-12-05 20:30:45 +08:00
xiongweichao
07621fdea8 Modified spp vfs example 2022-12-05 20:30:45 +08:00
xiongweichao
6bce9b7029 Fixed memory leak when SPP initialization failed 2022-12-05 20:30:45 +08:00
xiongweichao
4a702a2011 Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register() 2022-12-05 20:30:43 +08:00
Ondrej Kosta
84ab32b4ef Merge branch 'bugfix/emac_memory_leak' into 'master'
Fixed false positive emac rx memory leak reported by Coverity

Closes IDF-6363

See merge request espressif/esp-idf!21341
2022-12-05 20:04:15 +08:00
Tomas Rezucha
c64c6f3711 Merge branch 'feature/bsp_in_example' into 'master'
i2s: Add BSP support for es8311 example

Closes BSP-165

See merge request espressif/esp-idf!21279
2022-12-05 18:49:14 +08:00
Ondrej Kosta
600788da6a Merge branch 'contrib/github_pr_10292' into 'master'
fix small bug when logging eth error (GitHub PR)

Closes IDFGH-8869

See merge request espressif/esp-idf!21407
2022-12-05 17:58:37 +08:00
Zim Kalinowski
d4d76e1f5c efuse: enable qemu tests 2022-12-05 10:54:39 +01:00
C.S.M
7e12197324 Merge branch 'feature/add_esp32h2_g0_support' into 'master'
ESP32-H2: Last MR for g0 component support, (only hal left)

See merge request espressif/esp-idf!21364
2022-12-05 17:32:21 +08:00
C.S.M
6b1d4b4d49 ESP32-H2: Last MR for g0 component support, (only hal left) 2022-12-05 17:32:21 +08:00
yuanjianmin
5862a64d1c esp_https_server: Fix initializers missing in esp_https_server
Closes https://github.com/espressif/esp-idf/issues/10306
2022-12-05 17:19:58 +08:00
zwj
e5a45f00e4 Reduce the stack consumption of BTU_TASK 2022-12-05 17:01:48 +08:00
Xu Si Yu
f90183adc8 Merge branch 'feature/add_iperf_format_change' into 'master'
iperf: add output format change function for iperf

See merge request espressif/esp-idf!21065
2022-12-05 16:31:12 +08:00
Mahavir Jain
26e3f0bfbe Merge branch 'feature/http_request_cancel' into 'master'
Cancel an HTTP request

Closes IDFGH-8426

See merge request espressif/esp-idf!21171
2022-12-05 16:06:14 +08:00
Jiang Jiang Jian
f27a95c1f3 Merge branch 'feature/wps_registrar_example' into 'master'
WiFi: Add softAP WPS registrar example and events

See merge request espressif/esp-idf!18450
2022-12-05 16:04:43 +08:00
Tomas Rezucha
9d79efc3b7 i2s: Add BSP support for es8311 example
Users can now pick a BSP for development boards that have ES8311 codec populated.
2022-12-05 08:42:16 +01:00
Jiang Jiang Jian
12180da408 Merge branch 'contrib/github_pr_9529' into 'master'
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails

See merge request espressif/esp-idf!19463
2022-12-05 15:37:02 +08:00
Jiang Jiang Jian
4bd1e3fd0f Merge branch 'optimization/lwip_dns_ipv4_ipv6_timer' into 'master'
lwip:optimization dns ipv4 ipv6 timer

Closes AUD-4073

See merge request espressif/esp-idf!20963
2022-12-05 15:04:27 +08:00
Euripedes Rocha
88844e1504 tcp_transport: Adjust test task priorities.
Raise the listener task priority to be higher than runner task priority.
2022-12-05 07:02:28 +00:00
Mo Fei Fei
bcbb6d2fc2 Merge branch 'docs/add_cn_trans_esp_https_client' into 'master'
Docs: add CN trans for esp_http_client.rst

Closes DOC-4119

See merge request espressif/esp-idf!21267
2022-12-05 14:16:56 +08:00
Mo Fei Fei
f0060a7a76 Docs: add CN trans for esp_http_client.rst 2022-12-05 14:16:56 +08:00
Jiang Guang Ming
ad3693ca97 Merge branch 'feature/update_esp32h2_rom_caps' into 'master'
esp_rom: update esp32h2 rom caps

See merge request espressif/esp-idf!21373
2022-12-05 10:20:47 +08:00
Gregory Eslinger
58d64f9a00 Fixed mismatch in printf types
Removed duplicate `l` in format

Updated print types

Updated CMake
2022-12-04 07:25:10 -07:00
Saurabh Kumar Bansal
a9e40f6045 Merge branch 'usb_msc' into 'master'
usb: Add MSC device Example

Closes IDF-580

See merge request espressif/esp-idf!20881
2022-12-04 14:02:47 +08:00