From e3030f74361c5e930107aaf973963447ad36575a Mon Sep 17 00:00:00 2001 From: robert-hh Date: Fri, 11 Mar 2022 20:22:07 +0100 Subject: [PATCH] mimxrt/modules: Append /flash/lib to the default sys.path. --- ports/mimxrt/modules/_boot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/mimxrt/modules/_boot.py b/ports/mimxrt/modules/_boot.py index bc8d72224a..56f12a4ce1 100644 --- a/ports/mimxrt/modules/_boot.py +++ b/ports/mimxrt/modules/_boot.py @@ -16,6 +16,7 @@ except: os.mount(vfs, "/flash") os.chdir("/flash") sys.path.append("/flash") +sys.path.append("/flash/lib") # do not mount the SD card if SKIPSD exists. try: