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

cpu/stm32/periph_eth: Add stm32_eth_tracing #18418

Merged
merged 2 commits into from
Sep 18, 2022

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    efc3074 View commit details
    Browse the repository at this point in the history
  2. cpu/stm32/periph_eth: add stm32_eth_tracing

    Add tracing support via GPIOs to trace the basic state of the Ethernet
    peripheral. The following signals are provided:
    
    - One GPIO pin is toggled on entry of the Ethernet ISR
    - On TX start an GPIO is set, on TX completion it is cleared
    - On RX complete an GPIO is set, once this is passed to the upper layer
      the GPIO is cleared again
    
    In order to reduce the overhead, GPIO LL is used. By default the
    on-board LEDs are used as tracing GPIOs. This makes it easy to debug
    when the state machine gets stuck without the need to attach a scope or
    logic analyzer.
    maribu committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    44b62e8 View commit details
    Browse the repository at this point in the history