Skip to content
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

binary info not included? #1003

Closed
speters opened this issue Nov 25, 2022 · 2 comments
Closed

binary info not included? #1003

speters opened this issue Nov 25, 2022 · 2 comments

Comments

@speters
Copy link

speters commented Nov 25, 2022

Thx for the arduino-pico framework!

I tried to include binary info metadata in my program, but I am unable to find this info in the uploaded code.

[...]
#include <pico/binary_info.h>
[...]
void setup()
{
  bi_decl(bi_program_name("myprogram"));
  [...]

picotool info -a does not show any info after uploading to the PiPico.
When I do a strings firmware.* | grep 'myprogram' there is also nothing found.

Compilation is done via the Platformio setup from the docs (had to manually remove arduino-mbed framework as pio kept preferring this).

I am hoping for a hint of a solution...

@earlephilhower
Copy link
Owner

Binary info is not supported in the Arduino core. Because we use a multi-stage bootloader (for OTA support), the Pico SDK tools cannot properly use any info we'd include from then last-stage real app binary.

@kilograham
Copy link

@earlephilhower Feel free to comment on raspberrypi/picotool#82 which is something i'd been thinking about for a while

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

No branches or pull requests

3 participants