]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/board.py
Get docs building
[Adafruit_Blinka-hackapet.git] / src / board.py
old mode 100644 (file)
new mode 100755 (executable)
index cd0390b..d1c04c4
 """
 `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":
     from adafruit_blinka.board.feather_huzzah import *
@@ -44,6 +37,7 @@ elif board == "nodemcu":
     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