Corrected so that unsupported mbed devices will be detected, and a message printed to the log. Rather than pyOCD raising an exception and dying.