It's assumed you have a version of Python installed from
python.org that is the same or newer as
defined in .python-version.
First, install Poetry and VS Code Task Runner:
python -m pip install pipx --upgrade
pipx ensurepath
pipx install poetry
pipx install vscode-task-runner
# (Optionally) Add pre-commit plugin
poetry self add poetry-pre-commit-pluginNow, you can clone the repo and install dependencies:
git clone https://github.com/bellflight/AVR-PCC-Firmware
cd AVR-PCC-Firmware
vtr setupTo build the firmware, run
vtr buildThis will create a pcc_firmware.bin file in dist.
Follow the instructions in the documentation, or use the upload functionality in PlatformIO directly.