From 8ce9c0f3d5975dd9b37d85a98c1b8c08c2cf7b27 Mon Sep 17 00:00:00 2001 From: servostar Date: Sat, 9 Dec 2023 14:58:53 +0100 Subject: [PATCH] added makefile and devbox env --- Makefile | 16 ++++++++++++++++ devbox.json | 7 +++++++ 2 files changed, 23 insertions(+) create mode 100644 Makefile create mode 100644 devbox.json diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1984478 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ + +DEVICE = /dev/ttyUSB0 + +all: build upload monitor + +clean: + pio run -t clean + +upload: + pio run -t upload + +build: + pio run -v + +monitor: + pio device monitor -p $(DEVICE) \ No newline at end of file diff --git a/devbox.json b/devbox.json new file mode 100644 index 0000000..cec727f --- /dev/null +++ b/devbox.json @@ -0,0 +1,7 @@ +{ + "packages": [ + "platformio-core", + "openocd", + "avrdude" + ] +} \ No newline at end of file