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 Native SIM Socket virtual can #17

Merged
merged 2 commits into from
Aug 6, 2024

Commits on Aug 6, 2024

  1. posix: can: if name from command-line

    This commit introduces the ability to set the CAN
    interface from command-line. This is helpful
    if we want to run multiple instances of the app
    with different CAN interfaces without making
    separate compilations for each instance.
    
    Signed-off-by: Kacper Dalach <[email protected]>
    Dalachowsky authored and MP-StefanKraus committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    3a53673 View commit details
    Browse the repository at this point in the history
  2. feat: manage and use vcans for usage in native_sim

    This change adds capabilities to search and use virtual CAN devices in
    different native_sim test executions. Hereby, each execution gets its
    own virtual can device so no interference happens. If no vcan is found,
    it uses the one from device tree, but prints a warning before.
    
    This is not the cleanest solution, but works in our tests and fixes
    scaling problem for protocol tests without hardware
    
    Signed-off-by: Stefan Kraus <[email protected]>
    MP-StefanKraus committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    220ad08 View commit details
    Browse the repository at this point in the history