Commit Graph

4815 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
9082e5f6c5
Merge pull request #389 from adamgreig/stm32h7-eth-fix
STM32H7: Ethernet: Disable RA in MAC filtering, fix order of MACA0 register writes
2021-09-07 11:12:46 +02:00
Adam Greig
14fa6c2760
STM32H7: Ethernet: Disable RA in MAC filtering, fix order of MACA0 register writes. 2021-09-06 23:16:43 +01:00
Dario Nieuwenhuis
2928b99218
Merge pull request #388 from bobmcwhirter/ethfix
Don't set SAF=true, do set RA=true for Ethernet.
2021-09-06 20:27:37 +02:00
Bob McWhirter
d4bf78a0c1 Don't set SAF=true, do set RA=true for Ethernet.
Source-Address-Filtering is not helping the board to receive packets.
For unknown reasons, the Receive-All is required, when in theory
it should not be required. Until we figure it out, follow the
stm32h7xx-hal example of setting RA=true.
2021-09-06 14:21:26 -04:00
Dario Nieuwenhuis
eff8ae9c4d
Merge pull request #381 from lulf/stm32wl55-subghz
Add HAL for SubGhz peripheral for STM32 WL series
2021-09-06 00:58:42 +02:00
Côme ALLART
addee8778d refactor(gen-features): use Rust instead of Python
Added support for /stm32-metapac
2021-09-05 20:19:13 +02:00
Dario Nieuwenhuis
12894b3c7a
Merge pull request #387 from embassy-rs/remove-features
Remove trait_alias, allow(incomplete_features).
2021-09-03 17:33:27 +02:00
Dario Nieuwenhuis
a76526add6 rp: remove use of never type 2021-09-03 17:17:02 +02:00
Dario Nieuwenhuis
11d2b0cdc1 Remove more unused features. 2021-09-03 17:13:54 +02:00
Dario Nieuwenhuis
de016e8456 Remove trait_alias, allow(incomplete_features).
trait_alias seems unused. no idea why it's there.
2021-09-03 17:00:58 +02:00
Dario Nieuwenhuis
65bceafa68
Merge pull request #386 from lulf/fix-std-macros
Fix embassy::main macros for std target
2021-09-02 14:50:35 +02:00
Ulf Lilleengen
5f04d6e6c5 Fix embassy::main macros for std target 2021-09-02 14:45:54 +02:00
Dario Nieuwenhuis
a3beb1ca3d
Merge pull request #385 from embassy-rs/remove-embassy-std
Remove embassy-std crate.
2021-09-02 14:38:32 +02:00
Dario Nieuwenhuis
ead6239435 Remove embassy-std crate.
All std features are in the core `embassy` crate.
2021-09-02 14:32:53 +02:00
Dario Nieuwenhuis
d0c8749399
Merge pull request #382 from fnafnio/typestate_nrf_timer
Typestate nrf timer
2021-09-02 13:39:55 +02:00
f_punk
34c66fa78d removed type aliases
NotAwaitable as default generic param
added awaitable_timer example
2021-09-02 12:02:31 +02:00
Ulf Lilleengen
0f3d278ce3 Temporarily comment unused code 2021-09-02 11:31:38 +02:00
Ulf Lilleengen
4dccda085f Add missing files for G0 2021-09-02 11:19:54 +02:00
Ulf Lilleengen
e6eb45eaee Cargo fmt 2021-09-02 10:46:49 +02:00
Ulf Lilleengen
f175574bcf Cargo fmt 2021-09-02 10:43:08 +02:00
Ulf Lilleengen
16aa1d1770 ADd missing file 2021-09-02 10:42:11 +02:00
Ulf Lilleengen
7ad6280e65 Add HAL for SubGhz peripheral for STM32 WL series
Based on the HAL from stm32wl, the peripheral driver has been
modified to fit into embassy, using the embassy APIs, providing
operation of the radio peripheral.

The initial version does not offer any async APIs, but the example
shows how the radio IRQ can be used to perform async TX of the radio.
2021-09-02 10:39:56 +02:00
Dario Nieuwenhuis
db3cb02032
Merge pull request #383 from embassy-rs/saadc-fixes
nrf: Saadc fixes
2021-09-01 23:59:56 +02:00
Dario Nieuwenhuis
6b158ba94a nrf/saadc: add example 2021-09-01 23:55:20 +02:00
Dario Nieuwenhuis
a81b963561 nrf/saadc: don't use wake_on_interrupt. 2021-09-01 23:54:26 +02:00
Dario Nieuwenhuis
bc68657c23
Merge pull request #379 from bobmcwhirter/random_range
Random range
2021-09-01 22:53:10 +02:00
f_punk
1cef7134d4 moved CC::wait to awaitable typestate 2021-09-01 16:20:32 +02:00
f_punk
a0c40562ea added typestate to nrf-Timer
useful for hooking up the PPI to an Event without needing interrupt
tested with buffered_uart example on nRF52840-DK
2021-09-01 16:16:56 +02:00
Bob McWhirter
aaa4a477d5 Formatting. 2021-09-01 09:47:46 -04:00
Bob McWhirter
37ceae908b Rename Random impl to Rng.
Create Random struct providing next_x(range) for all T:Rng.
2021-09-01 09:39:33 -04:00
Dario Nieuwenhuis
ea688afe9b
Merge pull request #375 from embassy-rs/docs2
Executor docs
2021-09-01 00:04:42 +02:00
Dario Nieuwenhuis
297de612e5 Improve executor naming. Add docs. 2021-08-31 23:59:28 +02:00
Bob McWhirter
fd7a76c59e Formatting. Always formatting. 2021-08-30 09:57:31 -04:00
Bob McWhirter
7fa3b27cac Move random utils to another trait. 2021-08-30 09:55:29 -04:00
Bob McWhirter
78f7d1b786 Add example using ranged RNG. 2021-08-27 16:10:50 -04:00
Bob McWhirter
d525f51940 Add a convenience next(range) to Rng. 2021-08-27 16:10:01 -04:00
Côme ALLART
022b809248 refactor(gen_features): use Rust instead of Python
Done for /embassy-stm32 only
The new generator is in /stm32-gen-features
/stm32-metapac could/should be added too
A CI check "generated features up to date" could/should be performed
2021-08-27 11:09:27 +02:00
Dario Nieuwenhuis
e56c6166dc
Merge pull request #373 from embassy-rs/docs
Time driver improvements, docs.
2021-08-26 23:37:37 +02:00
Dario Nieuwenhuis
37e0ad299c
Merge pull request #377 from bobmcwhirter/rng_defmt
Fixes #374: Ensure Rng's error is defmt-able.
2021-08-26 20:16:50 +02:00
Bob McWhirter
dc394dd477 Fixes #374: Ensure Rng's error is defmt-able. 2021-08-26 14:04:12 -04:00
Dario Nieuwenhuis
8263627fe1
Merge pull request #376 from numero-744/stm32-remove-gen-py-build-dependency
build(stm32): remove gen.py build dependency
2021-08-26 19:40:55 +02:00
numero-744
1098072384
build(stm32): remove gen.py build dependency 2021-08-26 18:59:37 +02:00
Dario Nieuwenhuis
c4b9c8ac87 std: fold into embassy core, add non-hacky time driver. 2021-08-25 21:06:27 +02:00
Dario Nieuwenhuis
7c0990ad1e time: allow storing state inside the driver struct. 2021-08-25 21:06:27 +02:00
Dario Nieuwenhuis
55b2d7b524 io: move std stuff to own module 2021-08-25 21:06:27 +02:00
Dario Nieuwenhuis
503be49417 Document embassy::time 2021-08-25 21:06:27 +02:00
Dario Nieuwenhuis
09ffdf63f1
Merge pull request #372 from embassy-rs/executor-structure
executor: improve module structure
2021-08-25 00:27:21 +02:00
Dario Nieuwenhuis
ae179d49af executor: improve module structure 2021-08-25 00:20:29 +02:00
Bob McWhirter
354ec75b74
Merge pull request #371 from bobmcwhirter/spi_v3_fix
Fix blocking-write for SPI.
2021-08-24 15:48:20 -04:00
Bob McWhirter
4aa52f1b9e Formatting. 2021-08-24 14:56:45 -04:00