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

Add chip-specific features for tests/examples #2175

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani added the skip-changelog No changelog modification needed label Sep 17, 2024
@bugadani bugadani marked this pull request as ready for review September 17, 2024 13:18

// The trailing ':' on metadata keys is optional :)
Copy link
Contributor

@bjoernQ bjoernQ Sep 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technically a change but given I didn't even know this I guess that is totally fine


for chip in chips {
chip_features.insert(chip, values.clone());
}
} else {
log::warn!("Unrecognized metadata key '{key}', ignoring");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated but we might consider to make this an hard error and panic - took we a while to recognize I was testing with CHIP_FEATURE(esp32s3) 😄

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine - not sure we should mention this in the README since it's not yet used anywhere (so it's hard to discover)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants