-
Notifications
You must be signed in to change notification settings - Fork 367
Add chip-specific features for tests/examples #2175
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
Conversation
564c0b2 to
d9d7b6b
Compare
| bail!("Metadata line is missing ':': {}", line); | ||
| }; | ||
|
|
||
| // The trailing ':' on metadata keys is optional :) |
There was a problem hiding this comment.
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
| chip_features.insert(chip, values.clone()); | ||
| } | ||
| } else { | ||
| log::warn!("Unrecognized metadata key '{key}', ignoring"); |
There was a problem hiding this comment.
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) 😄
bjoernQ
left a comment
There was a problem hiding this 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)
JurajSadel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Motivator