Firmware Development

Currently the firmware is best worked on with PlatformIO and VSCode.

Install VSCode

Download and install Microsoft's Visual Studio Code, PlatformIO IDE is built on top of it

Install PlatformIO IDE VSCode extension.

Instructions

(alternate) Installing PlatformIO via the command line:

Ensure Homebrew in installed. Instructions
Install PlatformIO CLI tools. Detailed Instructions

# Mac OSX
brew install platformio

# check out the project
git checkout https://github.com/okyeron/OMX-27.git

# go to the project directory
cd OMX-27

# compile the project (this may take a while the first time)
pio run

# upload to hardware (press reset and boot and release reset before boot)
pio run -t upload

(optional) EditorConfig

Install EditorConfig extension for your text editor. Instructions

Open the project in VSCode

To open the project in VSCode:
- open a new window
- select the PlatformIO icon from the Primary Side Bar (left toolbar)
- use the "Pick a folder" button to select the OMX-27 repo folder you created above