Commit Graph

16 Commits (132357fefef0a716f78557b5c4606b9caaf09b51)

Author SHA1 Message Date
daid a52009c176 Prevent detect_targets.py tool script from crashing on known targets
As mut['mcu'] can be "None" on unknown targets, the detect_targets script crashes when one of these boards is connected.

This happens when "mbed-cli detect -vv" is ran when a STEVAL-3DP001V1 board is connected. Which does not provide a html file with a target_id, and thus cannot be looked up in the mbedls platform database.
http://www.st.com/en/evaluation-tools/steval-3dp001v1.html
2018-02-23 17:08:29 -06:00
David Walters 7dac0c0359 Fixed call to deprecated get_details_txt 2017-12-20 16:05:44 +00:00
David Walters a047f6276d Increased test coverage / mocking of external modules 2017-09-29 10:05:05 +01:00
David Walters b887bb7de6 Added safety check, added test converage for new function 2017-09-25 16:53:41 +01:00
David Walters 7b4959125f Added in safety check if details_txt is None 2017-09-15 16:00:20 +01:00
David Walters aafe61414e Edited get_interface_version info for clarity 2017-09-15 15:49:08 +01:00
David Walters 256ab6114a Fixed mount_point example usage 2017-09-15 15:30:34 +01:00
David Walters e4b55dd6a0 Removed get_mounted_details_txt from test_api.py
Fixed minor typos in test_api.py
Added get_interface_version to detect_targets
2017-09-15 10:15:24 +01:00
David Walters 7ff57c4671 Changed DAPLink version to interface version. 2017-09-12 10:46:07 +01:00
David Walters d43a847667 Added additional DAPLink version info for `mbed detect` command` 2017-09-11 16:54:32 +01:00
Jimmy Brisson 23461ee399 Revise arguments to detect targets 2016-12-14 11:50:18 -06:00
Jimmy Brisson ec1d0b5673 Format detect_targets.py 2016-08-16 11:48:46 -05:00
Jimmy Brisson 0ec8199c55 Revert "Revert "Generalize flag handling""
This reverts commit 33cec194c6.
2016-07-07 15:29:36 -05:00
Sam Grove 33cec194c6 Revert "Generalize flag handling" 2016-06-24 16:39:01 -05:00
Jimmy Brisson 43e036d6e1 Move to argparse from optparse 2016-06-24 14:22:47 -05:00
Mihail Stoyanov 8f4cb59002 Added script for detecting connected mbed targets/boards 2016-06-12 10:59:51 +01:00