Commit Graph

867 Commits

Author SHA1 Message Date
Giona Imperatori
af5e23ade0 fix(nrf5340-app): added SPIM4 peripheral 2024-11-09 21:50:20 +01:00
Dario Nieuwenhuis
0de204ccd7 Fix "non-local impl definition" warning from recent nightlies. 2024-11-08 13:20:13 +01:00
Dario Nieuwenhuis
f51ee98aef nrf/pwm: disconnect input. 2024-11-04 18:41:58 +01:00
Dario Nieuwenhuis
fff304b3de nrf/pwm: fix bad pin assignment. 2024-11-04 18:41:47 +01:00
Dario Nieuwenhuis
51f6b813e1 nrf: port to chiptool-based nrf-pac. 2024-11-04 00:47:31 +01:00
Alex Moon
55805de05b
Refactoring and cleanup 2024-10-23 16:44:07 -04:00
Alex Moon
110d87bbd2
Remove support for consecutive Read operations
Due to Twim hardware limitations
2024-10-23 16:44:07 -04:00
Alex Moon
528a3e4355
Add support for transactions to Twim in embassy-nrf 2024-10-23 16:44:07 -04:00
Dinu Blanovschi
c797915525 fix: review comments 2024-10-22 16:56:05 +02:00
Dario Nieuwenhuis
aff66b9695 nrf: add try_write to BufferedUarte. 2024-08-21 12:44:07 +02:00
Frank Plowman
0eb0789627
nrf, doc: Don't refer to Default impl of saadc::ChannelConfig
`saadc::ChannelConfig` does not implement the `Default` trait, so
its documentation should not refer to it.  Modify the documentation to
instead describe how the struct should be created and configured.
2024-08-09 14:17:54 +01:00
Priit Laes
2e8d9dba14 nrf: wdt: Fix formatting for Safety section 2024-08-08 23:01:03 +03:00
Priit Laes
2767b14a4e nrf: gpio: Fix return values for functions returning unit type - () 2024-08-08 23:01:03 +03:00
Priit Laes
7c8f57e564 nrf: buffered_uarte: Add overrides for too_many_arguments lint
One possible future fix for this could be refactoring at least
ppi arguments into separate struct.
2024-08-08 23:01:03 +03:00
Dario Nieuwenhuis
c83d940005
Merge pull request #3171 from nerwalt/nrf9151
nrf9151 support
2024-07-18 12:07:15 +00:00
Tarun Singh
a716a3f006 Reduced define for 'unreachable!' to a single macro rule 2024-07-17 17:05:52 -04:00
nerwalt
238cc004f0 saddc regression fix 2024-07-15 13:41:32 -06:00
nerwalt
0567ad5e74 cargo fmt 2024-07-15 13:30:16 -06:00
nerwalt
8a6cb98e45 Adding _nrf91 feature
Combining _nrf9160 and _nrf9120 in many places to reduce cfgs
2024-07-15 13:21:30 -06:00
nerwalt
2c3de1eeec Merge branch 'main' into nrf9151 2024-07-15 11:33:53 -06:00
nerwalt
a978234cc5 Connecting GPIOTE interrupts 2024-07-15 10:12:22 -06:00
nerwalt
042d234f11 Putting never used/constucted items behind feature flag 2024-07-15 09:23:58 -06:00
rafael
f5ebdebd96 nrf after cargo check 2024-07-14 17:34:50 +02:00
rafael
08f1454527 nrf 2024-07-14 16:35:05 +02:00
nerwalt
38d8abef26 Merge branch 'main' into nrf9151 2024-07-11 06:58:05 -06:00
Ulf Lilleengen
8c54df1042
Merge pull request #3145 from embassy-rs/nrf-radio-fixes
fix cancellation hanging on event never occuring
2024-07-03 07:45:14 +00:00
Ulf Lilleengen
b07570fce5 remove unused logging 2024-07-03 09:04:47 +02:00
Ulf Lilleengen
a07702ba7b fix cancellation hanging on event never occuring
- The end event is not triggered by stop and might therefor never occur
- Clear the end_event after operation is done instead of disabled
2024-07-03 09:03:25 +02:00
Dario Nieuwenhuis
92eb6011d6
Merge pull request #3139 from igiona/AllowDrivingStrengthInPwm
feat(pwm): allow specifying OutputDrive for PWM channels
2024-07-01 17:51:53 +00:00
Giona Imperatori
f418006508 fixup! feat(pwm): allow specifying OutputDrive for PWM channels 2024-07-01 18:06:14 +02:00
nerwalt
98263ac220 Merge branch 'main' into nrf9151 2024-07-01 10:03:24 -06:00
Giona Imperatori
7884babb9d feat(pwm): allow specifying OutputDrive for PWM channels 2024-07-01 17:33:24 +02:00
Ulf Lilleengen
0b8a8e54dc expose enabling and disabling irq for triggers 2024-07-01 10:26:45 +02:00
nerwalt
5e1a6a9753 Adding support for 9120 2024-06-28 07:11:50 -06:00
Dario Nieuwenhuis
1ce9418bca nrf/buffered_uart: take into account EASYDMA_SIZE. fixes nrf52832 2024-06-25 23:55:07 +02:00
Dario Nieuwenhuis
c48547b475 nrf: fix wrong order configuring gpios.
Docs say "PSEL.RXD, PSEL.RTS, PSEL.RTS, and PSEL.TXD must only be configured when the UARTE is disabled."
For some reason nrf52 doesn't care but nrf91 does.
2024-06-25 23:18:16 +02:00
Dario Nieuwenhuis
292dbcc991 nrf/gpiote: fix port1 on nrf5340 2024-06-25 22:29:07 +02:00
Ulf Lilleengen
a44ee963ef add HAL and example for using nRF EGU peripheral 2024-06-18 13:13:33 +02:00
Dario Nieuwenhuis
6a4ac5bd60 Add collapse_debuginfo to fmt.rs macros.
This makes location info in defmt logs point to the code calling the macro,
instead of always to fmt.rs as before. Fix works with nightlies
starting with today's, and stable 1.81+.
2024-06-17 01:38:57 +02:00
Dario Nieuwenhuis
7ad76f5f60 Use raw slices .len() method instead of unsafe hacks.
Stabilized in 1.79.
2024-06-13 20:41:08 +02:00
Jan Špaček
368893c9cb Emit cargo:rustc-check-cfg instructions from build.rs 2024-05-30 18:28:29 +02:00
Cyril Marpaud
ede07883fe
fix: typo 2024-04-27 16:39:21 +02:00
Dario Nieuwenhuis
1b36bef4b8
Merge pull request #2827 from alexmoon/wait-disabled
Add `wait_disabled` method to `embassy_nrf::usb::Endpoint`
2024-04-26 20:31:09 +00:00
Cyril Marpaud
34362b77cc
fix: typo 2024-04-17 12:56:18 +02:00
Alex Moon
34668bae5c Add wait_disabled method to embassy_nrf::usb::Endpoint 2024-04-16 12:14:22 -04:00
Dario Nieuwenhuis
ab85eb4b60 nrf: remove mod sealed. 2024-04-05 00:48:46 +02:00
DeepSOIC
10597e3b4d nRF52840/config: add dcdc voltage parameter
address #2700
2024-03-21 23:56:35 +01:00
Dario Nieuwenhuis
eca9aac194 Fix warnings in recent nightly. 2024-03-20 16:39:09 +01:00
Dario Nieuwenhuis
3d842dac85 fmt: disable "unused" warnings. 2024-03-20 14:53:19 +01:00
Erik Bånvik
bb73d6b3fe Fixed suggestions, added nRF51 to BLE 2024-03-05 15:01:05 +01:00