Repair a verified behavior in RT-Thread/rt-thread.
Repair a verified behavior in RT-Thread/rt-thread.: a task in OriGent-RL-Data (Harbor dataset). The GD32 advanced-timer PWM driver cannot drive a CHxN output. A board timer-channel map value intended to identify CH0N or CH1N is stored as an unsigned value, so -1 and -2 become invalid large channel…
The task
The GD32 advanced-timer PWM driver cannot drive a CHxN output. A board timer-channel map value intended to identify CH0N or CH1N is stored as an unsigned value, so -1 and -2 become invalid large channel numbers. The enable path also ignores the complementary flag in struct rt_pwm_configuration and always enables the…
Part of henryen/OriGent-RL-Data.