Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
f41df1e6
Commit
f41df1e6
authored
Jan 13, 2015
by
Paul Sokolovsky
Browse files
minimal: Add "run" make target to run emulated build with suitable tty config.
parent
5ebabcda
Changes
1
Hide whitespace changes
Inline
Side-by-side
minimal/Makefile
View file @
f41df1e6
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment