Dario Nieuwenhuis
065b0f34af
net-esp-hosted: sane error handling in control requests.
2023-08-17 01:03:12 +02:00
Dario Nieuwenhuis
f26dd54f63
Update embedded-hal to 1.0.0-rc.1 ( #1783 )
2023-08-16 00:40:56 +02:00
Dario Nieuwenhuis
4af1cf88d2
net-enc28j60: add example.
2023-08-15 14:09:36 +02:00
Dario Nieuwenhuis
5d5cd23715
Update to embedded-io 0.5 ( #1752 )
2023-08-07 13:43:09 +02:00
Quentin Smith
2c01f277c2
cargo fmt
2023-07-18 17:17:04 -04:00
Quentin Smith
6f02403184
Merge remote-tracking branch 'origin/main' into nrf-pdm
2023-07-17 21:31:43 -04:00
Dario Nieuwenhuis
a42ac86f1b
Remove wifi envvars. They're annoying, they cause rust-analyzer errors when opening the examples.
2023-07-05 19:20:49 +02:00
Dario Nieuwenhuis
a101d9078d
update embedded-hal crates.
2023-07-04 19:59:36 +02:00
Dario Nieuwenhuis
f7ec579c18
Update probe-rs-cli -> probe-rs
2023-06-29 02:39:28 +02:00
Dániel Buga
12872ce49b
Modify an example
2023-06-25 23:10:59 +02:00
Dario Nieuwenhuis
8bbfa6827c
esp-hosted: add perf hil test.
2023-06-22 21:12:24 +02:00
Dario Nieuwenhuis
1ed909ea74
esp-hosted: fix warnings.
2023-06-22 21:12:10 +02:00
Dario Nieuwenhuis
764b43e82c
esp-hosted: wait for esp firmware init.
2023-06-22 21:12:10 +02:00
Dario Nieuwenhuis
6c123596b7
wip: esp-hosted net driver.
2023-06-22 21:12:10 +02:00
Dario Nieuwenhuis
6653f262d7
examples: use nicer InterrupExt to set irq priority in multprio.
2023-06-09 16:46:57 +02:00
Dario Nieuwenhuis
dc8e34420f
Remove executor dep+reexports from HALs.
...
Closes #1547
2023-06-09 16:29:45 +02:00
Ruben De Smet
352f0b6c38
net: Support dual stack IP
2023-06-07 13:18:19 +02:00
Ruben De Smet
54bab33c73
Rename StaticConfig to StaticConfigV4
2023-06-06 17:04:21 +02:00
Dario Nieuwenhuis
1d8321b821
Use make_static! from static-cell v1.1
2023-06-01 01:42:34 +02:00
Dario Nieuwenhuis
26d7610554
net: do not use smoltcp Instant/Duration in public API.
2023-05-15 00:53:30 +02:00
Dirk Stolle
0584312ef0
Fix some typos
2023-05-08 23:25:01 +02:00
Chuck Davis
18af9f304a
Merge branch 'embassy-rs:master' into master
2023-04-26 12:26:19 -05:00
Dario Nieuwenhuis
054ca17f66
Switch from probe-run to probe-rs-cli.
...
- probe-run screwed up the last release 2 weeks ago and it's still not fixed (issue 391). Doesn't look well maintained.
- Even when it's not broken, it lags behind probe-rs-cli in new chips support because it's slow in updating probe-rs.
2023-04-26 17:00:51 +02:00
ceekdee
73f25093c7
Add lora-phy examples.
2023-04-23 18:32:34 -05:00
ceekdee
02c86bca52
Add external LoRa physical layer functionality.
2023-04-21 01:20:46 -05:00
Dario Nieuwenhuis
5249996d28
nrf/usb: switch to new interrupt binding, fix vbus detect on nrf53.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
5913553cb1
nrf/twis: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
36319fc121
nrf/temp: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
9e58d9274c
nrf/twim: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
9f5762d365
nrf/spis: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
a32e82029a
nrf/spim: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
2dc5608203
nrf/saadc: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
d113fcfe32
nrf/rng: make available on all chips, use Instance trait, switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
96788ac93a
nrf/qspi: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
c66b28e759
nrf/qdec: make available on all chips, use Instance trait, switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
f8f1d3bcf0
nrf/pdm: make available on all chips, use Instance trait, switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
34563b74aa
nrf/i2s: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
63b75eaf64
nrf/timer: remove awaitable.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
9cf000ef4e
nrf/uart: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
bf013be9ba
Merge pull request #1232 from embassy-rs/nrf-qspi-fixes
...
nrf/qspi: nrf53 support, u32 addrs, remove const generic, add raw read/write.
2023-03-05 03:19:11 +01:00
Dario Nieuwenhuis
f7dfc49c5c
nrf/qspi: add _raw variants of methods that don't do bounds checks.
...
Useful for the nRF7002, which presents as a "fake" QSPI flash, and
the "capacity" concept doesn't really apply to it.
2023-03-05 02:55:00 +01:00
Dario Nieuwenhuis
8eb8ea6174
nrf/qspi: remove FLASH_SIZE const generic param.
2023-03-05 02:33:02 +01:00
Dario Nieuwenhuis
75f69803af
nrf/qspi: always use u32 for addresses.
2023-03-05 02:30:53 +01:00
Dario Nieuwenhuis
916f94b366
nrf/buffered_uarte: make available on stable.
2023-03-04 15:12:49 +01:00
Dario Nieuwenhuis
ccc224c81f
nrf/buffered_uarte: remove PeripheralMutex, make it work without rts/cts.
...
> dirbaio: so I was checking how zephyr does UARTE RX on nRF
> dirbaio: because currently we have the ugly "restart DMA on line idle to flush it" hack
> dirbaio: because according to the docs "For each byte received over the RXD line, an RXDRDY event will be generated. This event is likely to occur before the corresponding data has been transferred to Data RAM."
> dirbaio: so as I understood it, the only way to guarantee the data is actually transferred to RAM is to stop+restart DMA
> dirbaio: well, guess what?
> dirbaio: they just count RXDRDY's, and process that amount of data without restarting DMA
> dirbaio: with a timer configured as counter https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/serial/uart_nrfx_uarte.c#L650-L692
> dirbaio: 🤔 🤷 ⁉️
> dirbaio: someone saying you can do the "hook up rxdrdy to a counter" trick, someone else saying it's wrong 🤪 https://devzone.nordicsemi.com/f/nordic-q-a/28420/uarte-in-circular-mode
So we're going to do just that!
- BufferedUarte is lock-free now. No PeripheralMutex.
- The "restart DMA on line idle to flush it" hack is GONE. This means
- It'll work correctly without RTS/CTS now.
- It'll have better throughput when using RTS/CTS.
2023-03-04 15:12:49 +01:00
Dario Nieuwenhuis
c4f4aa10f9
Merge pull request #1244 from embassy-rs/interruptexecutor
...
cortex-m/executor: don't use the owned interrupts system.
2023-03-01 22:38:27 +01:00
Dario Nieuwenhuis
6dbb631f1e
Example fixes.
2023-03-01 01:32:42 +01:00
Dario Nieuwenhuis
4dfa32b1e0
cortex-m/executor: don't use the owned interrupts system.
...
Preparation for #1224 .
2023-02-28 23:07:20 +01:00
Dario Nieuwenhuis
76642b3a3c
fix h7 examples
2023-02-10 23:35:44 +01:00
Dario Nieuwenhuis
86487db5d1
usb: use InterfaceNumber in msos.
2023-02-08 00:30:53 +01:00