Creating a Custom Project
Software Development Kits > Platform IO
This article explains how to create a new custom project in PlatformIO using the MM-IoT-SDK.
Creating a New Project
A new project can be created using the Create New Project dialog shown in the Opening an example project section.
- Click the New Project icon. Project wizard will pop up (Figure 22).
- Type morse to the board selection box and you will see the available Morse Micro development kits.
- Select the board that you are using. The MM-IoT-SDK is selected automatically as the framework.
- Click Finish and the new project is created. The src folder of the new project will be empty and you will have to write the application yourself.
In order for the serial monitor to work, you must specify the baud rate in the platformio.ini file, you can use the platformio.ini file of one of the example applications as reference.
Figure 22. Creating a new project
Returning to PlatformIO Home
Once you’ve opened a project, it may not be obvious how to navigate back to the PlatformIO home screen to, for example, start a new project. To return to the home screen:
- Click on the PlatformIO icon in the activity bar (Figure 23)
- Under the quick access menu, click on Open under the PIO Home section.
Figure 23. PlatformIO quick access
- This should now display the home screen of PlatformIO where you can now start a new project or example (Figure 24).
Figure 24. PlatformIO Home