Comments (4)
You can patch it using svdtools.
https://github.com/ch32-rs/ch32-rs/blob/main/devices/ch58x.yaml
# Replace peripheral registers by a 'deriveFrom'.
# This is used when e.g. UART4 and UART5 are both independently defined,
# but you'd like to make UART5 be defined as derivedFrom UART4 instead.
_derive:
# The KEY peripheral looses all its elements but 'interrupt', 'name',
# and 'baseAddress', and it is derivedFrom the VALUE peripheral.
# Peripherals that were 'deriveFrom="KEY"' are now 'deriveFrom="VALUE"'.
UART5: UART4
from ch32-rs.
Nice!
ch32-rs-nightlies is currently out of date, did you have some pending changes or shall I send some cleanup PRs?
from ch32-rs.
I'm planning to schedule a new release this week.๐
PRs are welcome.
from ch32-rs.
Clsoe as implemented
from ch32-rs.
Related Issues (12)
- ๅฆไฝๅไธ้กน็ฎ็ปดๆค HOT 1
- CH58X(CH582M) BLE Support 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.