Skip to content

Commit 8d74a1b

Browse files
committed
fixup! connect native to a pty in socat.
This is needed in order to set the options correctly (otherwise one gets an "inappropriate ioctl")
1 parent 88e14f6 commit 8d74a1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

boards/native/Makefile.include

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ NATIVE_FLAGS += $(PORT) # Flags to the native executable
6060

6161
# checkout the "sigint" flags. Without it ctrl-c just exits socat, which breaks
6262
# the pipe on the RIOT executable causing SIGPIPE and a dirty exit.
63-
SOCAT_REMOTE = exec:"$(NATIVE_EXEC) $(NATIVE_FLAGS)",sigint $(PORT)
63+
SOCAT_REMOTE = exec:"$(NATIVE_EXEC) $(NATIVE_FLAGS)",sigint,pty $(PORT)
6464

6565
include $(RIOTMAKE)/tools/serial.inc.mk
6666

0 commit comments

Comments
 (0)