Skip to content
Snippets Groups Projects
Commit f5a1d1e7 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Added scripts to create, remap and destroy virtual serial ports.

parent 8ea547c3
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# create virtual serial port
socat -d -d pty,raw,echo=0,link=/tmp/darwin_driver pty,raw,echo=0,link=/tmp/usart3_sim_serial_fw &
ln -s /tmp/darwin1_user /tmp/usart1_sim_serial_fw
killall socat
rm /tmp/usart1_sim_serial_fw
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment