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

How to use i2c and this library? #1

Open
jershell opened this issue May 4, 2023 · 10 comments
Open

How to use i2c and this library? #1

jershell opened this issue May 4, 2023 · 10 comments

Comments

@jershell
Copy link

jershell commented May 4, 2023

I have couple questions

  1. Do you can show example i2c?
  2. It doesn't publish in crates?
@andelf
Copy link
Contributor

andelf commented Oct 7, 2023

Not implemented yet.

@jake-g00dwin
Copy link

Is it in the works? Or should we create a fork and then make a PR for it?

@andelf
Copy link
Contributor

andelf commented Jan 12, 2024

I plan to merge all ch32[vx][0123]*-hal into one as they share almost the same style of peripherals.
I'll initiate a new repo this weekend.

@andelf
Copy link
Contributor

andelf commented Jan 12, 2024

Currently, the most complete -hal crate is the ch58x-hal.
I spend some time doing the low-level part in https://github.com/ch32-rs/qingke, it's the -rt crate for all CH32 RISC-V MCUs.

@jake-g00dwin
Copy link

@andelf okay makes sense, do you want any help working on any parts of it?

Not that I know the RISC-V architecture of qingke cpus all the way yet; but I'm decent with rust/C/asm

@vibotmoss
Copy link

现在进度咋样了,准备用ch32v208做产品了,想用rust开发

@andelf
Copy link
Contributor

andelf commented Mar 6, 2024

@rollge 目前不适合产品. 做个人小项目的话欢迎来参与.

@jake-g00dwin
Copy link

@rollge You could probably use the C libraries with bindgen for now.

@vibotmoss
Copy link

@rollge You could probably use the C libraries with bindgen for now.

Thanks for the solution.

@andelf
Copy link
Contributor

andelf commented Mar 31, 2024

Implemented in https://github.com/ch32-rs/ch32-hal

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

No branches or pull requests

4 participants