Then come back to the VS code. In the menu bar, select Code / Preferences / Settings.
In the Settings, select Extensions / MadMachine. Enter the path to the sdk and Swift toolchain (optional) in the box that matches your operating system.
Now, the extension gets ready👏.
Quick look
The extension is at the bottom of the Explore panel. All you need for your project is these three buttons:
Build: build your project after you finish the code. If there are any errors, you can modify your code according to the message in the terminal.
Download: download the generated bin file to your board after building your project.
Copy Resources: copy the entire Resources directory to the specified file system (Flash: /lfs or SD card: /SD:)
New Project: create a new MadMachine project. You will decide the project type and the board type. Go here to learn how you can create a new project.
Welcome to our docs for more info and get started with your board!
Extension Settings
This extension contributes the following settings:
madmachine.sdk.mac: The MadMachine SDK path on macOS
madmachine.toolchain.mac: The Swift toolchain path on macOS
madmachine.sdk.linux: The MadMachine SDK path on Linux
madmachine.toolchain.linux: The Swift toolchain path on Linux
madmachine.sdk.windows: The MadMachine SDK path on Windows
madmachine.toolchain.windows: The Swift toolchain path on Windows