RTEMS | bsp/aarch64/raspberrypi4: Add PWM peripheral support (!509)

Christian Mauderer (@c-mauderer) gitlab at rtems.org
Mon Jun 16 18:31:35 UTC 2025




Christian Mauderer commented on a discussion on bsps/aarch64/raspberrypi/pwm/raspberrypi-pwm.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124732

 > +}
 > +
 > +static rtems_status_code rpi_pwm_set_range(
 > +  raspberrypi_pwm_master  master,
 > +  raspberrypi_pwm_channel channel,
 > +  uint32_t                range
 > +)
 > +{
 > +  if ( master != raspberrypi_pwm_master0 &&
 > +       master != raspberrypi_pwm_master1 ) {
 > +    return RTEMS_INVALID_NUMBER;
 > +  }
 > +
 > +  if ( channel != raspberrypi_pwm0 && channel != raspberrypi_pwm1 ) {
 > +    return RTEMS_INVALID_NUMBER;
 > +  }

It's a lot better. Thanks.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124732
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250616/1df71889/attachment-0001.htm>


More information about the bugs mailing list