Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtensa-esp32-none-elf not installed with espup #447

Closed
nbaraz opened this issue Oct 5, 2024 · 5 comments
Closed

xtensa-esp32-none-elf not installed with espup #447

nbaraz opened this issue Oct 5, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@nbaraz
Copy link

nbaraz commented Oct 5, 2024

After runnint espup install on Windows 10, when I run rustc +esp --print target-list I only get the following xtensa targets:

xtensa-esp32-espidf
xtensa-esp32s2-espidf
xtensa-esp32s3-espidf
xtensa-esp32s3-none-elf

(xtensa-esp32-none-elf is missing)

@nbaraz nbaraz added the bug Something isn't working label Oct 5, 2024
@github-project-automation github-project-automation bot moved this to Todo in esp-rs Oct 5, 2024
@SergioGasquez
Copy link
Member

That's very strange, as no_std version of s3 is installed. Have you tried building a no_std project for ESP32 and see if you get any error? Also, might be worth to try rustc +esp --print target-list | grep "xtensa"

@nbaraz
Copy link
Author

nbaraz commented Oct 7, 2024

I don't have grep installed, and find was giving me issues, but I'll install it and try once I get home. I'm fairly certain it's not in the list though.

Is there an extra verbose espup flag/patch I can apply to gather more info, and any cache I need to clean after espup uninstall?

My first installation was with -t esp32, but I uninstalled and reinstalled with -t all after I didn't see the 8266 target installed.

@nbaraz
Copy link
Author

nbaraz commented Oct 7, 2024

I'm really sorry, I meant xtensa-esp8266-none-elf. I must have been really tired when I opened the issue.

>rustc +esp --print target-list | find "xtensa"
xtensa-esp32-espidf
xtensa-esp32-none-elf
xtensa-esp32s2-espidf
xtensa-esp32s2-none-elf
xtensa-esp32s3-espidf
xtensa-esp32s3-none-elf

@nbaraz
Copy link
Author

nbaraz commented Oct 7, 2024

The issue is that cargo-pio creates a project which relies on a non-existent target, I'll open an issue there.

@nbaraz nbaraz closed this as completed Oct 7, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Oct 7, 2024
@nbaraz
Copy link
Author

nbaraz commented Oct 8, 2024

Ok, cargo-pio was ok. It seems that support for xtensa-esp8266-none-elf was dropped in 1.81.
I opened an issue: esp-rs/rust#237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants