Skip to content

uf2 combine: --offset representation #352

Description

@Optoneer

this was unexpected behaviour.

picotool v2.3.0: uf2 combine --offset produces different output for decimal and hexadecimal values although both represent the same offset.

Example:

picotool uf2 combine bootloader.uf2 app_a.uf2 test1.uf2 --offset 65536
picotool uf2 combine bootloader.uf2 app_a.uf2 test2.uf2 --offset 0x10000

test1.uf2 and test2.uf2 differ (cmp/sha256sum), and only the hexadecimal version boots correctly on RP2040.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions