Open source minimal stack for the ch32 line of WCH processors, including the ch32v003, a 10¢ 48 MHz RISC-V Microcontroller - as well as many other chips within the ch32v/x line.

1 Open Issue Need Help Last updated: Jul 10, 2025

Open Issues Need Help

View All on GitHub

AI Summary: The task is to fix an incorrect bitmask definition ('TIM2_DEFAULT') in the `tim2_pwm.c` example within the ch32fun project. The current definition only masks the lower 8 bits of the CCER register, causing PWM functionality to fail for channels 3 and 4 on the CH32V003 microcontroller. The solution involves changing the definition to mask all 16 bits of the register, ensuring correct functionality across all channels.

Complexity: 2/5
bug good first issue

Open source minimal stack for the ch32 line of WCH processors, including the ch32v003, a 10¢ 48 MHz RISC-V Microcontroller - as well as many other chips within the ch32v/x line.

C