Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-18 | Remove the authors field from Cargo.tomls | Dario Nieuwenhuis | |
It currently contains whoever was first to write some code for the crate, even if many more people have contributed to it later. The field is "sort of" deprecated, it was made optional recently: https://rust-lang.github.io/rfcs/3052-optional-authors-field.html Due the the reasons listed there I believe removing it is better than setting it to generic fluff like "The Embassy contributors". | |||
2022-06-18 | Update to 2021 edition. (#820) | Dario Nieuwenhuis | |
2022-06-18 | Update rust nightly. (#819) | Dario Nieuwenhuis | |
2022-06-12 | Run rustfmt. | Dario Nieuwenhuis | |
2022-06-12 | Add embassy-cortex-m crate. | Dario Nieuwenhuis | |
- Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`. | |||
2022-06-09 | common/PeripheralMutex: remove unsafe API. (#802) | Dario Nieuwenhuis | |
Following the project's decision that "leak unsafe" APIs are not marked as "unsafe", update PeripheralMutex to accept non-'static state without unsafe. Fixes #801 | |||
2022-06-07 | nrf/twim: allow zero length transfers. | Dario Nieuwenhuis | |
2022-05-31 | Merge #788 | bors[bot] | |
788: Misc USB improvements, for stm32 r=Dirbaio a=Dirbaio See individual commit messages. These changes help implementing the driver for STM32 USBD (#709) Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net> | |||
2022-05-30 | usb: make ControlPipe accept, reject async. | Dario Nieuwenhuis | |
2022-05-30 | usb: add first, last params to ControlPipe data_in, data_out. | Dario Nieuwenhuis | |
2022-05-30 | usb: remove is_stalled, set_stalled from Endpoint. | Dario Nieuwenhuis | |
They're unused, and I believe it's not allowed for classes to stall EPs on their own? | |||
2022-05-29 | Update embedded-hal-async to 0.1.0-alpha.1 | Dario Nieuwenhuis | |
2022-05-26 | Revert "Fix irq pend behavior" | chemicstry | |
This reverts commit 9a447f1359ebaabc486ed4eb364eb3dd7b5275c9. | |||
2022-05-26 | Fix irq pend behavior | chemicstry | |
2022-05-26 | Implement BufRead for nrf BufferedUarte | chemicstry | |
2022-05-19 | Update embedded-io to 0.3 | Dario Nieuwenhuis | |
2022-05-14 | nrf/buffered_uarte: fix out of bounds on read. | Dario Nieuwenhuis | |
2022-05-12 | Merge #768 | bors[bot] | |
768: nrf/usb: fix control out transfers getting corrupted due to ep0rcvout sticking from earlier. r=Dirbaio a=Dirbaio bors r+ Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net> | |||
2022-05-12 | nrf/usb: fix control out transfers getting corrupted due to ep0rcvout ↵ | Dario Nieuwenhuis | |
sticking from earlier. | |||
2022-05-12 | usb: parse request in embassy-usb instead of the driver. | Dario Nieuwenhuis | |
2022-05-12 | Remove OnDrop handler, start sampling in new | Henrik Alsér | |
2022-05-12 | Merge branch 'embassy-rs:master' into qdec | Henrik Alsér | |
2022-05-10 | usb: merge `alloc_control_pipe` and `into_bus` into `start`. | Dario Nieuwenhuis | |
This prevents calling `alloc_control_pipe` twice at compile time, which was always an error. | |||
2022-05-09 | usb: remove address arg from endpoint allocation. | Dario Nieuwenhuis | |
2022-05-07 | Merge branch 'embassy-rs:master' into qdec | Henrik Alsér | |
2022-05-07 | Replace embassy::io with embedded_io. | Dario Nieuwenhuis | |
2022-05-07 | Add qdec module | Henrik Alsér | |
2022-05-03 | nrf/twim: add blocking methods variants with timeout. | Dario Nieuwenhuis | |
2022-05-03 | nrf/twim: add option for high drive. | Dario Nieuwenhuis | |
2022-05-03 | nrf/gpio: add input+output to Flex, for OpenDrain. | Dario Nieuwenhuis | |
2022-04-27 | Add split method to UarteWithIdle | Zoey Riordan | |
2022-04-23 | Merge pull request #722 from embassy-rs/usb-altsettings | Dario Nieuwenhuis | |
usb: builtin handling of interface alternate settings | |||
2022-04-23 | nrf: autoenable defmt in deps. | Dario Nieuwenhuis | |
2022-04-23 | usb: builtin handling of interface alternate settings | Dario Nieuwenhuis | |
The stack reads its own descriptors to figure out which endpoints are used in which alt settings, and enables/disables them as needed. The ControlHandler has a callback so it can get notified of alternate setting changes, which is purely informative (it doesn't have to do anything). | |||
2022-04-22 | Switch to crates.io embedded-hal, embedded-hal-async. | Dario Nieuwenhuis | |
This temporarily removes support for the async UART trait, since it's not yet in embedded-hal-async. | |||
2022-04-19 | Add embedded-storage trait impls for QSPI | Ulf Lilleengen | |
* Adds implementations of embedded-storage and embedded-storage-async for QSPI * Add blocking implementations of QSPI * Use blocking implementation in new() and embedded-storage impls * Use async implementation in embedded-storage-async impls * Add FLASH_SIZE const generic parameter * Own IRQ in Qspi to disable it on drop | |||
2022-04-13 | Make Driver::disable async and fix comment | alexmoon | |
2022-04-13 | Remove dead code on nrf5340 | alexmoon | |
2022-04-13 | Add DeviceStateHandler, DeviceCommand channel, and remote wakeup support | alexmoon | |
2022-04-09 | Unify ReadError and WriteError into EndpointError | alexmoon | |
2022-04-08 | Add saadc::VddhDiv5Input | alexmoon | |
2022-04-07 | Merge #657 | bors[bot] | |
657: Async usb stack r=Dirbaio a=Dirbaio TODO - [x] Make it work on nRF - [x] Add a way for classes to handle their own EP0 control requests - thanks `@alexmoon!` - [x] Handle CONTROL OUT requests with data. - [ ] Impl AsyncRead/AsyncWrite for CDC ACM -- will do later, it's not trivial - [x] Cleanup unwraps/asserts/panics - [x] Cleanup logs (make everything trace/debug, not info) - [ ] Port synopsys-usb-otg - [ ] Port stm32-usbd - [ ] Add more classes? HID, MSD? Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net> Co-authored-by: alexmoon <alex.r.moon@gmail.com> | |||
2022-04-07 | Fix spurious ControlPipe::data_in errors | alexmoon | |
2022-04-07 | Async-ify Driver::enable and UsbDeviceBuilder::build | alexmoon | |
2022-04-07 | Reexport unborrow macro in HALs | Matous Hybl | |
2022-04-06 | usb: abort control data in/out on reset or when receiving another SETUP. | Dario Nieuwenhuis | |
This removes the horrible timeout hack. | |||
2022-04-06 | Add basic device state handling for endpoints. | alexmoon | |
2022-04-06 | Simplify hid output report handling | alexmoon | |
2022-04-06 | Reduce memory overhead and simplify logic for merging endpoint and control ↵ | alexmoon | |
request output reports. | |||
2022-04-06 | usb: centralize all control logging in control.rs | Dario Nieuwenhuis | |