From 7eec7f71da8c12d5c772dcd237db8039dbb22c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Wed, 18 Dec 2024 17:48:56 +0100 Subject: [PATCH] Hack --- esp-config/src/generate.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/esp-config/src/generate.rs b/esp-config/src/generate.rs index ede216f5d27..36c02da10f2 100644 --- a/esp-config/src/generate.rs +++ b/esp-config/src/generate.rs @@ -377,9 +377,11 @@ fn capture_from_env(prefix: &str, configs: &mut HashMap) { 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(