Why PlatformIO?
- More time for features — Less time wrestling with dependency management
- Easier collaboration — Consistent development environment across contributors
- Automatic downloads — Libraries and dependencies pulled from GitHub automatically
- Code intelligence — Autocomplete, linting, and error detection built-in
Installation
1
Install VS Code and PlatformIO
Install VS Code and the PlatformIO extension. You can find guides for this on the web.
2
Open PlatformIO
Restart VS Code and wait until PlatformIO has started. Look for this button on the sidebar:

3
Click Open
Click the “Open” button in the PlatformIO welcome screen.

4
Open the PlatformIO Home
The PlatformIO Home interface will appear:

5
Open the OSSM project
Click “Open Project” and navigate to the OSSM directory containing 

platformIO.ini.

6
Open main.cpp
In the 
src directory, locate and click on main.cpp:
7
Compile and upload
Near the bottom of the window, locate the tick icon (compile) and arrow icon (upload):
You can compile first to check for errors, or skip directly to upload.

Troubleshooting
Upload fails or board not detected
Upload fails or board not detected
The most common issues are incorrect COM port selection or wrong board configuration.
Check your COM port
The COM port (or/dev/tty on macOS/Linux) varies between machines. Set it in PlatformIO here:
The reference OSSM board uses an embedded Espressif ESP32 Dev Module.
Build fails due to library updates
Build fails due to library updates
If the project fails to build, an external library update may have introduced compatibility issues.Try pinning the platform version by changing this line in
platformIO.ini:platformIO.ini

