[DTS][PATCH V1 03/10] framework/config: save the serial port connection info of imc and acc to the self.crb

Jin Ling jin.ling at intel.com
Sun Jul 16 11:07:47 CEST 2023


Signed-off-by: Jin Ling <jin.ling at intel.com>
---
 framework/config.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/framework/config.py b/framework/config.py
index 2cd95ff2..cc5d9041 100644
--- a/framework/config.py
+++ b/framework/config.py
@@ -294,6 +294,16 @@ class CrbsConf(UserConf):
                     crb["pass"] = value
                 elif key == "os":
                     crb["OS"] = value
+                elif key == "dut_acc_port":
+                    crb["ACC PORT"] = value
+                elif key == "dut_acc_baudrate":
+                    crb["ACC BAUDRATE"] = value
+                elif key == "dut_imc_port":
+                    crb["IMC PORT"] = value
+                elif key == "dut_imc_baudrate":
+                    crb["IMC BAUDRATE"] = value
+                elif key == "dut_imc_ip":
+                    crb["IMC IP"] = value
                 elif key == "tester_ip":
                     crb["tester IP"] = value
                 elif key == "tester_passwd":
-- 
2.34.1



More information about the dts mailing list