X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/9aedff3827db31f6f40f4a2777538d1ffba39bf0:/python/board/__init__.py..f4f44cf730870773ff87242037bf7fd5f6acd8cd:/src/board.py diff --git a/python/board/__init__.py b/src/board.py similarity index 90% rename from python/board/__init__.py rename to src/board.py index b42d013..707c643 100644 --- a/python/board/__init__.py +++ b/src/board.py @@ -29,9 +29,9 @@ platform introspection """ import gc -import sys + gc.collect() -from agnostic import board +from adafruit_blinka.agnostic import board gc.collect() __version__ = "0.0.0-auto.0" @@ -39,13 +39,13 @@ __repo__ = "https://github.com/adafruit/Adafruit_Micropython_Blinka.git" if board == "feather_huzzah": - from board.feather_huzzah import * + pass elif board == "feather_m0_express": - from board.feather_m0_express import * + pass elif board == "nodemcu": - from board.nodemcu import * + pass elif board == "pyboard": - from board.pyboard import * + pass else: raise NotImplementedError("Board not supported") gc.collect() \ No newline at end of file