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
Bob McWhirter
e36ae76e45
Fix blocking-write for SPI.
2021-08-24 14:44:47 -04:00
Dario Nieuwenhuis
548593ea41
Merge pull request #370 from derekdreery/easy_dma_size
...
Expose EASY_DMA_SIZE.
2021-08-22 01:30:15 +02:00
Richard Dodd
ed1ed5225f
Expose EASY_DMA_SIZE.
2021-08-22 00:23:03 +01:00
Dario Nieuwenhuis
fde24dba3c
Merge pull request #369 from derekdreery/defmt_mpsc
...
Add defmt support for mpsc errors.
2021-08-22 01:17:11 +02:00
Richard Dodd
7ca745a5c0
Refactor to allow defmt to intern strings.
2021-08-22 00:11:19 +01:00
Richard Dodd
4d3c07f71b
Fix fmt
2021-08-21 22:38:02 +01:00
Richard Dodd
170121cdf6
Add defmt support for mpsc errors.
2021-08-21 22:36:23 +01:00
Dario Nieuwenhuis
1e1cd0506a
Merge pull request #368 from embassy-rs/nrf-features
...
nrf: make gpiote and time-driver optional via cargo features.
2021-08-20 15:49:38 +02:00
Dario Nieuwenhuis
3457bb9f05
nrf: make gpiote and time-driver optional via cargo features.
2021-08-20 15:42:42 +02:00
Dario Nieuwenhuis
de2039fd1d
net: fix build with medium-ip
2021-08-20 15:06:06 +02:00
Dario Nieuwenhuis
17659e2e44
nrf/wdt: add handle steal
2021-08-20 14:23:24 +02:00
Dario Nieuwenhuis
0be6e4a384
Merge pull request #333 from bgamari/stm32g0
...
Add support for STM32G0
2021-08-20 01:35:02 +02:00
Dario Nieuwenhuis
da707051b0
stm32: add G0 to Ci
2021-08-20 01:29:37 +02:00
Ben Gamari
ee841499ee
Add STM32G0 examples
2021-08-20 01:28:50 +02:00
Ben Gamari
e2f71ffbbd
Add support for STM32G0
2021-08-20 00:15:11 +02:00
Dario Nieuwenhuis
8e5f1f4b5e
Merge pull request #367 from embassy-rs/metapac-cleanup
...
stm32-metapac cleanups
2021-08-20 00:05:08 +02:00
Dario Nieuwenhuis
174c51f097
stm32/metapac: check GPIO RCC regs are always found.
2021-08-19 23:59:50 +02:00
Dario Nieuwenhuis
2c992f7010
stm32: move dbgmcu stuff to toplevel config setting, defaulting to true.
2021-08-19 23:50:19 +02:00
Dario Nieuwenhuis
446d6c275c
stm32: remove last use of python at build time
2021-08-19 23:42:18 +02:00
Dario Nieuwenhuis
9f51f9a170
stm32/wl: add stub APB3 to get it to build.
...
Completely untested.
2021-08-19 22:51:41 +02:00
Dario Nieuwenhuis
637fcdd316
stm32/rcc: update for new version naming
2021-08-19 22:17:45 +02:00
Dario Nieuwenhuis
ec51880e28
stm32/exti: unify all versions into single impl
2021-08-19 22:17:17 +02:00
Dario Nieuwenhuis
dd62790f36
stm32-metapac: assume RCC is always present
2021-08-19 22:16:27 +02:00
Dario Nieuwenhuis
f3de443ee7
Bump stm32-data
2021-08-19 22:16:05 +02:00
Dario Nieuwenhuis
3dd1253b06
stm32-metapac: ignore gen'd out dir
2021-08-19 17:44:29 +02:00
Dario Nieuwenhuis
39baff8775
Merge pull request #366 from embassy-rs/nrf-cmrt07
...
Update more examples to cortex-m-rt 0.7
2021-08-19 17:19:13 +02:00
Dario Nieuwenhuis
daab542fc4
wl55: update to cortex-m-rt 0.7
2021-08-19 17:11:38 +02:00
Dario Nieuwenhuis
fe355af4f0
nrf: update to cortex-m-rt 0.7
2021-08-19 17:11:17 +02:00