Closed n0x32schneider closed 1 month ago
I think it is because you enabled the log
feature-flag for smoltcp, which does not compile for no_std. Instead, you could enable the defmt
feature flag to enable logging, using the defmt crate.
Thanks for the response! Compiling with the log
feature-flag does seem to compile anyways.
The problem is resolved, for some reason cargo had stored a broken version of smoltcp 0.11.0 in it's local registry. Removing it fixed the issue!
Hello, I want to use smoltcp in a no_std environment, but version 0.11.0 does not compile.
Version 0.10.0 compiles without trouble in the same empty code skeleton (cortex-m-quickstart repository).
Dependency entry in Cargo.toml looks like
Using version Rustc 1.82.0 (f6e511eec 2024-10-15)
Edit: Using the current main branch version with commit e9b66ea works locally, aswell