Commit Graph

148 Commits

Author SHA1 Message Date
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
Dario Nieuwenhuis
fd3de78b43
Merge pull request #51 from kbleeke/wait-join-open
also wait for join event in join_open
2023-03-27 10:23:06 +00:00
kbleeke
6f547cf05d asyncify outgoing events 2023-03-27 11:48:58 +02:00
kbleeke
4721381225 also wait for join event in join_open 2023-03-27 11:10:29 +02:00
Dario Nieuwenhuis
5da6108bec
Merge pull request #49 from embassy-rs/ci
Fix build with log, add CI
2023-03-27 05:19:36 +02:00
Dario Nieuwenhuis
ed601d439a Add CI. 2023-03-27 03:33:20 +02:00
Dario Nieuwenhuis
cffc3fc795 Fix build with log. 2023-03-27 03:33:06 +02:00
Dario Nieuwenhuis
bb90bb8c56
Merge pull request #46 from kbleeke/split-lib-rs
split lib.rs into multiple files
2023-03-27 03:17:30 +02:00
kbleeke
20923080e6 split lib.rs into multiple files 2023-03-22 15:35:02 +01:00
Dario Nieuwenhuis
8b24fe3df0
Merge pull request #45 from kbleeke/fix-stuck-ioctl
Spawn Wifi Task immediately, Fix #44
2023-03-22 13:56:25 +01:00
kbleeke
369f205962 wifi task needs to be spawned immediately, otherwise ioctls are just stuck (duh). fix #44 2023-03-22 11:33:55 +01:00
Dario Nieuwenhuis
33cbc22236
Merge pull request #39 from kbleeke/pio
Use PIO for SPI communication in Pico W example
2023-03-21 19:56:57 +01:00
kbleeke
359b1c7fdb replace inspect() with direct calls to trace!() after awaiting 2023-03-21 19:39:41 +01:00
kbleeke
29494a9296 Merge branch 'master' into pio 2023-03-21 19:32:39 +01:00