Skip to content

Conversation

soburi
Copy link
Owner

@soburi soburi commented Oct 8, 2025

Summary

  • emit the binary info header words directly in the ROM_START snippet instead of creating a nested section
  • keep exporting the default data copy table pointer via PROVIDE so custom tables can override it

Testing

  • west build -b rpi_pico samples/hello_world --pristine

https://chatgpt.com/codex/tasks/task_e_68e5e68b4ae883228080dcf6e4fb3532

soburi added 2 commits October 8, 2025 12:49
Binary Info embeds program meta information in flash,
which can be viewed with RaspberryPi Pico's `picotool`.

Metadata is automatically collected from pinctrl.

It can be override by the Kconfig configurations, such as

```
CONFIG_RPI_PICO_BINARY_INFO_OVERRIDE_PROGRAM_NAME="my program name"
```

When this feature is enabled, pinctrl groups are restricted to
consisting of pins with a single rpi_pico function.
In other words, SPI's MISO and MOSI can be in the same group,
but I2C's SDA cannot be included in this group.
This is rarely an issue in normal use,
and can be resolved by dividing them into separate groups.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi force-pushed the pico_binary_info branch 2 times, most recently from e759679 to 1b204f2 Compare October 8, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant