Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode custom command question #206

Open
dontsovcmc opened this issue May 31, 2021 · 0 comments
Open

VSCode custom command question #206

dontsovcmc opened this issue May 31, 2021 · 0 comments

Comments

@dontsovcmc
Copy link

dontsovcmc commented May 31, 2021

Can't understand how I can run custom command with VS Code.
Try add this to tasks.json, but It doesn't work.

{
  "type": "shell",
  "task": "Monitor 115200",
    "command": "platformio",
    "args": [
        "--baud", "115200",
        "--port", "/dev/cu.wchusbserial1420",
    ],
  "problemMatcher": [
    "$platformio"
  ],
  "label": "PlatformIO: Monitor 115200"
}
Executing task: platformio --baud 115200 --port /dev/cu.wchusbserial1420 <
/bin/bash: platformio: command not found
Не удалось запустить процесс терминала "/bin/bash '-c', 'platformio --baud 115200 --port /dev/cu.wchusbserial1420'" (код выхода: 127).

pio also doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant