We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ebabcd commit f41df1eCopy full SHA for f41df1e
1 file changed
minimal/Makefile
@@ -62,4 +62,13 @@ $(BUILD)/firmware.elf: $(OBJ)
62
$(Q)$(LD) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
63
$(Q)$(SIZE) $@
64
65
+# Run emulation build on a POSIX system with suitable terminal settings
66
+run:
67
+ stty raw opost -echo
68
+ build/firmware.elf
69
+ @echo Resetting terminal...
70
+# This sleep is useful to spot segfaults
71
+ sleep 1
72
+ reset
73
+
74
include ../py/mkrules.mk
0 commit comments