Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers/pwm_out: cleanup for multi-platform use #14707

Merged
merged 1 commit into from
May 2, 2020
Merged

Conversation

dagar
Copy link
Member

@dagar dagar commented Apr 19, 2020

This is a quick cleanup of drivers/pwm_out that will enable it to be used on Linux platforms like the BeagleBone Blue, Emlid Navio2, Aerotenna Ocpoc if low level PWM routines are implemented.

  • up_pwm_servo_init()
  • up_pwm_servo_arm()
  • up_pwm_servo_set()
  • up_pwm_update()
  • up_pwm_servo_deinit()

@dagar
Copy link
Member Author

dagar commented Apr 19, 2020

TODO (later)

  • add PWM implementation for BeagleBone Blue, Emlid Navio2, Aerotenna Ocpoc, Snapdragon
  • extract pwm capture functionality and unify with drivers/dshot
  • find a new home for i2c, peripheral_reset, sensor_reset

@dagar dagar force-pushed the pr-pwm_out_linux branch from ecc59f6 to 5994ba7 Compare May 1, 2020 19:13
@dagar dagar merged commit 0c8dcf9 into master May 2, 2020
@dagar dagar deleted the pr-pwm_out_linux branch May 2, 2020 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant