From 7ed9ec4293cfad9a91f580d2c313e469433292bd Mon Sep 17 00:00:00 2001
From: Sergi Hernandez Juan <shernand@iri.upc.edu>
Date: Sun, 2 Feb 2020 21:30:44 +0100
Subject: [PATCH] Updated the scripts to handle the SPI interface.

---
 script/launch_sim.sh | 1 +
 script/stop_sim.sh   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/script/launch_sim.sh b/script/launch_sim.sh
index b43d949..285099d 100755
--- a/script/launch_sim.sh
+++ b/script/launch_sim.sh
@@ -4,3 +4,4 @@
 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
+ln -s /tmp/darwin1_spi_user /tmp/spi2_sim_serial_fw
diff --git a/script/stop_sim.sh b/script/stop_sim.sh
index 7f1bd77..cd35c53 100755
--- a/script/stop_sim.sh
+++ b/script/stop_sim.sh
@@ -1,3 +1,4 @@
 killall socat
 
 rm /tmp/usart1_sim_serial_fw
+rm /tmp/spi2_sim_serial_fw
-- 
GitLab