Git Product home page Git Product logo

Comments (7)

cyril-marpaud avatar cyril-marpaud commented on July 20, 2024 1

We have the updates merged so you should be able to run cargo doc --no-deps --open --target riscv32imc-unknown-none-elf --features "esp32c3,ble,wifi,embedded-svc"

It works, one only needs to "+nightly" that cmd of yours :
cargo "+nightly" doc --no-deps --open --target riscv32imc-unknown-none-elf --features "esp32c3,ble,wifi,embedded-svc"

TYVM !

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

It would work if you pass the target and the requested features but unfortunately you also run into another issue here:

The currently published HALs for RISCV targets depend on a yanked version of the riscv crate which makes it unable to build (unless you happened to build it before that happened and have a Cargo.lock file locally). If you are targeting one of the Xtensa chips it should work

If you are targeting a RISCV based chip the bad thing, is you can't just use the HAL as a git dependency (it's fixed there) since there are breaking changes which need to get adapted here (I already started but didn't finish that)

from esp-wifi-sys.

cyril-marpaud avatar cyril-marpaud commented on July 20, 2024

It doesn't seem to work with a target either, that's what I get : error: failed to run rustc to learn about target-specific information
rustc --print target-list does not show xtensa targets though, maybe I'm missing sth here.
Does that mean that documentation is currently completely unavailable ? I'm trying to use Wifi on a RISCV-based device...

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

Do you set an Xtensa target maybe?

This would create docs
cargo doc --no-deps --open --target riscv32imc-unknown-none-elf --features "esp32c3,ble,wifi,embedded-svc"

But as said you will hit the problem of the yanked riscv crate.

You could try to place the attached lock file side by side to Cargo.toml - not sure if that will work - I never tried it

Cargo.lock.zip

from esp-wifi-sys.

cyril-marpaud avatar cyril-marpaud commented on July 20, 2024

No luck with that Cargo.lock file either :(

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

I hope to get all the changes needed for the upcoming HAL version done and available on a separate branch soon

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

We have the updates merged so you should be able to run
cargo doc --no-deps --open --target riscv32imc-unknown-none-elf --features "esp32c3,ble,wifi,embedded-svc"

from esp-wifi-sys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.