Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Issues with ESP32S2 #57

Closed
trembel opened this issue Mar 6, 2023 · 1 comment
Closed

Issues with ESP32S2 #57

trembel opened this issue Mar 6, 2023 · 1 comment

Comments

@trembel
Copy link

trembel commented Mar 6, 2023

Hi,
I'm trying to build a library (no_std) for the ESP32-S2 (thus no IC crates needed, just architecture needed) using:
cargo +esp build --target esp32s2-none-elf --release

However, I get the following mistake.. How can I avoid it:

error[E0463]: can't find crate for `core`
  |
  = note: the `xtensa-esp32s2-none-elf` target may not be installed
  = help: consider downloading the target with `rustup target add xtensa-esp32s2-none-elf`
  = help: consider building the standard library from source with `cargo build -Zbuild-std`
@jessebraham
Copy link
Member

jessebraham commented Mar 6, 2023

Did you try building with the -Zbuild-std=core option as suggested by the error? This should already be covered by the .cargo/config.toml file so I'm not sure why you're seeing this error, you shouldn't need the command-line option. We'll see if that makes any difference, though.

EDIT: I've just generated a fresh project using the template for the ESP32-S2, and cargo build --release succeeds. So not sure what's going on on your end.

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants