Ulf Lilleengen
0b8a8e54dc
expose enabling and disabling irq for triggers
2024-07-01 10:26:45 +02: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
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
Priit Laes
fcb270bced
nrf: Add basic CHANGELOG summarizing changes in embassy-nrf
2024-04-10 11:02:35 +03: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
Erik Bånvik
5b5d54c0c7
Do not build radio for nrf5340-app
2024-03-05 11:58:32 +01:00
Erik Bånvik
5408f21e99
Fixed nrf51 radio build
2024-03-05 11:47:06 +01:00
Erik Bånvik
bc258b322b
Support nearly all nRF5 RADIOs
2024-03-05 11:39:15 +01:00
Erik Bånvik
84935fbfab
More formatting
2024-03-05 01:06:04 +01:00
Erik Bånvik
c00f014f18
Some more unifying, documentation
2024-03-05 01:03:10 +01:00
Erik Bånvik
0c4c996339
Fixed formatting
2024-03-03 02:16:20 +01:00
Erik Bånvik
047b20cee4
Export Error in BLE module
2024-03-03 01:12:08 +01:00
Erik Bånvik
8eac5d07f6
Remove Event, which was mostly used for debugging
2024-02-29 09:50:28 +01:00
Erik Bånvik
f0753998bc
Clear all interrupts
2024-02-29 02:02:01 +01:00
Erik Bånvik
35febae570
Fixed missing nrf52840 in Event
2024-02-29 01:31:07 +01:00
Erik Bånvik
4294bc5e4b
Added IEEE 802.15.4 radio
2024-02-28 22:36:31 +01:00
Ulf Lilleengen
b806800f23
Merge pull request #2351 from jewel-rs/feat/radio
...
[embassry_nrf]: add BLE Radio driver
2024-02-28 14:40:18 +00:00
Guilherme S. Salustiano
368b3a9aaf
fix: radio error
2024-02-28 14:54:54 +01:00
Dario Nieuwenhuis
140848c503
Merge pull request #2630 from plaes/nrf-spim-reduce-spam
...
nrf: spim: Hide the "Copying SPIM tx buffer into RAM for DMA" traces
2024-02-27 11:34:35 +00:00
Priit Laes
137855418a
nrf: Bump embedded-storage-async to 0.4.1
2024-02-27 10:40:10 +02:00
Priit Laes
0bcbca9e5b
nrf: spim: Hide the "Copying SPIM tx buffer into RAM for DMA" traces
...
Now that SPIM driver seems to be properly working, hide the trace logs
which occur whenever tx buffer needs to be copied into RAM.
2024-02-27 10:37:45 +02:00
Dario Nieuwenhuis
6a977d2ae9
nrf/uarte: prevent accidentally driving tx pin on rxonly uart if it was left in PSEL.
2024-02-22 00:07:09 +01:00
Dario Nieuwenhuis
2feed96c91
nrf/uart: Add support for rx-only or tx-only BufferedUart.
2024-02-21 23:23:04 +01:00
Dario Nieuwenhuis
4fbe18f821
nrf/uart: share waker state between buffered and nonbuffered.
2024-02-21 22:29:37 +01:00
Dario Nieuwenhuis
1f17fdf84e
nrf/buffered_uart: refactor so rx/tx halves are independent.
2024-02-21 22:13:35 +01:00
Dario Nieuwenhuis
c2e429205d
nrf/uart: add split_by_ref.
2024-02-21 21:48:48 +01:00
Dario Nieuwenhuis
111306ac0c
nrf/buffered_uart: simplify split lifetimes.
2024-02-21 19:09:58 +01:00
Dario Nieuwenhuis
280f60654b
Merge pull request #2596 from NBonaparte/nrf-spi-drive
...
feat(nrf/spim): allow specifying drive of SPI pins
2024-02-20 13:48:50 +00:00
NBonaparte
ba2b4aad81
fix(nrf/spim): use OutputDrive
to set pin drives
2024-02-19 17:46:25 -08:00
NBonaparte
6ecac3bc95
feat(nrf/spim): allow specifying drive of SPI pins
2024-02-18 19:37:35 -08:00
Priit Laes
8507b0ad30
nrf: Remove useless lifetimes
2024-02-17 13:30:19 +02:00
Priit Laes
7f2f701c87
nrf: Remove useless returns
2024-02-17 13:30:19 +02:00
Priit Laes
580ab48451
nrf: More nits cleaned up - useless cast and struct item
2024-02-17 13:30:19 +02:00
Priit Laes
a8710e943d
nrf: Drop needless let
2024-02-17 13:30:19 +02:00
Priit Laes
bb2fb59a87
nrf: Remove useless borrows
2024-02-17 13:30:19 +02:00