-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
Answers checklist.
- I have read the component documentation ESP-IDF Components and the issue is not addressed there.
- I am using target and esp-idf version as defined in component's idf_component.yml
- I have searched the issue tracker for a similar issue and not found any related issue.
Which component are you using? If you choose Other, provide details in More Information.
host/cdc
ESP-IDF version.
v5.4.1
Development Kit.
esp32s3
Used Component version.
2.1.2
More Information.
ret = cdc_acm_find_and_open_usb_device(vid, pid, dev_config->connection_timeout_ms, &cdc_dev);
When ret == ESP_ERR_NO_MEM
cdc_acm_device_remove(cdc_dev);
If an assert is executed regarding a memory failure,
I cannot decide how to manage memory allocation failures
Even if you use CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=0
static void cdc_acm_transfers_free(cdc_dev_t *cdc_dev) { if (cdc_dev == NULL) { return; } ... }
Reactions are currently unavailable