From 351660407987247bf0efc578d4dc297c646fb54f Mon Sep 17 00:00:00 2001 From: Andreas Neuhaus Date: Fri, 27 Sep 2024 14:59:20 +0200 Subject: [PATCH] Turn off esp-wifi overflow checks as they seem to cause random panics --- firmware/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/Cargo.toml b/firmware/Cargo.toml index 13b3036..0d015dd 100644 --- a/firmware/Cargo.toml +++ b/firmware/Cargo.toml @@ -27,6 +27,8 @@ opt-level = 3 [profile.dev.package.esp-wifi] # Build esp-wifi with release optimizations as it recommends opt-level = 3 +# Additionally turn off overflow checks as these seem to cause random esp-wifi panics +overflow-checks = false [profile.release] # LLVM can perform better optimizations using a single thread