Comments (4)
I need some time to look into it. I'll check it this weekend.
There are a few things that belong in the pac that were absent or buggy
Yes, their SVD files are very buggy. So they are patched with svdtools.
The CH58x.svd is not revised yet.
I'm not sure how licenses should work here. The rt steals some things from the wch repo, I don't think this is proper.
Since https://github.com/openwch/ch583/tree/main/EVT/EXAM/BLE/LIB is under Apache-2.0 license, make sure the libs/files you refer to are located in the openwch repo. Then it's OK to include them with a proper LICENSE.
ble doesn't work in the default riscv runtime
This should be fixed by pre_init
hook. If not feasible, we can invent a -rt
crate for CH58x.
from ch32-rs.
As with pac v0.2.0 release, most issues are fixed.
Check out https://github.com/ch32-rs/ch58x-hal, I've referred a lot from your hal crate. This is an embassy
-style hal crate with embassy time driver support.
Critical section works in the default riscv runtime, but not in my ble runtime.
Fixed in the ch58x-hal crate.
This seems to be related to the handling of "highcode",
Added highcode
support in the crate, using link script and #[highcode]
macro.
Currently, I'm trying to port the BLE rt to it. At lease the RF_PHY example works.
from ch32-rs.
Update: BLE broadcaster and scanner now works.
from ch32-rs.
Close as finished.
from ch32-rs.
Related Issues (12)
- 如何参与项目维护 HOT 1
- Adding "derivedFrom" for various types HOT 4
- CH32V003 (RV32EC) support HOT 11
- How can I control GPIO using ch57x crate? HOT 3
- No firmware for Micropython for this ch32v003 HOT 2
- error when taking peripheral, using example for CH32V3 HOT 3
- CH32V003: TIM2RST missing from APB1PRSTR register definition HOT 2
- interrupt issues HOT 6
- systick::sr is writable
- how is the svd binary installed? HOT 5
- ch58x::Peripherals missing GPIO HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ch32-rs.