Skip to content

janelia-embedded/platformio_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PlatformIO Setup

Repository Information

Author
Peter Polidoro
License
BSD

Installation

pip

Install PlatformIO Core

mkdir ~/venvs
cd ~/venvs
python3 -m venv platformio
source ~/venvs/platformio/bin/activate
pip install -U pip
pip install -U platformio
pio update

guix

Install PlatformIO Core

guix shell platformio

Install PlatformIO udev rules if necessary

sudo wget -P /etc/udev/rules.d/ https://raw.githubusercontent.com/platformio/platformio-core/develop/scripts/99-platformio-udev.rules

Download development platform with examples

mkdir -p ~/tmp && cd "$_"
wget https://github.com/platformio/platform-teensy/archive/develop.zip
unzip develop.zip
cd ~/tmp/platform-teensy-develop/examples/arduino-blink/

Initialize PlatformIO project

mkdir -p ~/tmp/pio-project && cd "$_"
pio project init --board teensy31 --board teensy35 --board teensy40 --board teensy41

Use

# Upload firmware for the specific environment
pio run -e teensy40 --target upload

# Clean build files
pio run --target clean

pio device monitor --echo --eol LF -f send_on_enter

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors