X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka.git/blobdiff_plain/960640ca0a0f1460df38de7942e8ac3e3e17274b..3f07fb409e10a07616a5719d8beac624fb176375:/src/board.py diff --git a/src/board.py b/src/board.py index 267b24c..0c8a645 100755 --- a/src/board.py +++ b/src/board.py @@ -167,6 +167,9 @@ elif board_id == ap_board.DRAGONBOARD_410C: elif board_id == ap_board.FTDI_FT232H: from adafruit_blinka.board.ftdi_ft232h import * +elif board_id == ap_board.FTDI_FT2232H: + from adafruit_blinka.board.ftdi_ft2232h import * + elif board_id == ap_board.BINHO_NOVA: from adafruit_blinka.board.binho_nova import * @@ -233,7 +236,9 @@ elif board_id is None: package = str(pkg_resources.get_distribution("adafruit_platformdetect")).split() raise NotImplementedError( - "{1} version {2} was unable to identify the board and/or microcontroller running the {0} platform. Please be sure you have the latest packages running: 'pip3 install --upgrade adafruit-blinka adafruit-platformdetect'".format( + "{1} version {2} was unable to identify the board and/or microcontroller running " + "the {0} platform. Please be sure you have the latest packages running: 'pip3 install " + "--upgrade adafruit-blinka adafruit-platformdetect'".format( platform.system(), package[0], package[1] ) )