| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | stm32/dma: add AnyChannel, add support for BDMA on H7. | Dario Nieuwenhuis | 2024-02-24 | 1 | -740/+0 |
| | | |||||
| * | hal-internal: remove impl DerefMut for PeripheralRef. | Dario Nieuwenhuis | 2024-02-20 | 1 | -3/+3 |
| | | | | | | | | | | if you have `PeripheralRef<'a, AnyPIn>` for pin A, and `AnyPin` (owned) for pin B, you can `mem::swap` them. so, getting access forever to pin A, just by "sacrificing" pin B this defeats the point of PeripheralRef, which is if you got a `PeripheralRef<'a, T>` then you're only allowed to use the peripheral for `'a`. Also some drivers rely on the fact only one instance of a singleton exists for soundness, so this is a soundness fix for those. | ||||
| * | Add write_immediate() function to STM32 DMA ringbuffer API to pre-fill the ↵ | Tyler Gilbert | 2024-01-03 | 1 | -0/+7 |
| | | | | | buffer before starting the DMA | ||||
| * | note on circular mode DMA | eZio Pan | 2023-12-21 | 1 | -0/+4 |
| | | |||||
| * | match up with metapac change | eZio Pan | 2023-12-19 | 1 | -13/+7 |
| | | |||||
| * | stm32: add some docs. | Dario Nieuwenhuis | 2023-12-18 | 1 | -7/+55 |
| | | |||||
| * | stm32: avoid creating many tiny critical sections in init. | Dario Nieuwenhuis | 2023-10-12 | 1 | -2/+2 |
| | | | | | Saves 292 bytes on stm32f0 bilnky with max optimizations (from 3132 to 2840). | ||||
| * | stm32: remove atomic-polyfill. | Dario Nieuwenhuis | 2023-10-12 | 1 | -3/+15 |
| | | |||||
| * | stm32/dma: minor cleanup, optmization | xoviat | 2023-08-04 | 1 | -2/+2 |
| | | |||||
| * | stm32/dma: consolidate ringbuf | xoviat | 2023-08-03 | 1 | -54/+16 |
| | | |||||
| * | stm32/dma: fix typos | xoviat | 2023-07-30 | 1 | -3/+3 |
| | | |||||
| * | stm32/dma: impl. wringbuf for bdma | xoviat | 2023-07-30 | 1 | -1/+153 |
| | | |||||
| * | fix comments | xoviat | 2023-07-29 | 1 | -2/+2 |
| | | |||||
| * | stm32/dma: rename ringbuf | xoviat | 2023-07-29 | 1 | -8/+8 |
| | | |||||
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 1 | -1/+1 |
| | | | | | internal use only. (#1700) | ||||
| * | Add a STM32/DMARingBuffer::read_exact helper | Alex Ferro | 2023-07-22 | 1 | -3/+41 |
| | | | | | | | | | | | This provides a helper function with an async implementation, that will only return (or error) when it was able to read that many bytes, sleeping until ready. Additionally, corrected the documentation for Ringbuffer functions to use "elements" instead of "bytes" as the types were already generic over the word/element size. | ||||
| * | change dma complete transfer IR default to true | JuliDi | 2023-06-23 | 1 | -1/+1 |
| | | |||||
| * | add option to enable/disable complete transfer interrupt | JuliDi | 2023-06-22 | 1 | -1/+6 |
| | | |||||
| * | Merge remote-tracking branch 'upstream/main' | JuliDi | 2023-06-21 | 1 | -0/+1 |
| |\ | |||||
| | * | Merge pull request #1572 from whitequark/bdma-blocking_wait-stop | Dario Nieuwenhuis | 2023-06-19 | 1 | -0/+1 |
| | |\ | | | | | | | | | | BDMA: request stop after busy loop in blocking_wait() | ||||
| | | * | BDMA: request stop after busy loop in blocking_wait(). | Catherine | 2023-06-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Otherwise the channel cannot be used again, since CR.EN remains set and the DMA channel registers are read-only while it is set. | ||||
| * | | | fix typo, minor cleanup | JuliDi | 2023-06-19 | 1 | -4/+3 |
| | | | | |||||
| * | | | remove unsafe for circular dma reg access | JuliDi | 2023-06-19 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch 'main' of github.com:embassy-rs/embassy | JuliDi | 2023-06-19 | 1 | -32/+24 |
| |\| | | |||||
| | * | | stm32: update stm32-metapac. | Dario Nieuwenhuis | 2023-06-19 | 1 | -32/+24 |
| | |/ | |||||
| * / | add half transfer interrupt and circular dma | JuliDi | 2023-06-18 | 1 | -4/+22 |
| |/ | |||||
| * | Remove embassy-cortex-m crate, move stuff to embassy-hal-common. | Dario Nieuwenhuis | 2023-06-09 | 1 | -1/+1 |
| | | |||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | - Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`. - Reexport the PAC interrupt enum in `embassy_xx::interrupt`. This has a few advantages: - The `embassy_xx::interrupt` module is now more "standard". - It works with `cortex-m` functions for manipulating interrupts, for example. - It works with RTIC. - the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs. - When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`. | ||||
| * | cortex-m: remove owned interrupts. | Dario Nieuwenhuis | 2023-06-01 | 1 | -4/+3 |
| | | |||||
| * | stm32/uart: refactor rx ringbuffer | xoviat | 2023-05-29 | 1 | -28/+12 |
| | | | | | | - remove some race conditions - allow full use of rx buffer | ||||
| * | stm32/dma: solve overlapping impl on DmaCtrl on stm32h7 | Dario Nieuwenhuis | 2023-05-01 | 1 | -6/+8 |
| | | |||||
| * | stm32/bdma: add ringbuffer support. | Dario Nieuwenhuis | 2023-05-01 | 1 | -4/+183 |
| | | |||||
| * | stm32/spi: add support for all word sizes. | Dario Nieuwenhuis | 2023-04-18 | 1 | -4/+5 |
| | | | | | Co-Authored-By: anton smeenk <[email protected]> | ||||
| * | stm32/dma: refactor. | Dario Nieuwenhuis | 2023-04-18 | 1 | -171/+232 |
| | | |||||
| * | stm32/sdmmc: Fix SDIOv1 writes | chemicstry | 2023-02-18 | 1 | -0/+1 |
| | | |||||
| * | Let repeated clock byte be singular pointer and not array pointer | Rasmus Melchior Jacobsen | 2022-12-23 | 1 | -1/+1 |
| | | |||||
| * | Let start_write_repeated accept pointer instead of slice | Rasmus Melchior Jacobsen | 2022-12-23 | 1 | -2/+2 |
| | | |||||
| * | fix(stm32): Fix write buffer lifetime for repeated writes | Rasmus Melchior Jacobsen | 2022-12-23 | 1 | -3/+2 |
| | | |||||
| * | stm32: Add basic support for DMA priority settings | Matous Hybl | 2022-11-28 | 1 | -2/+5 |
| | | |||||
| * | split `embassy-util` into `embassy-futures`, `embassy-sync`. | Dario Nieuwenhuis | 2022-08-22 | 1 | -1/+1 |
| | | |||||
| * | Split embassy crate into embassy-executor, embassy-util. | Dario Nieuwenhuis | 2022-07-29 | 1 | -1/+1 |
| | | |||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 1 | -19/+6 |
| | | |||||
| * | Add embassy-cortex-m crate. | Dario Nieuwenhuis | 2022-06-12 | 1 | -1/+1 |
| | | | | | | | - 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`. | ||||
| * | Implement giant (chunked) DMA transfers for DCMI. | Matous Hybl | 2022-04-25 | 1 | -2/+25 |
| | | |||||
| * | Fix BDMA | chemicstry | 2022-03-16 | 1 | -4/+21 |
| | | |||||
| * | stm32/dma: panic on DMA error. | Dario Nieuwenhuis | 2022-03-09 | 1 | -0/+6 |
| | | |||||
| * | stm32: Refactor DMA interrupts | Grant Miller | 2022-03-08 | 1 | -20/+20 |
| | | | | | | | | | Previously, every dma interrupt handler called the same `on_irq` function which had to check the state of every dma channel. Now, each dma interrupt handler only calls an `on_irq` method for its corresponding channel or channels. | ||||
| * | stm32: exclude spammy files from docs by prefixing with `_`. | Dario Nieuwenhuis | 2022-03-04 | 1 | -2/+2 |
| | | | | | | | | These files end up containing chip-specific info, so they deduplicate really badly when building docs for all 1200 chips. The doc generator removes files starting with `_`. | ||||
| * | stm32: move macrotables to embassy-stm32 build.rs | Dario Nieuwenhuis | 2022-02-26 | 1 | -43/+26 |
| | | |||||
| * | stm32: fix build for h7ab | Dario Nieuwenhuis | 2022-02-24 | 1 | -0/+9 |
| | | |||||
