X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka.git/blobdiff_plain/c5ca3bb2c00cce50569183571bff34052d3cbdad..9aedff3827db31f6f40f4a2777538d1ffba39bf0:/python/board/__init__.py diff --git a/python/board/__init__.py b/python/board/__init__.py index f41e27d..b42d013 100644 --- a/python/board/__init__.py +++ b/python/board/__init__.py @@ -28,8 +28,11 @@ platform introspection * Author(s): cefn """ +import gc import sys +gc.collect() from agnostic import board +gc.collect() __version__ = "0.0.0-auto.0" __repo__ = "https://github.com/adafruit/Adafruit_Micropython_Blinka.git" @@ -43,3 +46,6 @@ elif board == "nodemcu": from board.nodemcu import * elif board == "pyboard": from board.pyboard import * +else: + raise NotImplementedError("Board not supported") +gc.collect() \ No newline at end of file