3.3. Development Environment Setup for Linux
3.3.1. Installing VSCode and Lark
Follow these steps to install Visual Studio Code (VSCode) and Lark on Ubuntu:
First, update your system by typing:
sudo apt-get update
To install VSCode, use the following command:
sudo snap install --classic code
Next, download the Lark application from this link(make sure to choose Linux as your OS):
Once the package is downloaded, install it using the following command (replace packagename with the actual name of the downloaded package):
sudo dpkg -i packagename
3.3.2. Installing the necessary tools
To set the tools up on Linux, the following shall be executed in Linux terminal:
sudo apt -y update
sudo apt -y install gcc-arm-none-eabi make stlink-tools git
sudo apt-get install dfu-util