Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

MicroPython • Re: Making Micropython run in a partition with RP2350

$
0
0
It's not going to work as things are by default -

Code:

   835 KB               701 KB               2560 KB .--------------------.--------------------.---------------------------------. | Pico 2W Firmware   | Unused             | Persistent File System          | `--------------------^--------------------^---------------------------------'
You can't create a second partition large enough to hold another copy of the MicroPython firmware.

Ignoring address translation, if you do create a large enough partition to hold a second copy of MicroPython firmware it would corrupt any existing file system and the recreation of the file system would ultimately corrupt that second copy.

And, as to what address translation does to where MicroPython thinks the file system is, I have no idea. I guess it could end up something like -

Code:

   835 KB               701 KB            2560 KB .--------------------.-----------------.------------------------------------. | Pico 2W Firmware   | Unused          | Persistent File System             | `--------------------^-----------------^------------------------------------' .--------------------.--------------------.-----------------.---------------.                   -. |                    | Pico 2W Firmware   | Unused          | Persistent File System             | `--------------------^--------------------^-----------------^---------------'                   -'   835 KB               835 KB               701 KB            1725 KB
You could possibly move and shrink the file system so it would fit in 4MB without any clashes but what you have in the file system would probably differ depending on which partition were being executed.

Statistics: Posted by hippy — Fri Apr 25, 2025 3:56 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles