![]() To compile your program in the cloud and flash it to the selected device over-the-air, select Particle: Cloud Flash.įor larger projects, development teams, and products, we recommend Particle Workbench instead of the Web IDE. To compile your program and download the binary, open the Command Palette and select Particle: Cloud Compile. You can leave this blank if you're going to flash by USB, or just want to test building. Then the type of device to you'd like to build for:Īnd finally the name or device ID of the device you want to flash to. Then the device OS version you'd like to build for: Your first project workspace should look something like this:īefore you can build in the cloud (the way Particle Web IDE and Particle CLI normally build), you need to select the device you wish to build for.įrom the Command Palette select Particle: Configure Project for Device. Your project files will be in that directory. This will create a new directory within the directory you just selected. Then you'll be prompted for the name of your project. Use the Open button to select the parent directory.įor example, if you had a directory named "Projects" in your "Documents" directory where you kept your Workbench projects, you'd select Projects. It's easy to miss if you're not expecting it. You could just type project and that would typically be the first match.Ī small popup window will appear in the lower right corner of the window. The matching is very flexible - you don't have to type that whole thing in or scroll through the list. In the Command Palette select Particle: Create New Project. It can be invoked via cmd+shift+p on Mac OS or ctrl+shift+p on Linux and Windows. The Command Palette provides access to many commands such as open files, search for symbols, and see a quick outline of a file, all using the same interactive window. To create your first project, you'll start with the Command Palette. Click the Reload Now button.Īfter reload, some more components will be installed and you will be prompted to install the Particle Local Compiler. When complete, you'll be prompted to reload. There's an indicator at the top of the extensions panel that shows the install is still in progress. The core installation will take a few minutes. Make sure you confirm the installation there. Note that there will be a small confirmation window that pops up in the lower right corner of the window. ![]() ![]() Within Visual Studio code, click the green Install button to confirm the installation.Open the VisualStudio Marketplace in your web browser.Ĭlick the green Install button and allow it to be opened in Visual Studio Code. Once you have VS Code installed, you can add in the Particle workbench extension. NOTE: due to limitations with the local compiler's build system, paths with spaces cannot be supported at on Mac this time Workbench extension installation The Visual Studio Code application can be dragged into your Applications folder.Open the VSCode-darwin.zip file in your Downloads folder to extract it.Download the appropriate Mac zip file (Intel chip, Apple Silicon, or Universal).NOTE: due to limitations with the local compiler's build system, paths with spaces cannot be supported at on Linux this time Mac - VSCode installation Download and run the appropriate installer script for your version of Linux.NOTE: due to limitations with the local compiler's build system, usernames (or paths) with spaces will be converted to short paths like C:\Users\EXAMPL~1 Linux - VSCode installation In the Select Additional Tasks page select the values as desired there are no specific settings changes required for Particle Workbench.Run the installer and follow the instructions.To install on older versions of Windows, you will need to use an older version of VSCode:.The VSCode CLI is not generally required it's used to manage VSCode extensions and is not necessary to use the Particle CLI to work with your devices. ![]() Installing VSCode in the system and having each user install the Particle Workbench extension is supported, however.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |