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

beagleconnect_freedom: Add pwm support #98

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

Ayush1325
Copy link
Member

  • Replace pwm_set_cycles with pwm_set_pulse_dt.
  • Add check to ensure that pwm pin is ready
  • Fix intendation
  • Fix incorrect PWM MB 2 pin number
  • Add pwms property

@DhruvaG2000 DhruvaG2000 requested review from DhruvaG2000 and soburi June 7, 2024 10:20
- Replace pwm_set_cycles with pwm_set_pulse_dt.
- Add check to ensure that pwm pin is ready

Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
- Fix intendation
- Fix incorrect PWM MB 2 pin number
- Add pwms property

Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
Copy link
Collaborator

@DhruvaG2000 DhruvaG2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let me know if this is tested and good to merge.

@Ayush1325
Copy link
Member Author

@DhruvaG2000 So, the thing is that this works as well as pwm works for bcf in zephyr (which means not very well). However, the problem seems to be in the zephyr driver (and not on arduino side) and thus, it should be fine to merge this.

@DhruvaG2000 DhruvaG2000 merged commit 95e608f into zephyrproject-rtos:next Jun 13, 2024
2 checks passed
@Ayush1325 Ayush1325 deleted the bcf-pwm branch June 13, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants