Dario Nieuwenhuis
9f6517e408
stm32,nrf: add warning on docs.rs directing the user to docs.embassy.dev.
2024-01-11 23:43:17 +01:00
Dario Nieuwenhuis
15f94fb0fc
time: split driver into a separate embassy-time-driver crate.
2024-01-11 16:56:08 +01:00
Dario Nieuwenhuis
495b8b739a
Change GPIO inherent methods back to &self
.
...
With the embedded-hal rc3 update I changed them to require `&mut self`, but
in retrospect I think `&self` is better, for extra flexibility.
This PR reverts the changes from the rc3 update to inherent methods.
2024-01-10 00:00:10 +01:00
ftilde
eb70d744a9
Expose rx_delay in nrf qspi config
2024-01-05 20:12:28 +01:00
swanandx
bdaf722cb8
fix: check if sck is some before setting high or low
2024-01-03 19:35:30 +05:30
swanandx
046af81a10
fix: info_ref! can't be called on Option
2024-01-03 19:33:43 +05:30
swanandx
8352d13cfd
feat: new_txonly_nosck in spim
2024-01-03 19:25:39 +05:30
swanandx
face031245
feat: new_txonly_nosck in spis
2024-01-03 19:22:01 +05:30
Ulf Lilleengen
c924f89ead
fix: add missing impl block for async qspi multiwrite
2024-01-03 13:08:53 +01:00
ftilde
3916b26b25
Reset rx_started state of nrf buffered_uarte on init
...
This was likely forgotten as part of c46418f12
. Without this, when
creating a uarte instance, dropping it and then creating another
instance, this instance would never receive any bytes.
2023-12-29 12:27:52 +01:00
Dario Nieuwenhuis
7fa954c027
nrf/gpio: add toggle.
2023-12-26 17:35:49 +01:00
Barnaby Walters
05c8d410a2
[embassy-nrf] auto-documented features
2023-12-22 23:37:29 +01:00
Dario Nieuwenhuis
49534cd405
stm32: more docs.
2023-12-19 00:10:36 +01:00
Ulf Lilleengen
2a542bc143
feat: support multiwrite flash traits if configured
2023-12-18 13:58:12 +01:00
Dario Nieuwenhuis
80c9d04bbd
stm32: add some docs.
2023-12-18 00:53:18 +01:00
Dario Nieuwenhuis
d81395fab3
Update embedded-hal to 1.0.0-rc.3
2023-12-14 16:19:32 +01:00
Dario Nieuwenhuis
6c746dcf39
Document how to bind multiple interrupts and handlers in bind_interrupts!
.
2023-12-08 21:26:28 +01:00
Peter Hansen
9fb2eb7470
nrf52/qspi: avoid infinite busy-wait on QSPI read/write with zero-len buffer, fixes #2115
2023-12-03 16:35:39 -05:00
Peter Hansen
dd62bb16e5
minimum build code for new APPROTECT is chip type-specific
2023-12-03 13:47:26 -05:00
Dario Nieuwenhuis
c6989dfbca
Remove nightly and unstable-traits features in preparation for 1.75.
2023-11-29 17:26:33 +01:00
Dario Nieuwenhuis
c46418f123
nrf/buffered_uarte: fix hang when buffer full due to PPI missing the endrx event.
...
Fixes #2181
2023-11-14 00:22:17 +01:00
Dario Nieuwenhuis
19ff043acd
nrf/buffered_uarte: fix missing hwfc enable.
2023-11-13 22:37:13 +01:00
Dario Nieuwenhuis
2795e1350d
Merge pull request #2128 from bugadani/poll
...
Drop `futures` dependency in `embassy-nrf`
2023-10-31 15:53:54 +00:00
Dániel Buga
aed3e5674f
Drop futures dependency in embassy-nrf
2023-10-31 10:13:27 +01:00
Dániel Buga
ad07ea0290
Re-add impl_trait_projections
2023-10-30 19:10:45 +01:00
Dario Nieuwenhuis
ea0e83a7f9
nrf/pac: reeport s and ns peripherals always independently of the current mode.
...
You sometimes need this, for example for using nrf91 modem from S mode
you need to acces IPC_NS.
2023-10-16 19:38:53 +02:00
Dario Nieuwenhuis
eb12114345
Remove impl_trait_projections.
2023-10-02 14:00:49 +02:00
xoviat
d2a2734752
nrf, rp: update set_config
2023-10-01 09:37:42 -05:00
Dario Nieuwenhuis
bd9021ca1d
Make irq token Copy+Clone
2023-09-25 22:35:31 +02:00
Priit Laes
6f83acc010
Add separate work-around specific flag for DMA errata on NRF52832
2023-09-22 17:02:21 +02:00
Nils Fitinghoff
2b7b7a917d
spim: Fix SPIM with polling executors
...
Co-authored-by: Priit Laes <plaes@plaes.org>
2023-09-22 17:02:21 +02:00
Dion Dokter
e8b961232b
Fix gpiote when waking up from systemoff
2023-09-14 17:24:28 +02:00
Priit Laes
521970535e
nrf: twim: Use SetConfig trait to reduce code duplication
2023-09-10 23:17:30 +02:00
Priit Laes
93d4cfe7c1
nrf: spis: Use SetConfig trait internally to reduce duplication
2023-09-10 23:17:30 +02:00
Priit Laes
8413a89752
nrf: spim: Use SetConfig trait internally to reduce duplication
2023-09-10 23:17:30 +02:00
Priit Laes
db717d9c81
nrf: Remove unneeded include from Temp's example
...
Fixes doctest when `time` feature is not enabled.
2023-09-10 23:17:30 +02:00
Priit Laes
9de08d56a0
nrf: spim: Anomaly 109 workaround for SPIM peripheral ( #460 )
...
This implements SPIM TX workaround suggested from section 3.8.1
from Anomaly 109 addendum.
In workaround case we first keep track of original maxcnt values,
then initiate "fake" transfer with zero-length maxcnt values.
Once the "fake" transfer is triggered, we handle it, fill in the
original maxcnt values and restart the transmission.
2023-09-07 18:58:22 +03:00
Dario Nieuwenhuis
5e613d9abb
Sync all fmt.rs files.
2023-08-30 01:37:18 +02:00
Dario Nieuwenhuis
f26dd54f63
Update embedded-hal to 1.0.0-rc.1 ( #1783 )
2023-08-16 00:40:56 +02:00
Ulf Lilleengen
7d8e3951ba
fix: ensure spi irq is disabled when dropped
2023-08-10 22:26:56 +02:00
Dario Nieuwenhuis
5d5cd23715
Update to embedded-io 0.5 ( #1752 )
2023-08-07 13:43:09 +02:00
Dario Nieuwenhuis
036e6ae30c
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. ( #1700 )
2023-07-28 13:23:22 +02:00
Quentin Smith
7555a1e302
cargo fmt
2023-07-18 18:32:19 -04:00
Quentin Smith
be7fbe50d7
Update pdm driver to build with all the PACs
2023-07-18 18:31:32 -04:00
Quentin Smith
2c01f277c2
cargo fmt
2023-07-18 17:17:04 -04:00
Quentin Smith
c333d855fc
Remove merge error
2023-07-18 17:14:25 -04:00
Quentin Smith
6f02403184
Merge remote-tracking branch 'origin/main' into nrf-pdm
2023-07-17 21:31:43 -04:00
Dario Nieuwenhuis
8313b7315a
Merge pull request #1600 from ilikepi63/main
...
feature(1354): Added lifetimes to Event + Tasks
2023-07-05 17:13:26 +00:00
Cameron Harris
d7ecf6f593
Update embassy-nrf/src/ppi/mod.rs
...
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-07-05 19:10:43 +02:00
Cameron Harris
082147939d
Update embassy-nrf/src/ppi/ppi.rs
...
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-07-05 19:10:30 +02:00