Closed thedevleon closed 9 months ago
you are mixing two completely unrelated things her. Yes esp-idf-sys has a feature called no_std but this has nothing to do with the esp-hal no_std project. If you are using esp-idf-sys you always using esp-idf. You can run a no_std rust application on it but that doesn't change the fact that the underlying rust target is still the normal one against esp-idf. You cannot use esp-idf-sys against the rust no_std unknown-unknown targets
I see, thanks for the clarification!
I already have esp32-nimble working in a std context just fine, but I would also like to get it running in a no_std context as well, since there seems to be a no_std feature.
However, I'm unable to get esp32-nimble to build, getting the following error:
Please see this repo for an example setup. If I remove the esp32-nimble dependency, and remove all references to in in the main.rs, it builds fine. I've also tried with the esp32c3 (
riscv32imc-unknown-none-elf
), but ultimately, the error is the same (unsupported target).Am I missing something here, or is there something else that needs to be done to get no_std working?