Skip to content

renesas: firmware.bin is ~16 MB for a blink sketch #2037

Closed

Description

@zackees

Problem

Every Renesas board produces a firmware.bin of about 16.05 MB for a blink sketch. Seen on uno_r4_minima, uno_r4_wifi and nano_r4. The reported flash use is only about 28–30 KB. This showed up while validating #2015 (PR #2025) and was already happening before that change.

Likely cause (unverified)

An allocated section at a far address, such as a RAM or data-flash region, probably makes objcopy -O binary pad the gap. Compare the objcopy arguments with ArduinoCore-renesas platform.txt, which may exclude sections or use a -j list.

Expected

firmware.bin should be about the size of the flash image, tens of KB, as it is when Arduino CLI builds the same sketch.

Part of #2035.

Activity

  1. zackees commented on Nov 17, 2026

    @zackees
    MemberAuthor

    Claimed by the fbuild-74 coordinator. A sub-agent is working on this now (meta #2035).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions