Dario Nieuwenhuis
c9b9be5b81
hal-common: require DerefMut for peripherals, not just Deref.
...
Otherwise you can create multiple drivers on the same singleton like this:
```rust
let mut input = Input::new(&pin, Pull::None);
let mut output = Output::new(&pin, Level::Low, Speed::Low);
input.is_high();
output.set_high();
input.is_high();
output.set_high();
```
Thanks @pennae for reporting.
2023-07-02 22:16:01 +02:00
Dario Nieuwenhuis
ba43444292
Merge pull request #1601 from embassy-rs/net-release
...
Release embassy-net v0.1
2023-06-29 20:01:10 +02:00
Dario Nieuwenhuis
6eac49186d
Release embassy-net v0.1
2023-06-29 19:55:32 +02:00
Dario Nieuwenhuis
4feabb13bf
Merge pull request #1599 from ilikepi63/main
...
feature(1355): Add trigger to task, triggered + clear to Event
2023-06-29 15:53:11 +00:00
Cameron
3f19879f41
PR Fixes
2023-06-29 17:44:46 +02:00
Cameron
e90f47aba3
Fixed Pointer Updates
2023-06-29 17:37:51 +02:00
Cameron
2aa2b843ce
feature(1355): Add trigger to task, triggered + clear to Event
2023-06-29 17:11:36 +02:00
Ulf Lilleengen
fa2cda81db
Merge pull request #1598 from kaspar030/patch-1
...
embassy-boot/nrf/README.md: typo fix
2023-06-29 12:57:55 +00:00
Kaspar Schleiser
837d3bcdbb
embassy-boot/nrf/README.md: typo fix
2023-06-29 14:43:31 +02:00
Dario Nieuwenhuis
9f50f34547
Merge pull request #1597 from embassy-rs/usb-missing-reexports
...
usb: add missing builder reexports.
2023-06-29 10:24:25 +00:00
Dario Nieuwenhuis
f0b17675d8
usb: add missing builder reexports.
...
Fixes #1176
cc #1596
2023-06-29 12:20:51 +02:00
Dario Nieuwenhuis
6eb46c419c
Merge pull request #1565 from JuliDi/main
...
Implement DMA for DAC on STM32
2023-06-29 08:54:28 +00:00
Julian
96f1525ffe
Revert changes to dma.rs
2023-06-29 09:20:25 +02:00
Dario Nieuwenhuis
01101e3df0
Update readme
2023-06-29 03:11:22 +02:00
Dario Nieuwenhuis
b95e5a4ea6
Merge pull request #1595 from embassy-rs/probe-rs
...
Update probe-rs-cli -> probe-rs
2023-06-29 00:43:44 +00:00
Dario Nieuwenhuis
f7ec579c18
Update probe-rs-cli -> probe-rs
2023-06-29 02:39:28 +02:00
Dario Nieuwenhuis
4f0aca481f
Merge pull request #1594 from embassy-rs/update-rp-pac
...
Update rp-pac.
2023-06-29 00:15:13 +00:00
Dario Nieuwenhuis
ce889900d6
Update rp-pac.
2023-06-29 02:09:51 +02:00
Dario Nieuwenhuis
8a0a7c81b6
Merge pull request #1593 from embassy-rs/metapac-update
...
Update stm32-metapac, includes chiptool changes to use real Rust enums.
2023-06-29 00:06:44 +00:00
Dario Nieuwenhuis
e892014b65
Update stm32-metapac, includes chiptool changes to use real Rust enums now.
2023-06-29 02:01:33 +02:00
Dario Nieuwenhuis
8cbe5b8e20
Merge pull request #1592 from kevswims/feature/stm32g4-usb-crs
...
WIP: Working CRS USB Example
2023-06-28 22:55:11 +00:00
Kevin Lannen
5666c56903
STM32G4: Add CRS support to RCC
...
Create working CRS USB Example
2023-06-28 16:53:16 -06:00
JuliDi
d5898c11eb
remove need for StaticCell in dac_dma example for stm32l4
2023-06-28 16:40:50 +02:00
JuliDi
daedfbbd87
add dma is_running change doc
2023-06-28 15:39:36 +02:00
JuliDi
bf7e24e9d7
revert to STM32L4S5VI
2023-06-28 15:37:29 +02:00
JuliDi
02f367f733
attempt at fixing ci
2023-06-28 15:28:10 +02:00
JuliDi
f2e7a23148
attempt at fixing ci
2023-06-28 15:25:57 +02:00
JuliDi
27a89019ad
add doc
2023-06-28 15:21:24 +02:00
Dario Nieuwenhuis
2eb7a67c70
Merge pull request #1591 from bugadani/patch-1
...
Make StackResources::new() const
2023-06-28 13:16:27 +00:00
Dániel Buga
59f829c6cc
Make StackResources::new() const
2023-06-28 15:03:57 +02:00
JuliDi
91c31d5e43
Update DAC examples, add DAC + DMA example
2023-06-28 11:58:25 +02:00
Dario Nieuwenhuis
9b5d7ec061
Merge pull request #1589 from embassy-rs/otg-fixes
...
stm32/otg: implement VBUS detection, misc fixes so plug/unplug works.
2023-06-27 22:39:00 +00:00
Dario Nieuwenhuis
ed493be869
stm32: update metapac, includes fix for OTG with 9 endpoints (H7)
2023-06-27 23:58:32 +02:00
Dario Nieuwenhuis
f5ca687e9b
sync/pipe: fix doc typos.
2023-06-27 23:49:12 +02:00
JuliDi
9c81d63155
fix warnings
2023-06-27 22:33:17 +02:00
JuliDi
60c54107ce
fix sdmmc bdma transferconfig fields
2023-06-27 21:58:56 +02:00
JuliDi
56dd22f0ac
feature-gate set_channel_mode, undo dma.rs changes
2023-06-27 21:23:47 +02:00
JuliDi
afec1b439b
feature-gate dma write, make trigger not return a result
2023-06-27 18:17:51 +02:00
Dario Nieuwenhuis
219ef5b37a
stm32/otg: add VBUS detection.
...
Fixes #1442 .
2023-06-27 12:52:37 +02:00
Dario Nieuwenhuis
a2d1e7f02c
rp/usb: add TODO: implement VBUS detection.
2023-06-27 04:29:01 +02:00
Dario Nieuwenhuis
5e6e18b310
stm32/usb: add TODO: implement VBUS detection.
2023-06-27 04:29:01 +02:00
Dario Nieuwenhuis
80407aa930
stm32/otg: set tx fifo num in IN endpoints on configure.
2023-06-27 02:12:33 +02:00
Dario Nieuwenhuis
a575e40a35
stm32/otg: clear NAK bit on endpoint enable.
2023-06-27 02:12:06 +02:00
Dario Nieuwenhuis
28fb492c40
stm32/otg: flush fifos on reconfigure and on ep disable.
2023-06-27 00:42:24 +02:00
Dario Nieuwenhuis
45561f1622
Merge pull request #1587 from embassy-rs/update-smoltcp2
...
Update smoltcp to 0.10
2023-06-26 18:28:38 +00:00
Dario Nieuwenhuis
715bf20c41
Update smoltcp to 0.10
2023-06-26 20:13:55 +02:00
Dario Nieuwenhuis
ac2b7928c5
Merge pull request #1585 from embassy-rs/update-smoltcp2
...
Update smoltcp.
2023-06-26 09:51:28 +00:00
Dario Nieuwenhuis
64cba950e5
Update smoltcp.
2023-06-26 11:43:28 +02:00
JuliDi
e7bc84dda8
fix issues when DAC2 present, add additional options to DMA (NOT YET WORKING with STM32H7A3ZI)
2023-06-26 09:42:25 +02:00
Dario Nieuwenhuis
d8c70c5c3e
Merge pull request #1583 from bugadani/const
...
Allow path expressions as `task(pool_size)`
2023-06-25 21:17:56 +00:00