From eafb0815552f724c99ddb5ff848c4c5220788f72 Mon Sep 17 00:00:00 2001 From: mulles Date: Tue, 4 May 2021 18:49:20 +0200 Subject: [PATCH] Add udev rules remarks to README.md (#122) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1fe1499..2fdfe7e 100644 --- a/README.md +++ b/README.md @@ -206,3 +206,10 @@ st-flash 1.5.1 ``` check the connection between the programmer (for example the ST-Link of the Nucleo board) and the charge controller. + +With PlatformIO on Linux: +``` +Error: libusb_open() failed with LIBUSB_ERROR_ACCESS +Error: open failed +``` +means that a udev rule is missing. The [openocd.rules file](https://sourceforge.net/p/openocd/code/ci/master/tree/contrib/60-openocd.rules) needs to be copied to `/etc/udev/rules.d/` and the user executing PlatformIO should be added to the group `plugdev`.