cpu/nrf{53,9160}: add pwm support#19781
Conversation
c4841ca to
a685fd2
Compare
|
Rebased. No longer waiting on any PRs. |
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 <[email protected]>
Co-authored-by: Dylan Laduranty <[email protected]>
|
Build failed (retrying...): |
|
Kconfig missmatch bors cancel |
|
Canceled. |
Signed-off-by: Dylan Laduranty <[email protected]>
Signed-off-by: Dylan Laduranty <[email protected]>
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 <[email protected]>
Signed-off-by: Dylan Laduranty <[email protected]>
Signed-off-by: dylad <[email protected]>
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 <[email protected]>
Co-authored-by: dylad <[email protected]>
|
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_commonto 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/pwmtest application onnrf5340dkornrf9160dk.You can then use the
oscicommand 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