From d66b6e2749f098369b8c5c236e38dd01497ee68f Mon Sep 17 00:00:00 2001 From: David Cermak Date: Tue, 17 Dec 2024 07:16:07 +0100 Subject: [PATCH] feat(hints): Add hints on using external sock utilities --- tools/idf_py_actions/hints.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/idf_py_actions/hints.yml b/tools/idf_py_actions/hints.yml index 4236b08a28..46b415e566 100644 --- a/tools/idf_py_actions/hints.yml +++ b/tools/idf_py_actions/hints.yml @@ -455,3 +455,13 @@ - 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." + +- + re: "error: implicit declaration of function '(socketpair|gai_strerror|getifaddrs|freeifaddrs)'" + hint: "{}() is not supported in IDF.\nTo use a simplified implementation of this function, add a dependency to sock_utils library 'idf.py add-dependency espressif/sock_utils'" + match_to_output: True + +- + re: "undefined reference to `(socketpair|gai_strerror|gethostname|getnameinfo|pipe|getifaddrs|freeifaddrs)'" + hint: "{}() is not supported in IDF.\nTo use a simplified implementation of this function, add a dependency to sock_utils library 'idf.py add-dependency espressif/sock_utils'" + match_to_output: True