Skip to content

Conversation

soburi
Copy link
Owner

@soburi soburi commented Oct 8, 2025

Summary

  • update the Raspberry Pi Pico binary info header linker script to emit the header markers and default data copy table in place of the old KEEP directive
  • move the data copy table PROVIDE assignments after the header words so the default table remains a single zero sentinel

Testing

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

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

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