Skip to content

CesarSmall/Arduino-Project-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to set up your device to code using this template

** NOTE: This setup is specifically designed for using PlayformIO for Arduino projects using CLion. You might need to change a few lines in order for it to work with your chosen IDE (or this might honestly not work at all).**

Setup the Arduino CLI

  1. Download the latest version of the arduino CLI

  2. Extract the .exe to a folder (ex: C:Tools/arduino-cli/)

  3. Add to system PATH as a variable

  4. in powershell, type:

  • arduino-cli core update-index
  • arduino-cli core install arduino:avr (replace avr with whatever board family you are using, like esp32:esp32)

Setup PlatformIO

Installing Python

if not already done, install python and add to environment variables

Installing PlatformIO

  1. In the terminal, run pip install platformio (to verify, run platformio --version)

  2. Run platformio init --ide clion --board uno

  3. Open the newly generated project

  4. Copy repo and set as current project

Enjoy!

Useful commands

platformio run -> builds project platformio run -t upload -> uploads project to board platformio device monitor -> opens serial monitor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors