Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stm32f4xx: Dma2 & USART1 + Stm32f429idiscovery BSP #2936

Merged
merged 14 commits into from Mar 26, 2022

Commits on Jan 5, 2022

  1. Configuration menu
    Copy the full SHA
    668de9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    042be43 View commit details
    Browse the repository at this point in the history
  3. stm32f429idiscovery: Configure LEDs and Buttons

    Furthoremore did some exploratory work on USART1
    LeonMatthes committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    1ae4381 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fccb01f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bc12109 View commit details
    Browse the repository at this point in the history
  6. Get USART1 output working

    By adding the missing interrupt handlers.
    LeonMatthes committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    2946c74 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    60dd7e7 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Configuration menu
    Copy the full SHA
    1470742 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a97c79d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    784f330 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. stm32f4xx: Move DmaClock into shared dma module

    Instead of providing a Dma1Clock and a Dma2Clock, we can use a shared
    class for both DMA's, as they share the exact same code.
    LeonMatthes committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    a5b5d2e View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. stm32f4xx: Dma - Shared Stream Dma1&Dma2 struct

    To reduce the code duplication between Dma1&Dma2, the Stream class is
    moved into the shared Dma module.
    Dma1 and Dma2 then implement the new StreamServer trait, that allows
    them to serve their own Streams.
    
    A further refactoring is achieved by adding a StreamPeripheral trait,
    which is implmeneted in Dma1Peripheral & Dma2Peripheral and returns all
    the constants that might be different between DMA peripherals.
    This way the dma::Stream never has to match over the peripheral, but
    only ever over to stream to access the correct registers. The data to
    write into the registers will be provided by the Peripheral.
    This should also make adding new peripherals cleaner, as the Stream
    doesn't need to be touched, but only the Peripheral enum.
    LeonMatthes committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    25f3c07 View commit details
    Browse the repository at this point in the history
  2. stm32f4xx: Add Dma2 to chips&boards

    Not all boards will use the new Dma features, but they must still be
    adapted to fit the new API.
    LeonMatthes committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    30f091b View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. stm32f4xx: Combine dma1.rs and dma2.rs into dma.rs

    The dma1 and dma2 submodules were too small to justify their existence -
    therefore it makes more sense to combine their code into a single dma
    module.
    LeonMatthes committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    c95cc8d View commit details
    Browse the repository at this point in the history