Skip to content

Commit a679fac

Browse files
committed
Makefile monitor target
1 parent 6fcc5fb commit a679fac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ else
77
FILE = ht_nano-33-ble_$(VERSION).uf2
88
endif
99

10-
.PHONY: clean build flash
10+
.PHONY: clean build flash monitor
1111

1212
# --- Common targets ---
1313

@@ -24,6 +24,9 @@ build:
2424
flash:
2525
tinygo flash $(LD_FLAGS) -target=$(TARGET) -size=$(SIZE) -opt=z -print-allocs=main ./src
2626

27+
monitor:
28+
tinygo monitor -target=$(TARGET)
29+
2730
# --- Arduino Nano 33 BLE bootloader targets ---
2831

2932
UF2_BOOTLOADER_HEX=./build/arduino_nano_33_ble_bootloader-0.7.0_s140_6.1.1.hex

0 commit comments

Comments
 (0)