From 66596b7f5903d5fbb722ccef10152394bec40456 Mon Sep 17 00:00:00 2001 From: Tomas Rezucha Date: Mon, 18 Nov 2024 21:03:30 +0800 Subject: [PATCH] feat(hints/usb): Add a hint about too small control transfer size --- tools/idf_py_actions/hints.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/idf_py_actions/hints.yml b/tools/idf_py_actions/hints.yml index 67c57f3a7c..4236b08a28 100644 --- a/tools/idf_py_actions/hints.yml +++ b/tools/idf_py_actions/hints.yml @@ -451,3 +451,7 @@ - re: "implicit declaration of function '__VA_NARG__'" hint: "__VA_NARG_ has been renamed. Please use ESP_VA_NARG instead" + +- + re: "Configuration descriptor larger than control transfer max length" + hint: "Connected USB device has a large Configuration descriptor.\nTo increase the transfer size, go to 'idf.py menuconfig' -> 'Component config' -> 'USB-OTG' -> 'Largest size of transfers to/from default endpoints' and set appropriate size."