mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
mimxrt/modules: Append /flash/lib to the default sys.path.
This commit is contained in:
@@ -16,6 +16,7 @@ except:
|
|||||||
os.mount(vfs, "/flash")
|
os.mount(vfs, "/flash")
|
||||||
os.chdir("/flash")
|
os.chdir("/flash")
|
||||||
sys.path.append("/flash")
|
sys.path.append("/flash")
|
||||||
|
sys.path.append("/flash/lib")
|
||||||
|
|
||||||
# do not mount the SD card if SKIPSD exists.
|
# do not mount the SD card if SKIPSD exists.
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user