Skip to content

Question. How hard would it be to add support for CH32 chips? #41

@monte-monte

Description

@monte-monte

We have a nice community built around WCH's Risc-V chips here: https://github.com/cnlohr/ch32fun
It's not an arduino compatible as is, but hardware is very interesting. I've just discovered this project and I see that it would be awesome to have something like this for CH32 chips. There are different configurations in different models of chips and having such a great visualization would help a lot. Also ch32fun is all about working with registers directly without any HALs, so seeing how each register/setting affects the result would be a great help for anyone who uses those MCUs in their projects.
My question is how flexible your codebase is for adding support for something that has no common roots with ATMEGA? CH32 registers are more STM32-like (sometimes direct 1-to-1 copy). And are you interested in someone making a PR for this project, or it would be better to fork or create something similar from scratch?
Great work anyway, it would be nice to have it around when I was still actively using arduinos!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions