| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | stm32/dma: add AnyChannel, add support for BDMA on H7. | Dario Nieuwenhuis | 2024-02-24 | 1 | -1012/+0 |
| | | |||||
| * | hal-internal: remove impl DerefMut for PeripheralRef. | Dario Nieuwenhuis | 2024-02-20 | 1 | -4/+4 |
| | | | | | | | | | | 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 | -16/+11 |
| | | |||||
| * | stm32: add some docs. | Dario Nieuwenhuis | 2023-12-18 | 1 | -6/+73 |
| | | |||||
| * | 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/dma: minor cleanup, optmization | xoviat | 2023-08-04 | 1 | -4/+4 |
| | | |||||
| * | stm32/dma: consolidate ringbuf | xoviat | 2023-08-03 | 1 | -52/+14 |
| | | |||||
| * | stm32/dma: impl. wringbuf for bdma | xoviat | 2023-07-30 | 1 | -2/+2 |
| | | |||||
| * | stm32/dma: complete initial ringbuf impl. | xoviat | 2023-07-30 | 1 | -1/+170 |
| | | |||||
| * | stm32/dma: rename ringbuf | xoviat | 2023-07-29 | 1 | -6/+6 |
| | | |||||
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 1 | -1/+1 |
| | | | | | internal use only. (#1700) | ||||
| * | Merge pull request #1681 from alexferro/feature/stm32-dma-read-exact | xoviat | 2023-07-28 | 1 | -3/+41 |
| |\ | | | | | | | Add a STM32/DMARingBuffer::read_exact helper | ||||
| | * | 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. | ||||
| * | | update DAC triggers to incorporate v3 | JuliDi | 2023-07-22 | 1 | -2/+17 |
| |/ | |||||
| * | Remove trivial to remove uses of atomic-polyfill. | Dario Nieuwenhuis | 2023-07-12 | 1 | -2/+1 |
| | | |||||
| * | stm32: update stm32-metapac. | Dario Nieuwenhuis | 2023-06-19 | 1 | -48/+36 |
| | | |||||
| * | 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/dma: remove separate process_tcif. | Dario Nieuwenhuis | 2023-05-01 | 1 | -37/+9 |
| | | |||||
| * | Support overflow detection for more than one ring-period | Rasmus Melchior Jacobsen | 2023-05-01 | 1 | -33/+78 |
| | | |||||
| * | Ring-buffered uart rx with one-period overrun detection | Rasmus Melchior Jacobsen | 2023-05-01 | 1 | -4/+170 |
| | | |||||
| * | stm32/spi: add support for all word sizes. | Dario Nieuwenhuis | 2023-04-18 | 1 | -5/+6 |
| | | | | | Co-Authored-By: anton smeenk <[email protected]> | ||||
| * | stm32/dma: add double buffered mode for DMA, update DCMI. | Dario Nieuwenhuis | 2023-04-18 | 1 | -1/+158 |
| | | |||||
| * | stm32/dma: refactor. | Dario Nieuwenhuis | 2023-04-18 | 1 | -283/+285 |
| | | |||||
| * | Merge #1227 | bors[bot] | 2023-02-23 | 1 | -6/+2 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | 1227: stm32/dma: fix spurious transfer complete interrupts r=Dirbaio a=pattop DMA interrupts must be acknowledged by writing to the DMA_{L,H}IFCR register. Writing to the CR register is unnecessary as the channel (EN bit) is disabled by hardware on completion of the transfer. Co-authored-by: Patrick Oppenlander <[email protected]> | ||||
| | * | stm32/dma: fix spurious transfer complete interrupts | Patrick Oppenlander | 2023-02-23 | 1 | -6/+2 |
| | | | | | | | | | | | | | | | | | DMA interrupts must be acknowledged by writing to the DMA_{L,H}IFCR register. Writing to the CR register is unnecessary as the channel (EN bit) is disabled by hardware on completion of the transfer. | ||||
| * | | stm32/sdmmc: Fix SDIOv1 writes | chemicstry | 2023-02-18 | 1 | -1/+22 |
| |/ | |||||
| * | 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 | -11/+5 |
| | | |||||
| * | 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 | -9/+155 |
| | | |||||
| * | Add more options to DMA | chemicstry | 2022-03-16 | 1 | -4/+32 |
| | | |||||
| * | stm32/dma: panic on DMA error. | Dario Nieuwenhuis | 2022-03-09 | 1 | -0/+6 |
| | | |||||
| * | stm32: Refactor DMA interrupts | Grant Miller | 2022-03-08 | 1 | -16/+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 | -28/+14 |
| | | |||||
| * | stm32: replace `peripheral_rcc!` macrotable with build.rs | Dario Nieuwenhuis | 2022-02-09 | 1 | -6/+1 |
| | | |||||
| * | stm32/dma: fix interrupt codegen for new stm32-data | Dario Nieuwenhuis | 2022-02-05 | 1 | -10/+1 |
| | | |||||
| * | stm32/dma: make lowlevel api take ptrs instead of slices. | Dario Nieuwenhuis | 2022-01-19 | 1 | -6/+8 |
| | | |||||
| * | stm32/dma: simplify impls a bit. | Dario Nieuwenhuis | 2021-12-08 | 1 | -29/+27 |
| | | |||||
