diff options
author | Vasil Zlatanov <v@skozl.com> | 2017-01-31 21:37:12 +0000 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2017-01-31 21:37:12 +0000 |
commit | b31b7d77ed0b787ac2b615beeeb6cb4339229538 (patch) | |
tree | b6a6e2fa51cfbb976a3a8a79dc4a837064470b7b /Makefile | |
parent | 1d26021e8e50043c98d87ae1c2df514d03295a2c (diff) | |
download | e2-lifelarm-b31b7d77ed0b787ac2b615beeeb6cb4339229538.tar.gz e2-lifelarm-b31b7d77ed0b787ac2b615beeeb6cb4339229538.tar.bz2 e2-lifelarm-b31b7d77ed0b787ac2b615beeeb6cb4339229538.zip |
Adafruit reference and Makefile
Diffstat (limited to 'Makefile')
-rwxr-xr-x[-rw-r--r--] | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) +current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path)))) +all: + arduino --board adafruit:avr:feather32u4 --pref build.path=$(pwd)/build --verify $(pwd)/main.ino +clean: + rm -rf build +upload: + arduino --board adafruit:avr:feather32u4 --port /dev/ttyACM0 --upload $(pwd)/main.ino |