Whenever I create a new project in workbench, it immediately says “settings are invalid”
that’s odd. i suppose if you’ve accidentally set your “user” level settings to use a different platform, you can override the default toolchain configuration and cause this error. for example:
to get things back in order, just make sure the “user” level is selected and that the “Target Platform” is set to
photon (as shown above). going forward, you should only set those options at the “Workplace” level or better yet only set them using our helper commands or the links in the status bar (bottom-most blue bar).
with that in place, you should be able to create new projects without issue. try this:
- run the
Particle: Create New Project command (docs), wait for your new project to open
- open the
./src/<project name>.ino file in your new project
- in the bottom-most bar, look for the
deviceOS@1.0.1 text, click and select the version you’d like to use (
v1.3.1 was just released and will soon become the new default).
- wait for the toolchain to download and install - you should see a “working” notification in the bottom-right corner of the VSCode screen as we as see progress in the bottom bar.
- optionally, update your target platform by clicking the
photon text in the bottom bar, and selecting a different platform (e.g.
if you haven’t seen them already, we have docs over here
learn more about how VSCode manages settings over here
hope it helps!