Giter Site home page Giter Site logo

sipeed / bl602-pac Goto Github PK

View Code? Open in Web Editor NEW
19.0 8.0 10.0 1.13 MB

Embedded Rust's Peripheral Access Crate for BL602 microcontrollers

License: MIT License

Rust 99.93% Logos 0.01% Shell 0.03% RPC 0.04%
bl602 peripheral rust riscv svd2rust wifi bouffalo ble

bl602-pac's People

Contributors

9names avatar jspngh avatar luojia65 avatar mkroman avatar parkero avatar tchebb avatar username223 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bl602-pac's Issues

[IMPORTANT] Project migration request

Hello, bl602-pac contributors:

Bouffalo Lab (bl602 chip vendor) wants to provide an official Rust PAC support project bl-pac to include PAC projects for all BL chips. Since there are bl602-pac project, I (as maintainer of new bl-pac) request to the community migrate sipeed/bl602-pac into the new bl-pac repository, and add @9names as project maintainer of bl-pac. Bouffalo Lab (github.com/bouffalolab) as new repository owner will welcome community contribution and keep MIT + MulanPSL as bl602-pac project license.

In order to approve this, I hereby request all contributors to bl602-pac to approve the project migration request. All contributors are: @9names, @username223, @jspngh, @luojia65, @mkroman, @parkero and @tchebb. If you are a contributor and you agree with this request, please reply this issue with:

I agree to migrate this project to bouffalolab/bl-pac and add @9names as project maintainer.

If you have any problem, please reply to this issue and include your concern.

Thanks!

Allow hard float abi

The default for the bl602-pac is currently targeting the tier 2 riscv32imac-unknown-none-elf which uses soft float. The bl602 hardware itself supports the f extension as well through an FPU.

We can allow custom targets (e.g. riscv32imafc-unknown-none-elf) to use the hard float abi by updating the dependencies for riscv and (optional) riscv-rt to the latest versions.

Working example here:
parkero / bl602-hardfloat

Re-enable MSRV CI job

The existing CI scripts were failing on the MSRV build, which was making it impossible to verify PRs.
To get things moving again, this path was disabled in #16.
Update/fix this so we can be sure that MSRV is honored.

The SVD needs improvements

I would recommend, before developing HAL further, we should concentrate on improving the SVD and PAC so we have a better foundation. I generated the docs for the PAC, and I can see there are:

  • No/useless documentation for what the peripherals are
  • Duplications of blocks that are identical (ie timer2 and timer3 have the same fields but are totally duplicated)
  • No field accessors / enumeratedValues beyond .bits()
  • No/useless field documentation

So I think we should start by going through the reference manual and updating the SVD.

Provide releases

Having the HAL use a branch git dependency on the PAC is super brittle.
We could use git tags or crates.io releases to make things more reliable.

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.