added makefile and devbox env

This commit is contained in:
Sven Vogel 2023-12-09 14:58:53 +01:00
parent 586644e26f
commit 8ce9c0f3d5
2 changed files with 23 additions and 0 deletions

16
Makefile Normal file
View File

@ -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)

7
devbox.json Normal file
View File

@ -0,0 +1,7 @@
{
"packages": [
"platformio-core",
"openocd",
"avrdude"
]
}