mirror of https://github.com/ARMmbed/mbed-os.git
20 lines
818 B
Python
20 lines
818 B
Python
#
|
|
# Copyright (c) 2020-2021 Arm Limited and Contributors. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
"""API to detect any Mbed OS devices connected to the host computer.
|
|
|
|
It is expected that this package will be used by developers of Mbed OS tooling rather than by users of Mbed OS.
|
|
This package uses the https://github.com/ARMmbed/mbed-targets interface to identify valid Mbed Enabled Devices.
|
|
Please see the documentation for mbed-targets for information on configuration options.
|
|
|
|
For the command line interface to the API see the package https://github.com/ARMmbed/mbed-tools
|
|
"""
|
|
from mbed_tools.devices.devices import (
|
|
get_connected_devices,
|
|
find_connected_device,
|
|
find_all_connected_devices,
|
|
)
|
|
from mbed_tools.devices.device import Device
|
|
from mbed_tools.devices import exceptions
|