GitXplorerGitXplorer
s

Arduino-Makefile

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
c7a76bd6dad1e02b52a7c6a07288c8980bd798a6

Use either /dev/ttyACM0 or /dev/ttyUSB0 smartly

sscottchiefbaker committed 4 months ago
Unverified
2aaa67f079bcc5d24f3a1d463eb2ea0dbd76f120

Add two new board types

sscottchiefbaker committed 4 months ago
Unverified
ab21aff577f8569854dafc2f5c4b400a9ad35792

Update sample

sscottchiefbaker committed a year ago
Unverified
2b20b264431627f15c416a1c0fa15061e0f41adb

Update documentation for ArduinoCLI

sscottchiefbaker committed 2 years ago
Unverified
29cd99ea0e3cddd4f16b24e0c394a62d9efc65c6

Build dir and Output can't be the same

sscottchiefbaker committed 2 years ago
Unverified
282d8ebb84fc5ec9301e09201f95807501039afd

Detect serial settings with `grep`

sscottchiefbaker committed 2 years ago

README

The README file for this repository.

Arduino Makefile

Arduino Makefile to simplify testing and uploading Arduino sketches from the command line.

Requirements

ArduinoCLI installed and in your $PATH.

Installation

Place this Makefile in your sketch directory.

Configuration

export BOARD=arduino:avr:uno && export PORT=/dev/ttyACM0

or

Edit the Makefile itself and configure the BOARD and PORT options.

Usage

  1. Verify code compiles: make
  2. Upload to board: make upload
  3. Open serial monitor: make monitor

Troubleshooting

Verify your code compiles and uploads via the ArduinoIDE. Next verify that it works with the ArduinoCLI. If it does not work with the vanilla arduino-cli it will not work with this Makefile.