Husarion VSCode Extension
This extension allows you to develop apps for Husarion devices using VSCode.
On 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 extension
To 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/