Files
micropython/ports/alif/modules/he/_boot.py
Damien George d1b12cb676 alif/modules: Make HE core set /rom as current dir.
This allows HE to execute code from the ROMFS in MRAM.

Signed-off-by: Damien George <damien@micropython.org>
2025-04-09 00:22:32 +10:00

8 lines
138 B
Python

# Change working directory to ROMFS, so boot.py and main.py can run from there.
try:
import os
os.chdir("/rom")
except:
pass