mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-29 20:05:09 +00:00
a8c8b831b8
Treat ESP_INTR_FLAG_SHARED_PRIVATE as shared when selecting interrupt lines and avoid misclassifying private shared vectors as non-shared during free. Also fix two error-path leaks in esp_intr_alloc_info by freeing the temporary handle and rolling back group_name on allocation failure. refactor(esp_hw_support): add semantic vector descriptor helpers Introduce helper macros to classify vector descriptor state (shared, non-shared, private shared, and uninitialized) and apply them in allocator/free/dump paths. This makes private-shared semantics explicit and reduces repeated bitwise checks. Rename vector descriptor helpers to explicitly distinguish public shared, private shared, and shared-family states. This improves readability and avoids ambiguity when handling mixed shared/non-shared flag combinations.
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|---|