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

Apply the UARTE workaround for nrf91 and nrf53 #319

Merged
merged 8 commits into from
May 14, 2021
Merged

Apply the UARTE workaround for nrf91 and nrf53 #319

merged 8 commits into from
May 14, 2021

Commits on May 14, 2021

  1. Don't check for txstopped when writing to UART.

    It seems like endtx and txstopped race, and if we see txstopped first
    we return an error, causing writeln!(...).unwrap() to panic.
    
    This changes makes the UART work reliably on the nRF9160-PDK.
    Jonathan Pallant (42 Technology) committed May 14, 2021
    Configuration menu
    Copy the full SHA
    377348c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e034b6 View commit details
    Browse the repository at this point in the history
  3. Disable UART if we find it already enabled.

    Jonathan Pallant (42 Technology) committed May 14, 2021
    Configuration menu
    Copy the full SHA
    bdd35ed View commit details
    Browse the repository at this point in the history
  4. Fix warnings on non-anomalous platforms.

    Jonathan Pallant (42 Technology) committed May 14, 2021
    Configuration menu
    Copy the full SHA
    5502284 View commit details
    Browse the repository at this point in the history
  5. We no longer use this event so don't need to reset it.

    Jonathan Pallant (42 Technology) committed May 14, 2021
    Configuration menu
    Copy the full SHA
    de05901 View commit details
    Browse the repository at this point in the history
  6. Stop the right task in the anomaly workaround.

    Jonathan Pallant (42 Technology) committed May 14, 2021
    Configuration menu
    Copy the full SHA
    1facd18 View commit details
    Browse the repository at this point in the history
  7. Stop TX before we wait for TX to stop.

    Jonathan Pallant (42 Technology) committed May 14, 2021
    Configuration menu
    Copy the full SHA
    bd0f7d8 View commit details
    Browse the repository at this point in the history
  8. Move the event resets closer to where we check the events.

    Jonathan Pallant (42 Technology) committed May 14, 2021
    Configuration menu
    Copy the full SHA
    60a3c09 View commit details
    Browse the repository at this point in the history