Commit graph

1381 commits

Author SHA1 Message Date
Dario Nieuwenhuis
2bf9b14ef0
Merge pull request #7 from akiles/irq
Owned IRQs
2020-12-29 15:32:23 +01:00
Dario Nieuwenhuis
7dc81faa4e Declare irqs for each nrf chip 2020-12-29 15:20:42 +01:00
xoviat
04944b6379 overhaul implementation 2020-12-28 20:48:26 -06:00
Dario Nieuwenhuis
af5454fbfe Update drivers to owned irqs. 2020-12-29 01:53:17 +01:00
Dario Nieuwenhuis
4b8d8ba87e Update RTC for owned irqs 2020-12-29 01:05:28 +01:00
Dario Nieuwenhuis
0750234fbe WIP owned irqs 2020-12-29 00:05:52 +01:00
Dario Nieuwenhuis
b01a88a839 Do not run timer queue if no alarm is set. 2020-12-29 00:04:58 +01:00
Dario Nieuwenhuis
267ec334ac Rename Uarte -> BufferedUarte 2020-12-28 23:57:50 +01:00
xoviat
3cf85df176 add dma transfer example 2020-12-28 16:43:29 -06:00
xoviat
b5e0116f76 add interrupt channels, waker 2020-12-28 13:31:18 -06:00
xoviat
56db0e1c61 add dma transfer logic 2020-12-28 13:13:43 -06:00
xoviat
12fa5909c3 set-up draft serial interface 2020-12-28 09:55:49 -06:00
xoviat
18cd87ae12 create stm32f4 crate 2020-12-28 09:17:36 -06:00
Dario Nieuwenhuis
4a7344cb6f Add embassy-std crate with glue to run embassy on std. 2020-12-28 03:41:40 +01:00
Dario Nieuwenhuis
32c67381df Add missing ?Sized bound in read_line 2020-12-27 23:34:05 +01:00
Dario Nieuwenhuis
692d8bb813 More efficient timer queue, integrated into Executor directly. 2020-12-26 23:44:53 +01:00
Dario Nieuwenhuis
8b7a42a4f9 Split waker to separate file. 2020-12-26 17:22:36 +01:00
Dario Nieuwenhuis
3df66c44e3 Split executor into multiple files, remove old timers implementation. 2020-12-26 16:42:44 +01:00
Dario Nieuwenhuis
db8b4ca565 Better SpawnToken error messages 2020-12-26 15:15:50 +01:00
Dario Nieuwenhuis
80c504cd95 Add std impl for rand 2020-12-14 00:36:29 +01:00
Dario Nieuwenhuis
1aae27270e Better fmt macros. 2020-12-13 21:17:58 +01:00
Dario Nieuwenhuis
3be7ace878 add time::Ticker 2020-12-13 19:54:18 +01:00
Dario Nieuwenhuis
ca2ff632ba Fix possibly ambiguous macro 2020-12-01 20:00:55 +01:00
Dario Nieuwenhuis
02af635e7b Fix CI 2020-12-01 17:52:06 +01:00
Dario Nieuwenhuis
6f76c0ebcc Add support for log+defmt again, but better. 2020-12-01 17:46:56 +01:00
Dario Nieuwenhuis
78135a81d9 Remove anyfmt 2020-11-27 18:42:59 +01:00
Dario Nieuwenhuis
49d5121094 Fix unsoundness in Forever 2020-11-16 01:04:56 +01:00
Dario Nieuwenhuis
2e062f5627 gpiote: change port api to directly return futures. 2020-11-09 01:04:34 +01:00
Dario Nieuwenhuis
61b1d4e188 Fix build for nrfs with 32 gpios 2020-11-08 19:05:34 +01:00
Dario Nieuwenhuis
e539cd32ca Fix logging with anyfmt/log 2020-11-08 19:00:23 +01:00
Dario Nieuwenhuis
36517fd1c5 Add gpiote port example. 2020-11-08 19:00:08 +01:00
Dario Nieuwenhuis
fc0fe842ee Add support for GPIOTE Port event. 2020-11-08 18:59:31 +01:00
Dario Nieuwenhuis
a2735a716c Add signal reset() 2020-11-08 18:41:22 +01:00
Dario Nieuwenhuis
def225b982 gpiote: better naming 2020-11-08 17:38:45 +01:00
Dario Nieuwenhuis
b40e09d502 Allow spawning tasks with non-copy args. 2020-11-03 22:12:45 +01:00
Dario Nieuwenhuis
0a3590566d Fix ambiguous assert 2020-11-01 17:56:29 +01:00
Dario Nieuwenhuis
5e8608c7a5 Make defmt optional with new anyfmt crate 2020-11-01 17:17:24 +01:00
Dario Nieuwenhuis
2c13e25184 Fix for latest nightly 2020-10-31 23:14:09 +01:00
Dario Nieuwenhuis
7ddfeafc84 Add CI 2020-10-31 23:03:46 +01:00
Dario Nieuwenhuis
0643095695 Fix build with all nrf chip models 2020-10-31 23:03:09 +01:00
Dario Nieuwenhuis
2684bf605a update multiprio example. 2020-10-31 22:45:35 +01:00
Dario Nieuwenhuis
b3858441f7 Update examples. 2020-10-31 22:37:24 +01:00
Dario Nieuwenhuis
76196c424a Make Executor non-Send to close run() safety hole. 2020-10-31 22:36:45 +01:00
Dario Nieuwenhuis
9dea5035b9 Remove unused 2020-10-31 22:36:02 +01:00
Dario Nieuwenhuis
e2c10fbbb0 update defmt. 2020-10-31 22:05:07 +01:00
Dario Nieuwenhuis
5c575c29e6 cargo fmt 2020-10-31 20:02:16 +01:00
Dario Nieuwenhuis
4cc8bbd06c Remove unsafe from executor api 2020-10-31 16:37:50 +01:00
Dario Nieuwenhuis
e9843c3f0a cargo fmt 2020-10-31 16:37:34 +01:00
Dario Nieuwenhuis
b4a8b03c84 Improve std error compat 2020-10-31 16:37:09 +01:00
Dario Nieuwenhuis
57abd7064d task codegen: use local items instead of non-locals with prefixed names. 2020-10-31 16:36:09 +01:00