nealfennimore / vscode-arduino-cli-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VSCode Arduino CLI Starter

Starter project for using arduino-cli with visual studio code.

Based on the configuration by Sparkfun.

Installation

Make

Make will need to be installed (For Windows)

Arduino CLI

First install the arduino-cli.

After attaching your board, check to see that your board is connected, and take note of the serial port.

Then find your FQBN

Commands

Compiling

VSCode task

make compile V=1 CLEAN=1 FQBN=esp8266:esp8266:nodemcuv2:baud=921600 PROJECT=blink

Uploading

VSCode task

make upload V=1 PORT=/dev/ttyUSB0 FQBN=esp8266:esp8266:nodemcuv2:baud=921600 PROJECT=blink

About


Languages

Language:C++ 57.0%Language:Makefile 43.0%