Skip to content

rp2: Add binary info for ROMFS. #17637

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gadgetoid
Copy link
Contributor

This describes the ROMFS location and size in Pico SDK's binary declaration format, so it can be read from a .uf2 file for use with various tools (specifically my CI UF2 wrangling).

Changes the py_decl output from:

/py_decl.py --to-json build-RPI_PICO2/firmware.uf2
<snip>
    "BlockDevice": [
        {
            "name": "MicroPython",
            "address": 269746176,
            "size": 2883584,
            "flags": 3
        }
    ],
<snip>

to:

/py_decl.py --to-json build-RPI_PICO2/firmware.uf2
<snip>
    "BlockDevice": [
        {
            "name": "ROMFS",
            "address": 269484032,
            "size": 262144,
            "flags": 1
        },
        {
            "name": "MicroPython",
            "address": 269746176,
            "size": 2883584,
            "flags": 3
        }
    ],
<snip>

Signed-off-by: Phil Howard <github@gadgetoid.com>
Copy link

github-actions bot commented Jul 8, 2025

Code size report:

   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy