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

rp_cargo_bin_name / rp_cargo_homepage_url not reachable from rp-binary-info #910

Open
Hecatron opened this issue Mar 12, 2025 · 1 comment

Comments

@Hecatron
Copy link

Hi,
I've tried copying the rp235x-hal-examples as a basis for a new project
But what I'm noticing is that the following macro's are not visible from rp-binary-info

  • rp_cargo_bin_name
  • rp_cargo_homepage_url

As far as the rp235x-hal-examples itself that's working fine as it's referencing the directory via a path statement
But as soon as you try and reference rp235x-hal or rp-binary-info directly without that path statement, the macros are not visible for some reason

# Replace this in rp235x-hal-examples/Cargo.toml
rp235x-hal = {path = "../rp235x-hal", version = "0.3.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"]}
# With this
rp235x-hal = {version = "0.3.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"]}
# Then run
cargo build --bin=blinky

Image

@jannic
Copy link
Member

jannic commented Mar 12, 2025

You are right: These functions were added to rp-binary-info after its 0.1.0 release.
So we should release rp-binary-info version 0.1.1 and depend on it from rp235x-hal-examples.
PR #911 prepares that release.

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

2 participants