keith-packard / snek

Snek programming language for tiny systems
GNU General Public License v3.0
292 stars 30 forks source link

RISC-V support like CH32V003 MCU #78

Open dfsxn opened 1 year ago

dfsxn commented 1 year ago

Hi,

Last year it was launched to the market the MCU CH32V003, which has the following features:

CH32V003

CH32V003 series is based on QingKe RISC-V2A core design of industrial-grade general-purpose microcontroller, support 48MHz system main frequency, with wide voltage, 1-wire serial debug interface, low-power consumption, ultra-small package, etc. CH32V003 series built-in a group of DMA controller, a group of 10-bit ADC, a group of op-amp comparators, multiple timers and standard communication interfaces USART, I2C, SPI, etc.

http://www.wch-ic.com/products/CH32V003.html

Resources are available on GitHub and GitLab:

Even there's also a WCH Kicad Library on the way:

Board available on the market:

  1. https://www.aliexpress.com/item/1005004895791296.html

It would be beautiful have Snek Python support for CH32V003 MCU.

Thank you.

Kind regards,

keith-packard commented 1 year ago

That looks a bit too small for snek -- snek needs at least 32kB of flash for even the smallest configuration.