Rasmus Melchior Jacobsen
472df3fad6
fix(pubsub): Pop messages which count is 0 after unsubscribe
2023-03-15 16:45:18 +01:00
bors[bot]
2c9f289f40
Merge #1281
...
1281: Wait for waker when no data is available on UDP socket. r=Dirbaio a=royb3
Co-authored-by: Roy Buitenhuis <roy.buitenhuis@technolution.nl>
2023-03-15 12:59:11 +00:00
Roy Buitenhuis
46b437dea0
Wait for waker when no data is available on UDP socket.
2023-03-15 13:56:40 +01:00
bors[bot]
e9a161b462
Merge #1279
...
1279: stm32: remove unused embedded-storage-async. r=Dirbaio a=Dirbaio
bors r+
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-03-14 16:28:47 +00:00
Dario Nieuwenhuis
43462947ed
stm32: remove unused embedded-storage-async.
2023-03-14 17:27:40 +01:00
bors[bot]
e73c6c9d90
Merge #1277
...
1277: (embassy-rp): Allow upgrading a blocking uart to a BufferedUart r=MathiasKoch a=MathiasKoch
Also implement blocking embedded-nal serial traits for BufferedUart
Co-authored-by: Mathias <mk@blackbird.online>
2023-03-14 12:08:51 +00:00
Mathias
89a371d10c
Add HIL test for into_buffered uart on embassy-rp
2023-03-14 12:46:58 +01:00
Mathias
bce1ce7dcb
Allow upgrading a blocking uart to a BufferedUart, and implement blocking serial traits for BufferedUart
2023-03-14 10:36:30 +01:00
bors[bot]
055597063f
Merge #1270
...
1270: time: add power-of-2 kHz tick rates. r=Dirbaio a=Dirbaio
Fixes #1269
bors r+
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-03-09 22:32:51 +00:00
Dario Nieuwenhuis
79061021f9
time: add power-of-2 kHz tick rates.
...
Fixes #1269
2023-03-09 23:32:00 +01:00
bors[bot]
c9d89f391b
Merge #1264
...
1264: Add multicast to udp socket r=Dirbaio a=28Smiles
This should make it possible to implement mDNS for embassy-net, which in turn is essential for smart home
Co-authored-by: Leon Camus <leon.c@gmx.de>
Co-authored-by: 28Smiles <Leon.c@gmx.de>
2023-03-08 12:16:23 +00:00
Leon Camus
e484cb1b87
refactor: Multicast method modifiers on stack to public
...
revert: udp.rs
2023-03-08 12:37:00 +01:00
bors[bot]
8fd30e407c
Merge #1267
...
1267: macros: better validation of function signatures. r=Dirbaio a=Dirbaio
Fixes #1266
bors r+
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-03-08 08:17:44 +00:00
Dario Nieuwenhuis
b2c6dc45e3
Fix examples broken by the macro fix.
2023-03-08 09:17:01 +01:00
bors[bot]
969e85150c
Merge #1262
...
1262: bump embedded-storage-async to 0.4 r=Dirbaio a=mehmetalianil
I just haven't found a way to revert the altered stm-metapac contents due to building.
Co-authored-by: Mehmet Ali Anil <mehmet@grusbv.com>
2023-03-08 01:26:45 +00:00
Dario Nieuwenhuis
e7a19a9725
macros/main: copy fn return to task.
...
This prevents this bad code from compiling.
```rust
async fn main(_spawner: Spawner) -> ! {
// not really noreturn!
}
```
2023-03-08 02:03:39 +01:00
Dario Nieuwenhuis
a614e697d0
macros: better validation of function signatures.
...
Fixes #1266
2023-03-08 01:59:06 +01:00
Leon Camus
993875e11f
fix: Add qualified imports
2023-03-07 23:52:25 +01:00
Leon Camus
2087561003
lint: Remove unused imports
2023-03-07 23:51:10 +01:00
Leon Camus
b62e3e1d47
lint: Cargo fmt
2023-03-07 23:40:31 +01:00
28Smiles
468c4266c8
Merge branch 'embassy-rs:master' into master
2023-03-07 23:39:16 +01:00
Mehmet Ali Anil
18646c579c
Merge branch 'emb-storage-async-0p4' of https://github.com/Grus-BV/embassy into emb-storage-async-0p4
2023-03-07 23:36:41 +01:00
Mehmet Ali Anil
b1bc034a7e
Merge branch 'emb-storage-async-0p4' of https://github.com/Grus-BV/embassy into emb-storage-async-0p4
2023-03-07 23:35:56 +01:00
Mehmet Ali Anil
fded9fa52a
Merge branch 'emb-storage-async-0p4' of https://github.com/Grus-BV/embassy into emb-storage-async-0p4
2023-03-07 23:21:39 +01:00
Mehmet Ali Anil
6bf8d090a1
Merge branch 'emb-storage-async-0p4' of https://github.com/Grus-BV/embassy into emb-storage-async-0p4
2023-03-07 23:21:19 +01:00
Mehmet Ali Anil
4054fb8779
Merge branch 'emb-storage-async-0p4' of https://github.com/Grus-BV/embassy into emb-storage-async-0p4
2023-03-07 23:17:28 +01:00
Mehmet Ali Anil
935633c90b
Merge upstream
2023-03-07 23:16:54 +01:00
bors[bot]
bd4c4209af
Merge #1265
...
1265: nrf/uicr: only check lowest bit. r=Dirbaio a=Dirbaio
This mirrors what nrfx does. Also it won't reboot/warn if NFCPINS is set to either 0xFFFF_FFFE or 0x0000_0000, which are all valid.
bors r+
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-03-07 14:30:22 +00:00
Dario Nieuwenhuis
27e989afa9
nrf/uicr: only check lowest bit.
...
This mirrors what nrfx does. Also it won't reboot/warn if NFCPINS is set to either
0xFFFF_FFFE or 0x0000_0000, which are all valid.
2023-03-07 15:28:27 +01:00
Mehmet Ali Anil
b0e26440ee
Merge upstream
2023-03-07 10:47:56 +01:00
Mehmet Ali Anil
bc0cb43307
Bump embedded-storage-async to 0.4
2023-03-06 22:16:36 +01:00
Leon Camus
c22218c72e
feat: Add multicast to udp socket
2023-03-06 18:43:37 +01:00
Dario Nieuwenhuis
18fe398673
Merge pull request #1224 from embassy-rs/interrupt-binding
...
nrf: new interrupt binding traits/macro
2023-03-06 00:41:47 +01:00
Dario Nieuwenhuis
f5e09a8f4a
nrf/interrupt: do not reexport take!
macro.
2023-03-06 00:17:51 +01: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
42c13c8c3d
nrf: add new interrupt binding traits and macro.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
a054891263
cortex-m: rename Handler to DynHandler.
...
I want to use the name Handler for the new interrupt binding macro.
2023-03-06 00:17:51 +01:00