Skip to content

Commit

Permalink
Turn off esp-wifi overflow checks as they seem to cause random panics
Browse files Browse the repository at this point in the history
  • Loading branch information
zargony committed Sep 27, 2024
1 parent b04d6ff commit 3516604
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firmware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3516604

Please sign in to comment.