Skip to content

Device type detection now with no files #378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 31, 2018

Conversation

bridadan
Copy link
Contributor

With #370, we no longer rely on the files on the device to detect the firmware version. This change pulls that detection out of the file-dependent functions and puts it higher up in the detection flow.

This also fixes a very subtle issue where if a device is unmounted, the device_type was set back to unknown (since this used to be true when using the file-based detection method). This behavior is now removed, so device_type will always be shown in the device results.

bridadan added 2 commits July 30, 2018 18:05
The device type detection now uses USB VID/PID, which is known at
the find_candidates() stage.
@coveralls
Copy link

coveralls commented Jul 30, 2018

Coverage Status

Coverage decreased (-0.1%) to 80.347% when pulling efbbcca on bridadan:device_type_now_with_no_files into c557d79 on ARMmbed:master.

@theotherjimmy theotherjimmy merged commit f098335 into ARMmbed:master Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants