Skip to content

Commit

Permalink
Hack
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Dec 18, 2024
1 parent 09619bc commit 7eec7f7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions esp-config/src/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,11 @@ fn capture_from_env(prefix: &str, configs: &mut HashMap<String, Value>) {
panic!("Invalid configuration options detected: {:?}", failed);
}

if !unknown.is_empty() {
panic!("Unknown configuration options detected: {:?}", unknown);
}
// FIXME: disabled for testing purposes, esp-hal rejects esp-hal-embassy
// configs because of this
// if !unknown.is_empty() {
// panic!("Unknown configuration options detected: {:?}", unknown);
// }
}

fn emit_configuration(
Expand Down

0 comments on commit 7eec7f7

Please sign in to comment.