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 a CLI for encoding/decoding register content #17

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Nov 29, 2024

  1. svd: add a package logger instance

    Add a logger instance that can be used in the various modules.
    
    Signed-off-by: Jonathan Nilsen <[email protected]>
    jonathannilsen committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    4d5dcf3 View commit details
    Browse the repository at this point in the history
  2. svd: add helper for populating and outputting device memory

    Adds a utility module with helpers for populating and outputting
    device memory.
    
    The following formats are supported for input/output:
    * A dict mapping address -> value (at a byte level)
    * A dict mapping a device-like structure to register/field values
    
    The following format is currently only supported for output:
    * A bytearray containing device memory
    
    The APIs for generating outputs offer a flexible "selector"
    mechanism that lets the user decide which part of the device to
    output.
    
    Signed-off-by: Jonathan Nilsen <[email protected]>
    jonathannilsen committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    b2fd072 View commit details
    Browse the repository at this point in the history
  3. svd: add a CLI with utility scripts

    Add a CLI intended for various utility scripts.
    For now there is a single command that can be used to generate
    register content descriptions.
    
    Signed-off-by: Jonathan Nilsen <[email protected]>
    jonathannilsen committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    ded261c View commit details
    Browse the repository at this point in the history