Commit f41df1e6 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

minimal: Add "run" make target to run emulated build with suitable tty config.

parent 5ebabcda
......@@ -62,4 +62,13 @@ $(BUILD)/firmware.elf: $(OBJ)
$(Q)$(LD) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
$(Q)$(SIZE) $@
# Run emulation build on a POSIX system with suitable terminal settings
run:
stty raw opost -echo
build/firmware.elf
@echo Resetting terminal...
# This sleep is useful to spot segfaults
sleep 1
reset
include ../py/mkrules.mk
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment