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

Support for BLE on the CH32V208 #43

Open
Frostie314159 opened this issue Sep 3, 2024 · 3 comments
Open

Support for BLE on the CH32V208 #43

Frostie314159 opened this issue Sep 3, 2024 · 3 comments
Assignees

Comments

@Frostie314159
Copy link

Hi, is BLE support for the CH32V208 planned?

@andelf
Copy link
Contributor

andelf commented Sep 3, 2024

Thank you for your interest.

BLE support for the CH32V208 is indeed planned. However, it's a complex task that requires some development effort, and its implementation may not be immediate.

I'll update when I have more concrete plans on the timeline.

Currently, https://github.com/ch32-rs/ch58x-hal has a proof-of-concept implementation of BLE on CH582 MCU.
The BLE APIs are almost the same as CH32V208's.

@Frostie314159
Copy link
Author

Hi, thanks for the quick response! Could you potentially send me an ELF binary of one of the C example programs for BLE? I don't have a working build environment, and I'd like to examine the binary. Potentially, we could reverse engineer the registers and build a rust only BLE stack.

@andelf
Copy link
Contributor

andelf commented Sep 4, 2024

The official BLE libs are at https://github.com/openwch/ch32v20x/tree/main/EVT/EXAM/BLE/LIB.

@andelf andelf self-assigned this Nov 9, 2024
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

2 participants