940 Commits

Author SHA1 Message Date
Ike
0396787e19
Replace SAADC input pins with correct mappings 2025-08-25 19:16:41 +04:00
nerwalt
a977b0a975 Use from_bits in LoopCnt 2025-08-14 10:33:14 -06:00
nerwalt
985cdba7b3 Enable temp support on the nrf54l15
Alphabetize ther peripherals in the pac
2025-08-12 09:56:50 -06:00
Dario Nieuwenhuis
3a6d927ed5
Merge branch 'main' into nrf54l15-wdt 2025-08-08 23:18:00 +02:00
nerwalt
1d08cde6e4 Fixes broken NS build 2025-08-08 11:03:36 -06:00
nerwalt
adc0fc0a97 Adds WDT support for the nrf54l15 2025-08-08 10:23:22 -06:00
nerwalt
a165339276 Adds RRAMC support for the nrf54l15
Adds an Nvmc driver alias for compatibility
2025-08-08 09:56:00 -06:00
Dario Nieuwenhuis
db5a7bacef
Merge pull request #4427 from clubby789/unsafe-op
HAL: Use `unsafe` block in IRQ handler
2025-07-23 14:40:19 +00:00
clubby789
2be8be0747 Use unsafe block in IRQ handlers 2025-07-20 20:25:26 +01:00
Nils Ponsard
3e2b23d2f4
feat(embassy-nrf): add uicr hfxo workaround
In the MDK, there is a workaround "UICR_HFXO_WORKAROUND"  that resests
the HFXO values if they are erased. This is necessary on my nrf9151 to
have the modem working properly.

I found this thanks to these two messages:
https://github.com/diondokter/nrf-modem/issues/32#issuecomment-2704598018
https://devzone.nordicsemi.com/f/nordic-q-a/96093/nrf9160-porting-the-modem-library-to-work-with-bare-metal-application/435351?focus=true

Signed-off-by: Nils Ponsard <nils.ponsard@inria.fr>
2025-07-18 18:02:11 +02:00
Dario Nieuwenhuis
f525386fca
Merge pull request #4397 from korbin/allocate-numbered-endpoints
Make USB endpoint allocator methods accept an optional `EndpointAddress`
2025-07-15 22:08:08 +00:00
Dario Nieuwenhuis
27f7cb6236 nrf: add support for nrf9120, nrf9151, nrf9161 approtect. 2025-07-15 16:47:01 +02:00
korbin
b666a88ab1
make usb endpoint allocator methods accept an optional EndpointAddress 2025-07-13 20:40:54 -06:00
Matthieu
7b7a62a0c2 Fixing the nrf54l drive configuration bug 2025-07-10 18:45:31 +02:00
Dario Nieuwenhuis
72248a601a Update Rust nightly, stable. 2025-07-04 00:23:22 +02:00
Juergen Fitschen
30e6d633d3 embassy-nrf: fix PWM loop count 2025-07-02 13:03:18 +02:00
Matthew Tran
2d1652c532 nrf: Enable TEMP driver for nrf5340-net 2025-05-22 23:53:18 -05:00
Dario Nieuwenhuis
0e47478f01 nrf/rng: add Blocking/Async Mode param.
This allows avoiding creating the irq handler if you're only going
to use it in blocking mode.
2025-05-21 12:39:52 +02:00
Dario Nieuwenhuis
e4fc487644 Add rand-core v0.9 support.
Co-Authored-By: Aurélien Jacobs <aurel@gnuage.org>
2025-05-18 20:35:36 +02:00
Ralph Ursprung
117eb45fa0
add the possibility to document bind_interrupts structs
the `bind_interrupts` macro creates a `struct` for the interrupts. it
was so far not possible to document those (except for STM32) and there
was no generic documentation being generated/added either, thus the
`missing_docs` lint was triggered for consumers which enabled it.

with this change it is now possible to manually add a comment on the
`struct` being defined in the macro invocation.

to show that this works one RP example has been modified accordingly.
2025-05-15 18:27:40 +02:00
Matthew Tran
ad091324a7 nrf: _3v3 -> _3V3 2025-05-14 22:26:55 -05:00
Matthew Tran
a0a339d01a nrf: Rework IPC module 2025-05-11 22:15:12 -05:00
Alessandro Gasbarroni
967a98fd44 nrf: Add IPC peripheral for nRF5340 2025-05-10 17:08:52 -05:00
Dario Nieuwenhuis
df84dfec7a Remove embassy_nrf:📻:ble.
Fixes #4144
2025-05-01 15:33:02 +02:00
Ulf Lilleengen
5f0196cb29
Merge pull request #4113 from alexmoon/twim-ram-buffer
Make the nrf Twim RAM buffer a instance variable instead of stack allocated
2025-04-30 11:40:40 +02:00
Alex Moon
fb7504c293
Add docs 2025-04-29 11:07:58 -04:00
Matthew Tran
c00e3f94f0 nrf: make wdt INDEX private 2025-04-21 10:43:02 -05:00
Matthew Tran
f535acfca0 nrf53: add WDT support 2025-04-20 20:23:26 -05:00
Alex Moon
77d355e0ec
Make the nrf Twim RAM buffer a instance variable instead of stack allocated 2025-04-18 15:14:18 -04:00
Michael Gomez
f1feedf190 BufferedUart initialization
This change modifies UART initialization throughout Embassy to take pins
before interrupts.

Related to #1304.
2025-04-04 21:54:36 -07:00
Dario Nieuwenhuis
d41eeeae79 Remove Peripheral trait, rename PeripheralRef->Peri. 2025-03-27 15:18:06 +01:00
drindr
816aa9a06c clean the SAADC's register while dropping 2025-03-23 00:01:01 +08:00
Dario Nieuwenhuis
765094887d
Merge pull request #3939 from 0e4ef622/nrf53-int-cap
nrf5340: add internal capacitor config
2025-03-02 21:34:50 +00:00
Matthew Tran
ec30e3ef91 nrf5340: add internal capacitor config 2025-03-02 00:06:41 -06:00
Matthew Tran
26c689db3e nrf5340: add regh_voltage config 2025-03-01 17:32:55 -06:00
Matthew Tran
def1cf58ab remove redundant cfg 2025-02-22 13:11:38 -06:00
Matthew Tran
1b4f788427 nrf5340: configure LFCLK 2025-02-22 00:02:43 -06:00
klownfish
640612a47f nrf52833: configure internal LDO 2025-01-28 22:27:18 +01:00
wackazong
4b0e20315b Add Clone to Pull 2025-01-14 10:20:39 +01:00
Dario Nieuwenhuis
cd70c19ab5
Merge pull request #3745 from dragonnn/nrf_twim
nrf twim return errors in async_wait instead of waiting indefinitely
2025-01-08 19:40:10 +01:00
dragonn
cd38669ac2 panic when events_error is set in twim without errorsrc 2025-01-08 19:08:58 +01:00
Dario Nieuwenhuis
07fe3415f5 nrf/gpio: fix missing setting input as disconnected. 2025-01-08 18:55:22 +01:00
dragonn
5102b50be7 remove self from check_errorsrc to make it work in async_wait 2025-01-08 14:55:37 +01:00
dragonn
0316ef86cb use check_errorsrc instead of matching again on errorsrc bits 2025-01-08 14:19:25 +01:00
dragonn
ec2ab822b8 nrf twim return errors in async_wait 2025-01-08 14:12:40 +01:00
Ulf Lilleengen
92d67c3ccd Relax timestamp check 2025-01-02 13:35:55 +01:00
Ulf Lilleengen
422938745a Move safeguard if compare irq is enabled 2025-01-02 12:53:55 +01:00
Ulf Lilleengen
06901c3279 Update comment to reflect reality 2025-01-02 12:03:03 +01:00
Ulf Lilleengen
9c7d508bcf Fix case where a short interrupt caused wrong alarm set 2025-01-02 11:59:57 +01:00
Ulf Lilleengen
e012e13858 Ensure alarm is re-scheduled if timetamp is in the past
Fixes #3672
2025-01-01 19:47:39 +01:00