Unix port (custom compile) cannot find panic_handler.mpy. #10055
-
I have a stable codebase that works fully on an ESP32. I decided to take this same code and make it run on the Unix port. After a lot of work, I managed to get the code to (mostly) boot, but my code crashes with this:
The "missing file" is in the path /mnt/c/Users/robocoder/Downloads/sp_emu/sys/bin. I cannot figure out why it cannot be loaded as I have a dump of sys.path (above). Also, it loads the other files just fine. Here's the offending code:
Chances are, I did something really stupid, but I cannot figure out what. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
I might have an idea. I'm using WSL for this and the program by default switches path to root so that might cause a little problem. |
Beta Was this translation helpful? Give feedback.
-
I found out the issue. |
Beta Was this translation helpful? Give feedback.
I found out the issue.
I was apparently unmounting root in the code I was trying to run but because the panic handler wasn't running I couldn't see that.
Thanks for your time though.