Skip to content

Commit a6f73ab

Browse files
Merge pull request #61 from bridadan/fix_pyocd_copy_plugin
Fix reference to board.getTargetType in pyocd copy plugin.
2 parents 501117d + 1bb9ac7 commit a6f73ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mbed_os_tools/test/host_tests_plugins/module_copy_pyocd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def execute(self, capability, *args, **kwargs):
7373
# Eventually pyOCD will know default clock speed
7474
# per target
7575
test_clock = 10000000
76-
target_type = board.getTargetType()
76+
target_type = session.board.target_type
7777
if target_type == "nrf51":
7878
# Override clock since 10MHz is too fast
7979
test_clock = 1000000

0 commit comments

Comments
 (0)