Commit Graph

161 Commits

Author SHA1 Message Date
Daniel Larsen
c70a66fe81 Make defmt optional 2023-04-30 18:55:19 -03:00
Daniel Larsen
af368676ef Removed defmt 2023-04-30 18:02:44 -03:00
Dario Nieuwenhuis
5659269c8f
Merge pull request #70 from kbleeke/wifi-scanning-ioctl
Wifi scanning ioctl
2023-04-30 15:05:16 +00:00
kbleeke
76b967a966 comment wifi scanning items 2023-04-28 21:28:59 +02:00
kbleeke
2c5d94493c wifi scan ioctl 2023-04-28 21:28:59 +02:00
Dario Nieuwenhuis
c19de29847
Merge pull request #63 from kbleeke/generalize-events
rework event handling to allow sending data to `Control`
2023-04-27 18:23:36 +00:00
Dario Nieuwenhuis
f4bfda345d
Merge pull request #69 from kalkyl/update-embassy
Update embassy
2023-04-27 18:22:46 +00:00
kalkyl
4d551a5865 Update embassy 2023-04-27 19:37:19 +02:00
Dario Nieuwenhuis
0c8e5f92c7 Switch from probe-run to probe-rs-cli. 2023-04-26 18:10:57 +02:00
Dario Nieuwenhuis
0a2d6f0be0 ci: build with DEFMT_LOG=trace to catch all defmt issues. 2023-04-26 16:20:49 +02:00
Dario Nieuwenhuis
0c7ce80384 Fix missing defmt impl. 2023-04-26 16:20:23 +02:00
Dario Nieuwenhuis
123c110427 Revert "Workaround regex breaking change."
This reverts commit 6a1a3e6877.
2023-04-26 16:19:23 +02:00
kbleeke
9e96655757 comment some choices for current event handling 2023-04-25 19:14:00 +02:00
kbleeke
582a15a693 cleanup EventMask 2023-04-25 19:14:00 +02:00
kbleeke
2d7ba44621 rework event handling to allow sending data 2023-04-25 19:14:00 +02:00
Dario Nieuwenhuis
6a1a3e6877 Workaround regex breaking change. 2023-04-21 14:37:04 +02:00
Dario Nieuwenhuis
efb67dfc1b
Merge pull request #66 from mattiasgronlund/remove_myspi
Remove MySpi from example
2023-04-15 09:54:02 +00:00
mattiasgronlund
9ca5bcd576
Update main.rs 2023-04-14 10:27:25 +02:00
Mattias Grönlund
4be1e4bd44 Remove MySpi
MySpi was replaced by PioSpi and no longer used.
2023-04-14 09:38:35 +02:00
Dario Nieuwenhuis
46efce6ea2
Merge pull request #64 from kbleeke/master
general maintenance commits
2023-04-09 20:07:32 +00:00
kbleeke
683ad80479 update embedded-hal 2023-04-07 19:56:05 +02:00
kbleeke
4d2710ed4d pin defmt to 0.3.2. 0.3.4 introduces an undesired wire format upgrade 2023-04-07 19:55:46 +02:00
kbleeke
056b8ab5a2 update nightly to embassy nightly 2023-04-07 19:54:39 +02:00
kbleeke
eb32d8ebbd update embassy 2023-04-07 19:54:05 +02:00
Dario Nieuwenhuis
cbbfeb23be
Merge pull request #62 from kbleeke/parse-events-in-place
Parse event data from device in-place
2023-04-06 21:09:11 +00:00
Dario Nieuwenhuis
fd5c7acafc
Merge pull request #61 from kbleeke/noop-mutex-for-events
event queue mutexs can be noop because we are already !Sync in other …
2023-04-03 13:32:34 +00:00
kbleeke
76ebebd0c5 parse data from device in-place 2023-04-03 12:50:52 +02:00
kbleeke
608eb9b1fd event queue mutexs can be noop because we are already !Sync in other places 2023-04-03 11:57:33 +02:00
Dario Nieuwenhuis
e6e5685f7c
Merge pull request #58 from kbleeke/clear-data-unavailable
clear DATA_UNAVAILABLE irq
2023-03-30 10:30:53 +00:00
kbleeke
69db1535b2 clear DATA_UNAVAILABLE irq 2023-03-30 12:24:37 +02:00
Dario Nieuwenhuis
d3fb9ddf33
Merge pull request #57 from kbleeke/faster-pio2
Maximum pio speed
2023-03-30 10:21:51 +00:00
kbleeke
b2d63d851d set INTERRUPT_WITH_STATUS flag in attempt to prevent hangs 2023-03-30 12:04:18 +02:00
kbleeke
869b337715 PIO at maximum speed 2023-03-28 16:51:49 +02:00
Dario Nieuwenhuis
fe57e4d9f8
Merge pull request #56 from kbleeke/faster-pio
make pio even faster
2023-03-28 14:10:32 +00:00
kbleeke
781c7f978c make pio faster 2023-03-28 15:29:14 +02:00
Dario Nieuwenhuis
c15f07de4f
Merge pull request #55 from kbleeke/master
update readme
2023-03-27 20:39:54 +00:00
kbleeke
983a94a9c5 update readme 2023-03-27 22:37:18 +02:00
Dario Nieuwenhuis
e9e2be137f
Merge pull request #54 from kbleeke/pio-irq
Move pio driver to separate crate
2023-03-27 17:08:54 +00:00
kbleeke
20ea35fc96 Move pio driver to separate crate 2023-03-27 19:00:20 +02:00
Dario Nieuwenhuis
d918919cb2
Merge pull request #53 from kbleeke/send-status
use send status feature of cyw43 instead of manually checking status
2023-03-27 16:54:59 +00:00
kbleeke
056df98d47 use send status feature of cyw43 instead of manually checking status 2023-03-27 18:19:07 +02:00
Dario Nieuwenhuis
273e6f5b83
Merge pull request #47 from kbleeke/pio-irq
Use IRQ instead of polling the status register
2023-03-27 16:08:22 +00:00
kbleeke
8926397f45 address irq nits 2023-03-27 15:29:01 +02:00
Dario Nieuwenhuis
07fe37b5ee
Merge pull request #52 from kbleeke/cancel-ioctl
cancel ioctl when future is dropped
2023-03-27 11:45:35 +00:00
kbleeke
1c721cb20e cancel ioctl when future is dropped 2023-03-27 13:39:41 +02:00
kbleeke
b58cc2aa23 use irqs to wait for events 2023-03-27 13:18:59 +02:00
kbleeke
a2272dda08 status and irq flags formatting with defmt 2023-03-27 13:18:59 +02:00
Dario Nieuwenhuis
cde6f0f862
Merge pull request #50 from kbleeke/async-ioctls
Rework Ioctls to an async state machine
2023-03-27 10:43:53 +00:00
kbleeke
c7646eb699 bring back TODO note about dropping ioctls 2023-03-27 12:40:40 +02:00
kbleeke
4c52104413 simplify ioctl waker code 2023-03-27 12:40:27 +02:00