X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/f4f44cf730870773ff87242037bf7fd5f6acd8cd..2ed6f5d2c74510c8be535c2218ba74ec05a1920d:/src/board.py diff --git a/src/board.py b/src/board.py old mode 100644 new mode 100755 index 707c643..d1c04c4 --- a/src/board.py +++ b/src/board.py @@ -22,30 +22,22 @@ """ `board` - Define ids for available pins ================================================= -Conditionally imports and re-exports a submodule, such as boards.esp8266 based on -platform introspection + +See `CircuitPython:board` in CircuitPython for more details. * Author(s): cefn """ +import sys -import gc - -gc.collect() from adafruit_blinka.agnostic import board -gc.collect() - -__version__ = "0.0.0-auto.0" -__repo__ = "https://github.com/adafruit/Adafruit_Micropython_Blinka.git" - if board == "feather_huzzah": - pass -elif board == "feather_m0_express": - pass + from adafruit_blinka.board.feather_huzzah import * elif board == "nodemcu": - pass + from adafruit_blinka.board.nodemcu import * elif board == "pyboard": + from adafruit_blinka.board.pyboard import * +elif "sphinx" in sys.modules: pass else: raise NotImplementedError("Board not supported") -gc.collect() \ No newline at end of file