This extension simplifies the procedure of developing MadMachine projects.
This extension is used with MadMachine SDK.
- In the Visual Studio Code, click the Extensions icon on the left activity bar.
- Enter MadMachine in the search box to find the extension in its marketplace.
- Click the Install button. BTW, Serial Monitor created by Microsoft will be installed at the same time.
The extension relies on the mm sdk to do all its work. So you need to indicate its path before using the extension.
-
Download the latest sdk release according to your operating system and unzip it.
-
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👏.
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
Resourcesdirectory to the specified file system (Flash:/lfsor 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!
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



