Skip to content

Commit a2f67f3

Browse files
committed
Fix STLink name error with DPBANKSEL support version.
1 parent c717043 commit a2f67f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyocd/probe/stlink/stlink.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def supports_banked_dp(self):
188188
189189
This property is not valid until the connection is opened.
190190
"""
191-
return self._jtag_version >= self.MIN_JTAG_VERSION_DPBANKSEL_HW_V2[self._hw_version]
191+
return self._jtag_version >= self.MIN_JTAG_VERSION_DPBANKSEL[self._hw_version]
192192

193193
def get_target_voltage(self):
194194
response = self._device.transfer([Commands.GET_TARGET_VOLTAGE], readSize=8)

0 commit comments

Comments
 (0)