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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Full-duplex serial driver for ARM boards #9842

Merged
merged 12 commits into from
May 27, 2021

Commits on Apr 20, 2021

  1. Add duplex serial usart driver

    * Uses usart TX and RX pins for duplex communication
    * Uses chibios dma enabled usart driver with blocking api
    KarlK90 committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    a9a58e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46a2ef6 View commit details
    Browse the repository at this point in the history
  3. Update Serial Usart Duplex Driver

    * Use Master / Slave Terminology until qmk_firmware/issues/9376 is decided
    * Enable usart rx tx pin swap using SERIAL_USART_PIN_SWAP define
    * Use SERIAL_USART_TX_PIN and SERIAL_USART_RX_PIN instead of SOFT_SERIAL_PIN
    KarlK90 committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    7f69973 View commit details
    Browse the repository at this point in the history
  4. Update Serial Usart Driver Docs

    * Use Master / Slave Terminology until qmk_firmware/issues/9376 is decided
    * Add note about usart rx tx pin swap using SERIAL_USART_PIN_SWAP
    KarlK90 committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    4a9d084 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5972962 View commit details
    Browse the repository at this point in the history
  6. Use usart interrupt for handshake handling

    This should prevent missed handshakes and improve the overall performance,
    as the receiving thread is only awoken when there is a handshake to process.
    KarlK90 committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    786b143 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3180161 View commit details
    Browse the repository at this point in the history
  8. Fix null deference on rxchar callback

    The callback was set on both target and initiator,
    but the target thread tp_target was only created on the slave halve. On receiving a sporious interrupt the master
    halve try to signal tp_target dereferencing a null pointer.
    KarlK90 committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    1f349d8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cee2d1f View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Configuration menu
    Copy the full SHA
    99f86ec View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Apply code review

    KarlK90 committed May 3, 2021
    Configuration menu
    Copy the full SHA
    ed077e7 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2021

  1. Configuration menu
    Copy the full SHA
    8757cf9 View commit details
    Browse the repository at this point in the history