platform-ch32v
platform-ch32v copied to clipboard
Can add frameworks code in PlatformIO ?
Can add frameworks code in PlatformIO ?
this code style arduino how to add support on PlatformIO ?
https://github.com/MoonFox2006/Ardu_CH32V003
can share tutorial for add ?
thankyou
This core seems very incomplete. The current https://github.com/openwch/arduino_core_ch32/ core we support for CH32V003 (example) seems way better for this, has at least all the features that the MoonFox2006 has and more.
This core seems very incomplete. The current https://github.com/openwch/arduino_core_ch32/ core we support for CH32V003 (example) seems way better for this, has at least all the features that the MoonFox2006 has and more.
i thing easy use style like arduino on wch code and support pwm
The OpenWCH Arduino core supports all common Arduino functions and PWM too, using analogWrite(). Even the PWM frequency is adjustable.
The OpenWCH Arduino core supports all common Arduino functions and PWM too, using
analogWrite(). Even the PWM frequency is adjustable.
openwch can support now ? can check ?
You are right, PWM does actually not work. The code is by default not activated (build_flags = -DTIM_MODULE_ENABLED needed), but even then, it does not complete since it's incomplete. There is no implementation of HardwareTimer.h/.cpp and a lot of type definitions are missing. IT looks to like this is half-copied from the STM32 Arduino core but not actually finished. You are right to open https://github.com/openwch/arduino_core_ch32/issues/31.
You are right, PWM does actually not work. The code is by default not activated ( needed), but even then, it does not complete since it's incomplete. There is no implementation of HardwareTimer.h/.cpp and a lot of type definitions are missing. IT looks to like this is half-copied from the STM32 Arduino core but not actually finished. You are right to open openwch/arduino_core_ch32#31.
build_flags = -DTIM_MODULE_ENABLED
i found new code to small can add ?
https://github.com/wagiminator/MCU-Templates/tree/main/CH32V003