Add Arduino support
maxgerhardt opened this issue · 7 comments
Once all existing frameworks are supposed, one can think about expanding / creating an Arduino core for these boards.
Done for CH32V003 in 2f95c18
Hello. When can we expect the addition of functions analogRead analogWrite AttachInterrupt for Arduino part ? I've tried changing the adc-tempo example to read voltages, but it's hard for me. Perhaps there are working pieces of code for these functions?
Perhaps I am writing to the wrong address. And this is the project https://github.com/AlexanderMandera/arduino-wch32v003 or https://github.com/openwch/ch32v003
https://github.com/AlexanderMandera/arduino-wch32v003 doesn't have analogRead()
yet, so if you want it in that core, you need to open an issue there.
I don't yet support building https://github.com/openwch/arduino_core_ch32 here in PlatformIO but it will be supported soon. This core does have analogRead(). You can use this core in the Arduino IDE already.
Great, thanks a lot.
https://github.com/openwch/arduino_core_ch32
This is what I need now!
https://github.com/openwch/arduino_core_ch32 Now has native Arduino SPI implementation..
I tried adding it as a custom core to CH32V framework but failed. I think adding it now, especially for CH32V003 will be a big step in getting low cost projects going.
I can try adding it myself if there is any documentations on doing so, if not I think it will be very beneficial to add this core at least for V003.
This core is already supported for CH32V003. Please see project's https://github.com/Community-PIO-CH32V/platform-ch32v/tree/develop/examples/blinky-arduino platformio.ini file.
Closing since a lot of boards are supported in the OpenWCH Arduino core now. New boards will be synced here as they gain support in that core.