Commit graph

514 commits

Author SHA1 Message Date
xoviat
d820135f0e
Merge pull request #94 from xoviat/ci
ci: add cache
2021-03-19 09:12:48 -05:00
xoviat
c565deb34a ci: parallelize and use cache 2021-03-19 09:09:56 -05:00
Dario Nieuwenhuis
01fd0cd92d
Merge pull request #93 from thalesfragoso/fix-comp
F4: Fix compilation for other MCUs
2021-03-19 03:51:20 +01:00
Thales Fragoso
88a25b042a F4: Fix compilation for other MCUs 2021-03-18 22:37:08 -03:00
Dario Nieuwenhuis
456e04c79f Simplify spim macros 2021-03-18 21:59:35 +01:00
Dario Nieuwenhuis
c33c9b9aec
Merge pull request #88 from michaelbeaumont/cargo_fmt
Run cargo fmt in CI
2021-03-18 21:50:26 +01:00
Michael Beaumont
5ad259620c
Add cargo fmt --all -- --check to ci.sh 2021-03-18 21:02:37 +01:00
Dario Nieuwenhuis
e912355bb2
Merge pull request #85 from embassy-rs/no-free
Simplify PeripheralMutex
2021-03-18 20:51:31 +01:00
Dario Nieuwenhuis
c4406a3f22
Merge pull request #84 from michaelbeaumont/stm32l0_waitforhighlow
Add WaitFor{Low,High} for stm32l0 exti pins
2021-03-18 20:35:28 +01:00
Dario Nieuwenhuis
6eb0522102
Merge pull request #82 from xoviat/c-exti
cleanup exti and remove static mut
2021-03-18 20:35:21 +01:00
Michael Beaumont
d3673886b3
Run cargo fmt 2021-03-18 20:02:42 +01:00
Michael Beaumont
7b0bed2c5e
Add WaitFor{Low,High} for stm32l0 exti pins 2021-03-18 19:58:32 +01:00
Dario Nieuwenhuis
b57489eb5d peripheralmutex: separate interrupt registration to own method. 2021-03-18 18:49:10 +01:00
Dario Nieuwenhuis
0cd19a58c3 Remove free() from PeripheralMutex and all nrf drivers. 2021-03-18 18:49:10 +01:00
Dario Nieuwenhuis
4b2fdd450e Allow running ci.sh from any dir 2021-03-18 18:41:55 +01:00
xoviat
f43813c420
Merge pull request #83 from xoviat/cleanup
cleanup misc. warnings
2021-03-17 21:24:04 -05:00
xoviat
b204c0974c cleanup misc. warnings 2021-03-17 21:21:48 -05:00
xoviat
1908141c86 fix extipin 2021-03-17 21:11:34 -05:00
xoviat
81d99ff1a0 stm32: exti: update api 2021-03-17 20:56:48 -05:00
xoviat
ccf2ea77f0 fix borrow checker 2021-03-17 20:52:45 -05:00
xoviat
3d103acdde stm32f4: exti: update api 2021-03-17 20:46:40 -05:00
xoviat
739c47cc33 stm32: exti: remove static mut 2021-03-17 20:14:29 -05:00
xoviat
7743c8305b stm32l0: cleanup exti 2021-03-17 20:13:34 -05:00
xoviat
4a38e7eb2b
Merge pull request #69 from michaelbeaumont/stm32l0
Add stm32l0 support for ExtiPin futures
2021-03-17 19:49:21 -05:00
Dario Nieuwenhuis
f248bb17ad Allow unused stuff in fmt.rs 2021-03-18 01:42:28 +01:00
Dario Nieuwenhuis
3de2d5c5bd Implement FullDuplex for nrf spim 2021-03-18 01:27:30 +01:00
xoviat
71ac582d68
add feature 2021-03-17 19:02:22 -05:00
Dario Nieuwenhuis
c403a47b7f Add raw_spawn example, showcasing how to use embassy without TAIT 2021-03-18 00:43:19 +01:00
Dario Nieuwenhuis
8c2da193b8 Add spawn/spawn_pool APIs to Task 2021-03-18 00:38:27 +01:00
Dario Nieuwenhuis
5c2bf3981e Move Task into raw 2021-03-18 00:20:11 +01:00
Michael Beaumont
d1b7d03fc7 Upgrade stm32l0xx-hal 2021-03-18 00:00:18 +01:00
Michael Beaumont
5fd0e30b48 Remove extraneous generic type 2021-03-18 00:00:18 +01:00
xoviat
0cc2c67194
fix can example 2021-03-17 17:27:34 -05:00
Dario Nieuwenhuis
ac74b922c1
Merge pull request #20 from xoviat/canbus
add can
2021-03-17 22:54:40 +01:00
Dario Nieuwenhuis
278ce02824 Rename IrqExecutor to InterruptExecutor 2021-03-17 22:52:57 +01:00
Dario Nieuwenhuis
a9076636ac Do not export fmt macros.
This was introduced by accident by me struggling with the weird intra-crate macro importing system...
2021-03-17 22:50:27 +01:00
Dario Nieuwenhuis
f14361835f
Merge pull request #66 from xoviat/spi-trait
add spi trait
2021-03-17 03:06:12 +01:00
Dario Nieuwenhuis
5bd705caa5
Merge branch 'master' into spi-trait 2021-03-17 03:06:04 +01:00
Dario Nieuwenhuis
e1cad54833
Merge pull request #79 from embassy-rs/optimized-wakers
Optimized wakers
2021-03-17 03:03:55 +01:00
Dario Nieuwenhuis
3b5ccb0848
Merge pull request #77 from embassy-rs/no-reexport
Do not reexport atomic-polyfill
2021-03-17 02:58:50 +01:00
Dario Nieuwenhuis
c6e26cd0f9
Merge pull request #78 from embassy-rs/feature-party
Update features for latest nightly.
2021-03-17 02:54:50 +01:00
Dario Nieuwenhuis
bb68f5d0e8 Add optimized single-word WakerRegistration, add AtomicWakerRegistration. 2021-03-17 02:53:41 +01:00
Dario Nieuwenhuis
ab01e0be3b Do not reexport atomic-polyfill 2021-03-17 02:52:21 +01:00
Dario Nieuwenhuis
6ed1a87138 Update features for latest nightly. 2021-03-17 02:48:16 +01:00
xoviat
cb8d53e498 fixup 2021-03-15 18:19:28 -05:00
xoviat
0fbb3174d2 fixup 2021-03-15 18:00:00 -05:00
xoviat
535ac24430 set feature 2021-03-15 17:52:31 -05:00
xoviat
93625c3f6a add can driver 2021-03-15 17:45:45 -05:00
Dario Nieuwenhuis
3fcecd076b Rename i2c trait 2021-03-15 00:22:17 +01:00
Dario Nieuwenhuis
e44079492c
Merge pull request #74 from michaelbeaumont/deref-stm32f4
embassy-stm32f4: Add embedded_hal::digital::v2::* for ExtiPin
2021-03-14 23:47:56 +01:00