Commit Graph

944 Commits

Author SHA1 Message Date
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
nerwalt
b7dc4c7b6f Fixes build issues related to nrf9120 features 2024-08-12 06:23:32 -06: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
Priit Laes
31ac31f3f3 nrf: Rearrange CHANGELOG by features for better overview 2024-08-05 10:37:12 +03:00
Ulf Lilleengen
886580179f update dates 2024-08-05 08:58:56 +02:00
Ulf Lilleengen
2f3b3335e1 Prepare for embassy-nrf release 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
44282b18fa Prepare embassy-time release 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
fb0ab1e42a Prepare release of embassy-hal-internal 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
5767c003cc Prepare release of embassy-embedded-hal 0.2.0 2024-08-05 08:56:29 +02: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
nerwalt
639acdd2a3 Using published nrf9120-pac 2024-07-15 09:23:16 -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
nerwalt
e9bbfb349c Clean up 2024-07-01 10:02:03 -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
nerwalt
8a6b71b0bb Adding initial support for nrf9151 s and ns
Adding s and ns examples, including a reference TFM
2024-06-27 14:07:26 -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
Ulf Lilleengen
30918c355b prepare for embassy-time 0.3.1 release 2024-06-04 09:02:41 +02:00
Jan Špaček
368893c9cb Emit cargo:rustc-check-cfg instructions from build.rs 2024-05-30 18:28:29 +02:00
Ulf Lilleengen
cf0d227cca Prepare for embassy-sync 0.6.0 release 2024-05-29 12:09:55 +02:00
Cyril Marpaud
ede07883fe
fix: typo 2024-04-27 16:39:21 +02:00