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

Christian Mauderer (@c-mauderer) gitlab at rtems.org
Mon Jun 16 10:55:25 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_124703

 > +  }
 > +
 > +  return RTEMS_SUCCESSFUL;
 > +}
 > +
 > +rtems_status_code rpi_pwm_init(
 > +  raspberrypi_pwm_master  master,
 > +  raspberrypi_pwm_channel channel,
 > +  uint32_t                divisor,
 > +  uint32_t                range,
 > +  uint32_t                data
 > +)
 > +{
 > +  rtems_status_code sc;
 > +
 > +  sc = rpi_pwm_set_clock( divisor );

Could be a good alternative, yes.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124703
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/a120eb67/attachment.htm>


More information about the bugs mailing list