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 settings.json & .pioenv vs .pio/build in tasks.json #1

Open
Gasman2014 opened this issue Feb 15, 2020 · 1 comment
Open

.VSCode settings.json & .pioenv vs .pio/build in tasks.json #1

Gasman2014 opened this issue Feb 15, 2020 · 1 comment

Comments

@Gasman2014
Copy link

I note that you have referenced the build directory from .pioenv. I don't know if platformio has changed but .pioenvs is not recognised in my system. I have had to change all references in tasks.json from

.pioenvs/bluepill_f103c8/...

to

.pio/build/bluepill_f103c8/...

and then it works very well.

Also you probably want to change this in your .VSCode/settings.json file to be a generic $HOME ...

{
    "terminal.integrated.env.osx": {
        "PATH": "/Users/Luppy/.platformio/penv/bin:/Users/Luppy/.platformio/penv:/Users/Luppy/.local/bin:/usr/local/opt/[email protected]/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/bin:/usr/local/go/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Users/Luppy/.rvm/bin:/Applications/apache-ant-1.8.4/bin:/usr/local/share/npm/bin/:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin",
        "PLATFORMIO_CALLER": "vscode"
    }
}

Thanks for this.

@lupyuen
Copy link
Owner

lupyuen commented Feb 15, 2020

Thanks, really appreciate the note.

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

2 participants