From 4caff407087bccbba476b961527729983a2bab36 Mon Sep 17 00:00:00 2001 From: DinoMalin Date: Tue, 4 Mar 2025 21:19:27 +0100 Subject: [PATCH] improvment: modular Makefile --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5f3ed10..70170e9 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,10 @@ -all: +all: compile upload + +compile: arduino-cli compile --fqbn arduino:mbed_nano:nano33ble sketch + +upload: arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:mbed_nano:nano33ble sketch + +listen: + bash listen.sh