Particle: Set Target [ISSUE]

Using the latest and greatest workbench, but I don’t see the command Particle: Set Target. I would like to set my target to my new Argon. I am logged in and have downloaded the latest compiler toolchain successfully. Everything compiles successfully but to a Photon. Any body have any ideas?

thanks

{
    "username": "abc",
    "workspace": {
        "name": "helloworld (Workspace)",
        "isWorkspace": true,
        "configFile": "helloworld.code-workspace",
        "root": "/Users/abc/Dropbox/abc/argon/helloworld",
        "files": [
            ".vscode",
            ".vscode/launch.json",
            ".vscode/settings.json",
            ".vscode/tasks.json",
            "README.md",
            "helloworld.code-workspace",
            "project.properties",
            "src",
            "src/helloworld.cpp",
            "src/helloworld.ino",
            "target",
            "target/helloworld.bin",
            "target/helloworld.bin.crc_block",
            "target/helloworld.bin.no_crc",
            "target/helloworld.elf",
            "target/helloworld.hex",
            "target/helloworld.lst",
            "target/helloworld.map",
            "target/obj"
        ]
    },
    "vscode": {
        "appName": "Visual Studio Code",
        "appRoot": "/Applications/Visual Studio Code.app/Contents/Resources/app",
        "machineId": "dbb8d085aca42a2c8fe7d70310d5fe06f79d6b7165c83f40c6602f330be72386",
        "sessionId": "a88d8627-c5c4-4411-9094-464e750027b41546093674556",
        "version": "1.30.1"
    },
    "cli": {
        "binpath": "/Users/abc/.vscode/extensions/particle.particle-vscode-core-1.0.0-alpha.6/src/cli/bin/darwin/amd64/particle",
        "ok": true,
        "version": "1.36.3"
    },
    "localCompiler": {
        "dependencies": [
            "deviceOS@0.8.0-rc.27",
            "gcc-arm@5.3.1",
            "buildtools@1.0.1",
            "buildscripts@1.0.1",
            "deviceOS@0.7.0",
            "buildscripts@1.0.0"
        ]
    },
    "platform": {
        "os": "darwin",
        "type": "Darwin",
        "release": "18.2.0",
        "arch": "x64",
        "path": {
            "key": "PATH",
            "value": "/Users/abc/.platformio/penv/bin:/Users/abc/.platformio/penv:/Users/abc/.local/bin:/Users/abc/bin:/Users/abc/.platformio/penv/bin:/usr/local/gcc-arm/gcc-arm-none-eabi-7-2017-q4-major/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Applications/Postgres.app/Contents/Versions/latest/bin"
        },
        "homeDir": "/Users/abc",
        "particleDir": "/Users/abc/.particle",
        "localCompilerToolchainDir": "/Users/abc/.particle/toolchains"
    },
    "env": {
        "TERM_PROGRAM": "iTerm.app",
        "TERM": "xterm-256color",
        "SHELL": "/bin/zsh",
        "TMPDIR": "/var/folders/64/6lw8_t3501l4fp4bftk7d95w0000gn/T/",
        "Apple_PubSub_Socket_Render": "/private/tmp/com.apple.launchd.SoLSDPpYV7/Render",
        "TERM_PROGRAM_VERSION": "3.2.6",
        "TERM_SESSION_ID": "w0t0p0:63D90572-172F-4CE1-A7AF-119A6B9F3475",
        "ZSH": "/Users/abc/.oh-my-zsh",
        "USER": "abc",
        "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.P4RCqPV4tC/Listeners",
        "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0",
        "PAGER": "less",
        "LSCOLORS": "Gxfxcxdxbxegedabagacad",
        "PATH": "/Users/abc/.platformio/penv/bin:/Users/abc/.platformio/penv:/Users/abc/.local/bin:/Users/abc/bin:/Users/abc/.platformio/penv/bin:/usr/local/gcc-arm/gcc-arm-none-eabi-7-2017-q4-major/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Applications/Postgres.app/Contents/Versions/latest/bin",
        "PWD": "/Users/abc/Dropbox/abc/argon",
        "LANG": "en_US.UTF-8",
        "ITERM_PROFILE": "Default",
        "XPC_FLAGS": "0x0",
        "XPC_SERVICE_NAME": "0",
        "SHLVL": "2",
        "HOME": "/Users/abc",
        "COLORFGBG": "7;0",
        "ITERM_SESSION_ID": "w0t0p0:63D90572-172F-4CE1-A7AF-119A6B9F3475",
        "LESS": "-R",
        "LOGNAME": "abc",
        "LC_CTYPE": "en_US.UTF-8",
        "DISPLAY": "/private/tmp/com.apple.launchd.PCINrNHmYr/org.macosforge.xquartz:0",
        "COLORTERM": "truecolor",
        "_": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron",
        "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
        "VSCODE_CLI": "1",
        "ELECTRON_NO_ATTACH_CONSOLE": "1",
        "GOOGLE_API_KEY": "AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
        "VSCODE_NODE_CACHED_DATA_DIR": "/Users/abc/Library/Application Support/Code/CachedData/dea8705087adb1b5e5ae1d9123278e178656186a",
        "VSCODE_LOGS": "/Users/abc/Library/Application Support/Code/logs/20181229T082719",
        "VSCODE_IPC_HOOK": "/Users/abc/Library/Application Support/Code/1.30.1-main.sock",
        "VSCODE_PID": "15869",
        "AMD_ENTRYPOINT": "vs/workbench/node/extensionHostProcess",
        "PIPE_LOGGING": "true",
        "VERBOSE_LOGGING": "true",
        "VSCODE_IPC_HOOK_EXTHOST": "/var/folders/64/6lw8_t3501l4fp4bftk7d95w0000gn/T/vscode-ipc-eb49fea6-6388-431f-b6b7-16245e9b2af0.sock",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_LOG_STACK": "false",
        "VSCODE_LOG_LEVEL": "undefined",
        "VSCODE_PREVENT_FOREIGN_INSPECT": "true",
        "CRASH_REPORTER_START_OPTIONS": "{\"companyName\":\"Microsoft\",\"productName\":\"VSCode\",\"submitURL\":\"https://rink.hockeyapp.net/api/2/apps/21a48a66799e47fea4f52c0ff81e803d/crashes/upload\",\"extra\":{\"vscode_version\":\"1.30.1\",\"vscode_commit\":\"dea8705087adb1b5e5ae1d9123278e178656186a\",\"vscode_sessionId\":\"a88d8627-c5c4-4411-9094-464e750027b41546093674556\",\"processName\":\"extensionHost\"},\"crashesDirectory\":\"/var/folders/64/6lw8_t3501l4fp4bftk7d95w0000gn/T\"}",
        "ELECTRON_RUN_AS_NODE": "1",
        "PLATFORMIO_CALLER": "vscode",
        "LC_ALL": "en_US.UTF-8",
        "PLATFORMIO_IDE": "1.6.0"
    },
    "versions": {
        "http_parser": "2.7.0",
        "node": "8.9.3",
        "v8": "6.1.534.41",
        "uv": "1.15.0",
        "zlib": "1.2.11",
        "ares": "1.10.1-DEV",
        "modules": "57",
        "nghttp2": "1.25.0",
        "openssl": "1.0.2n"
    },
    "extensions": [
        {
            "id": "ms-vscode.node-debug",
            "version": "1.30.4"
        },
        {
            "id": "ms-vscode.node-debug2",
            "version": "1.30.3"
        },
        {
            "id": "ms-vscode.references-view",
            "version": "0.0.18"
        },
        {
            "id": "austin.code-gnu-global",
            "version": "0.2.2"
        },
        {
            "id": "christian-kohler.npm-intellisense",
            "version": "1.3.0"
        },
        {
            "id": "dbaeumer.jshint",
            "version": "0.10.20"
        },
        {
            "id": "dbaeumer.vscode-eslint",
            "version": "1.7.2"
        },
        {
            "id": "Equinusocio.vsc-material-theme",
            "version": "2.6.3"
        },
        {
            "id": "esbenp.prettier-vscode",
            "version": "1.7.3"
        },
        {
            "id": "fabiospampinato.vscode-open-in-finder",
            "version": "1.1.8"
        },
        {
            "id": "formulahendry.auto-close-tag",
            "version": "0.5.6"
        },
        {
            "id": "formulahendry.auto-rename-tag",
            "version": "0.0.15"
        },
        {
            "id": "hollowtree.vue-snippets",
            "version": "0.1.10"
        },
        {
            "id": "HookyQR.beautify",
            "version": "1.4.7"
        },
        {
            "id": "KnisterPeter.vscode-github",
            "version": "0.30.1"
        },
        {
            "id": "marus25.cortex-debug",
            "version": "0.1.21"
        },
        {
            "id": "mikestead.dotenv",
            "version": "1.0.1"
        },
        {
            "id": "mrmlnc.vscode-duplicate",
            "version": "1.2.1"
        },
        {
            "id": "ms-python.python",
            "version": "2018.12.1"
        },
        {
            "id": "ms-vscode.cpptools",
            "version": "0.20.1"
        },
        {
            "id": "msjsdiag.debugger-for-chrome",
            "version": "4.11.1"
        },
        {
            "id": "octref.vetur",
            "version": "0.14.4"
        },
        {
            "id": "particle.particle-vscode-core",
            "version": "1.0.0-alpha.6"
        },
        {
            "id": "particle.particle-vscode-snippets",
            "version": "1.0.0-alpha.6"
        },
        {
            "id": "particle.particle-vscode-theme",
            "version": "1.0.0-alpha.6"
        },
        {
            "id": "platformio.platformio-ide",
            "version": "1.6.0"
        },
        {
            "id": "ritwickdey.LiveServer",
            "version": "5.3.1"
        },
        {
            "id": "sdras.vue-vscode-snippets",
            "version": "1.3.0"
        },
        {
            "id": "sysoev.language-stylus",
            "version": "1.11.0"
        },
        {
            "id": "webfreak.debug",
            "version": "0.22.0"
        },
        {
            "id": "xabikos.JavaScriptSnippets",
            "version": "1.7.2"
        },
        {
            "id": "zhuangtongfa.Material-theme",
            "version": "2.18.1"
        }
    ]
}

You’d now use Particle: Configure Workspace for Device or edit the <projectName>.code-workspace file manually (once you save the file, the required toolchain will be downloaded automatically - if available)

sweet. Thank you. Is that documented anywhere? I want to make sure I’m referring to the latest docs.

The respective update was posted here

No idea, where else it may be documented :wink:

1 Like