-
Notifications
You must be signed in to change notification settings - Fork 2k
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
cpu/nrf{53,9160}: add pwm support #19781
Conversation
c4841ca
to
a685fd2
Compare
Rebased. No longer waiting on any PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash
4b0a1ab
to
9a305c0
Compare
Rebased and squashed. Output of
|
bors merge |
19487: nanocoap: implement extended tokens (RFC 8974) r=benpicco a=benpicco 19781: cpu/nrf{53,9160}: add pwm support r=benpicco a=dylad ### Contribution description This PR moves the nRF52 PWM driver to `cpu/nrf5x_common` to allow nRF9160 and nRF53 to use this driver. IP is identical on these families. I didn't test on nRF9160DK and I didn't test if there is any regression on nRF52-based board as I don't have any so tests are welcome ! However it works fine on nRF53-based board. ### Testing procedure Flash the `tests/periph/pwm` test application on `nrf5340dk` or `nrf9160dk`. You can then use the `osci` command to make the onboard LEDs "breath". You can also attach an oscilloscope and/or logic analyzer to watch the signal. ### Issues/PRs references ~~Based on #19769~~ Co-authored-by: Benjamin Valentin <benpicco@beuth-hochschule.de> Co-authored-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
Build failed (retrying...): |
Kconfig missmatch bors cancel |
Canceled. |
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
dab2f91
to
ac54040
Compare
I had to rebase against current master to fix conflicts introduce by my other merged PRs. |
bors merge |
👎 Rejected by PR status |
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
ac54040
to
ef9dca0
Compare
bors merge |
🕐 Waiting for PR status (GitHub check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set. |
19781: cpu/nrf{53,9160}: add pwm support r=dylad a=dylad ### Contribution description This PR moves the nRF52 PWM driver to `cpu/nrf5x_common` to allow nRF9160 and nRF53 to use this driver. IP is identical on these families. I didn't test on nRF9160DK and I didn't test if there is any regression on nRF52-based board as I don't have any so tests are welcome ! However it works fine on nRF53-based board. ### Testing procedure Flash the `tests/periph/pwm` test application on `nrf5340dk` or `nrf9160dk`. You can then use the `osci` command to make the onboard LEDs "breath". You can also attach an oscilloscope and/or logic analyzer to watch the signal. ### Issues/PRs references ~~Based on #19769~~ Co-authored-by: Dylan Laduranty <dylan.laduranty@mesotic.com> Co-authored-by: dylad <dylan.laduranty@mesotic.com>
Build failed: |
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Thanks ! |
Contribution description
This PR moves the nRF52 PWM driver to
cpu/nrf5x_common
to allow nRF9160 and nRF53 to use this driver.IP is identical on these families.
I didn't test on nRF9160DK and I didn't test if there is any regression on nRF52-based board as I don't have any so tests are welcome !
However it works fine on nRF53-based board.
Testing procedure
Flash the
tests/periph/pwm
test application onnrf5340dk
ornrf9160dk
.You can then use the
osci
command to make the onboard LEDs "breath".You can also attach an oscilloscope and/or logic analyzer to watch the signal.
Issues/PRs references
Based on #19769