[已解决] linux系统已安装esp-idf,无法安装vscode插件(add openocd dev rules)

houyawei
Posts: 4
Joined: Fri Sep 17, 2021 5:26 am

[已解决] linux系统已安装esp-idf,无法安装vscode插件(add openocd dev rules)

Postby houyawei » Fri Sep 17, 2021 5:36 am

deepin/linux系统,使用第三种方式安装



无法add openocd dev rules


EISDIR: illegal operation on a directory, copyfile '/home/houyawei/.espressif/tools/openocd-esp32/v0.10.0-esp32-20210401/openocd-esp32/share/openocd/contrib/60-openocd.rules' -> '/etc/udev/rules.d/'

手动CP这个文件到/etc/udev/rules.d/,也无法进行下一步
Attachments
截图_选择区域_20210917133038.png
截图_选择区域_20210917133038.png (41.79 KiB) Viewed 4296 times
截图_选择区域_20210917133028.png
截图_选择区域_20210917133028.png (83.65 KiB) Viewed 4296 times
Last edited by houyawei on Fri Sep 17, 2021 8:49 am, edited 1 time in total.

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: linux系统已安装esp-idf,无法安装vscode插件(add openocd dev rules)

Postby ESP_Gargamel » Fri Sep 17, 2021 5:41 am

要 sudo cp 吧

houyawei
Posts: 4
Joined: Fri Sep 17, 2021 5:26 am

Re: linux系统已安装esp-idf,无法安装vscode插件(add openocd dev rules)

Postby houyawei » Fri Sep 17, 2021 5:51 am

ESP_Gargamel wrote:
Fri Sep 17, 2021 5:41 am
要 sudo cp 吧
是sudo cp的,文件也复制过来了,但无法进行下一步操作
截图_选择区域_20210917135024.png
截图_选择区域_20210917135024.png (154.51 KiB) Viewed 4280 times

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: linux系统已安装esp-idf,无法安装vscode插件(add openocd dev rules)

Postby ESP_Gargamel » Fri Sep 17, 2021 7:30 am

不确定是否和 deepin 有关系,用的是哪个版本的 deepin?

这一步先跳过吧,手动设一下,参看:https://docs.espressif.com/projects/esp ... html#linux
主要是要把你自己加到 plugdev 组里

Code: Select all

sudo useradd -G plugdev $(whoami)

houyawei
Posts: 4
Joined: Fri Sep 17, 2021 5:26 am

Re: linux系统已安装esp-idf,无法安装vscode插件(add openocd dev rules)

Postby houyawei » Fri Sep 17, 2021 7:47 am

ESP_Gargamel wrote:
Fri Sep 17, 2021 7:30 am
不确定是否和 deepin 有关系,用的是哪个版本的 deepin?

这一步先跳过吧,手动设一下,参看:https://docs.espressif.com/projects/esp ... html#linux
主要是要把你自己加到 plugdev 组里

Code: Select all

sudo useradd -G plugdev $(whoami)
后面也发现,只要手动复制,把这个窗口关了就行。现在打开实例,正常使用了

Who is online

Users browsing this forum: No registered users and 99 guests