Husarion VSCode ExtensionFeaturesThis extension allows you to develop apps for Husarion devices using VSCode. RequirementsOn Windows, all dependencies will be downloaded automatically. All you have to do is:
On Linux, this extension requires you to install CORE2 toolchain:
On Mac, you have to follow the steps below: If you don't have brew installed, follow the instructions at https://brew.sh Install C++ cross-compiler - execute in the terminal:
Install CMake, Ninja and STLink:
Download and install VS Code from https://code.visualstudio.com/ Launch VS Code, press Ctrl-Shift-X, find "husarion" extension and click "Install". VS Code will ask you if you want to install also the dependencies - agree. Reload VSCode. Using the extensionTo create new project, select empty folder, press Ctrl-Shift-P, type “create husarion project" and press enter. To build project, press Ctrl+Shift-B. To flash project on your device, press Ctrl+Shift+P, type "Flash project to CORE2" and press enter. More documentation is available at https://husarion.com/tutorials/ |