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

Allow specification of metadata depending on target #504

Closed
Natureshadow opened this issue Nov 14, 2023 · 2 comments
Closed

Allow specification of metadata depending on target #504

Natureshadow opened this issue Nov 14, 2023 · 2 comments

Comments

@Natureshadow
Copy link

For specifying a different partition table depending on the target (i.e. depending on a feature flag), it would be helpful to be able to define package metadata for espflash depending on a feature.

I don't know whether cargo allows that. If not, some other way to make partition tables, and other things that change depending on the target chip, configurable for these specific targets would also work.

@jessebraham
Copy link
Member

Thanks for this issue! I am planning to do some related work next week so I will try to evaluate whether or not this is possible and get back to you with the results.

@SergioGasquez
Copy link
Member

I'll be closing this issue as we've removed the Cargo package metadata configuration method. You could now use one espflash.toml file per target, see https://github.com/esp-rs/espflash/tree/main/espflash#configuration-file

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants