修改了默认的接口,部分测试用例以及接口代码,需要修改。

This commit is contained in:
2025-08-13 00:30:21 +08:00
parent 89937759cf
commit 12a142bf2e
15 changed files with 120 additions and 138 deletions

View File

@@ -486,9 +486,11 @@ def tc8():
+genIFRwDataCode(0, 0x78, False, 4)
+genIFRwDataCode(0, 0x40, True, 4, reset_data)
+genIFRwDataCode(2, 0x40, True, 4, reset_data)
+"\n#5000\n"
+genIFRwDataCode(0, 0x09, True, 1, [0, ], False, iface=1)
+genIFRwDataCode(2, 0x09, True, 1, [0, ], False, iface=1)
+genIFRwDataCode(0, 0x74, False, 4)
+genIFRwDataCode(2, 0x74, False, 4)
+"\n#5000\n"
+genIFRwDataCode(0, 0x40, False, 4)
+genIFRwDataCode(2, 0x40, False, 4)
+genIFRwDataCode(0, 0x00, True, 1, main_dev)
@@ -1089,7 +1091,7 @@ def tc14():
)
genPkt.addSubPkt(0, 0, 0x302, 0xe, 2, [m2s_size, 0])
genPkt.addSubPkt(0, 0, 0x0302, 0xe, 2, [m2s_size, 0])
genPkt.addSubPkt(0, 0, 0x0800, 0xe, m2s_size, list(range(m2s_size)))
genPkt.addSubPkt(1, 0, 0x1000, 0x0, s2m_size, [0, ] * s2m_size)
genPkt.addSubPkt(2, 0, 0x1000, 0x0, s2m_size, [0, ] * s2m_size)