mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(usb/host): Do not call heap_caps_get_allocated_size() in USB host driver
It causes heap corruption if heap poisoning is enabled on ESP32-P4. It returns incorrect size on ESP32-S3. Closes https://github.com/espressif/esp-idf/issues/15815
This commit is contained in:
@@ -3,4 +3,6 @@ idf_component_register(SRCS "dev_hid.c"
|
||||
"dev_msc.c"
|
||||
"mock_msc.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES usb unity)
|
||||
REQUIRES usb unity
|
||||
PRIV_REQUIRES esp_mm
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user