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

Want to contribute? Claim your work here! #1

Open
6 of 15 tasks
luojia65 opened this issue Nov 19, 2020 · 9 comments
Open
6 of 15 tasks

Want to contribute? Claim your work here! #1

luojia65 opened this issue Nov 19, 2020 · 9 comments

Comments

@luojia65
Copy link
Member

luojia65 commented Nov 19, 2020

There are many modules unfinished in this project.

  • Clock configuration for all modules
  • GPIO
  • ADC
  • DAC
  • DMA
  • IR (infrared peripheral)
  • SPI
  • UART (free-run mode)
  • UART (fifo mode)
  • I2C
  • PWM
  • TIMER
  • Watchdog Timer
  • BLE (link its binary or reverse)
  • WIFI (use smoltcp etc. for networking)

To avoid conflicts, please claim your work before contributions. You may reply to this issue like:

I'd like to work for UART (free-run mode).

After your work is verified for peripheral function and code style, the corresponding to-do list entry is marked as finished.
Please read this project's open-source license and BL602's reference manual before your work. Have fun!

If you need to cancel your work claim: thank you for concern on BL602-hal project! Please push (or pull request) your finished partial work, then modify your issue reply with ~delete line~.

@Benjamin-L
Copy link

Benjamin-L commented Mar 12, 2021

I'd be interested in working on BLE, using the binary blob. I wish I was good enough at reversing to be useful for that, but unfortunately not.

The only set of HCI traits I can find are in bluetooth-hci. I'm not sure how usable or complete this crate is, but it'll be a good starting point.

@luojia65
Copy link
Member Author

@Benjamin-L That's very nice! You can try in your fork, and, feel free to design APIs and functions. Thank you for contribution! :)

@bjoernQ
Copy link
Contributor

bjoernQ commented Mar 21, 2021

I will try to implement SPI master mode - probably not more than what the STM32F1xx hal offers for the start

@bjoernQ
Copy link
Contributor

bjoernQ commented Mar 29, 2021

I will implement I2C functionality

@bjoernQ
Copy link
Contributor

bjoernQ commented Apr 11, 2021

I will implement basic timer functionality including support for interrupts (but not watchdog - should be it's own PR IMHO)

@bjoernQ
Copy link
Contributor

bjoernQ commented May 3, 2021

I started looking into using the wifi blobs from Rust. I can already do a wifi scan but it is really going to be a mess so I guess I should keep it in a separate repo/crate.

Problem with the blobs is we need ilp32f abi but none of the built-in targets support that (but we can use a target spec json and nightly build-std). Then we need ilp32f support in riscv and riscv-rt and certainly some support in the hal (probably the easiest thing).

As soon as it looks like something I can show, I will push the code to github. But it will probably take quite some time unfortunately.

@kiyoshigawa
Copy link
Contributor

I will be working to implement generic time support for the timers per this issue: #36

@kiyoshigawa
Copy link
Contributor

I will implement the Watchdog timer.

@CobaltCause
Copy link

Gonna take a stab at PWM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants