imlinhanchao / vsc-serialport-helper

VSCode Serial Port Extension. You can connect any serial port used to read / write data.
https://marketplace.visualstudio.com/items?itemName=hancel.serialport-helper
MIT License
31 stars 7 forks source link

Does it work for Linux vscode? #11

Open YaoLiMuMu opened 2 years ago

YaoLiMuMu commented 2 years ago

Does it work for Linux vscode

imlinhanchao commented 2 years ago

I think it can work in Ubuntu. But I haven't device to try it. You can have a try.

YaoLiMuMu commented 2 years ago

I don't think so, it doesn't show anything in Serial Port View, and when I refresh serial port list, vscode warning "command 'serialport.refreshEntry' not found" image

now I use minicom as my serial print tool

imlinhanchao commented 2 years ago

OK. Could you let me know what Linux version you are? I will build virtual machine to debug.

YaoLiMuMu commented 2 years ago

It is appreciate for your reply, my linux version is ubuntu 20..04.03, please refer to the picture below image

imlinhanchao commented 2 years ago

Hi~ Can you try this way to rebuild extension? https://github.com/imlinhanchao/vsc-serialport-helper/wiki/How-To-Build-SerialPort-Node-module

diggit commented 2 years ago

v0.0.15 works fine on Archlinux. Serial port library rebuild was necessary though.

aziz76 commented 1 year ago

Hi,

Can you elaborate please? I have tried to rebuild the extensions following the steps here. But I am getting a build error:

../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ 486 | NODE_MODULE(serialport, init); | ^~~~~~~~~~~

I am running Arch Linux