-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Booting from the SD card #3700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We don't support it because the SD card may not exist. You can use |
@tannewt soo can I put the precompiled python data to the internal flash on the samd51 and tell the samd to execute a file from the sd card? |
there isnt 'precompiled python' in the sense that it is executed. python is interpretted only. you can use mpy-cross to mpy'ify a py file, that only makes it more compact (bytecode conversion). then import it as any other python code |
@kahveciderin I'm not sure what you are trying to accomplish. |
@kahveciderin Please explain the larger context. I want to understand why you are trying to execute without internal flash. We don't have a way to execute from the external flash without something on the built in flash fs. |
@tannewt let's say I have soldered the flash chip out. I want to execute from the sd card. Is this possible? |
You can compile a version that uses a part of the internal flash for the filesystem. |
@kahveciderin It is not possible with the current code. As deshipu points out, you could have a code.py on an internal filesystem to configure and run off the sd card. |
@tannewt do I need to edit the |
@kahveciderin It depends on how you are mounting the SD card. If you mount it to / then you shouldn't need to. |
Title says it all, I don't want the boot.py/main.py on the internal flash, rather in the SD card. How may I accomplish this?
The text was updated successfully, but these errors were encountered: