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 build information to libavrdude and avrdude and display it #1698

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

Commits on Sep 4, 2024

  1. Add support for long options, and --help option

    Switch from getopt() to getopt_long() and add a long "--help" argument
    as alias to the "-?" argument.
    
    Note that the getopt_long() function is available on GNU, BSD, and the
    existing msvc/getopt.[ch] already implements getopt_long() on Windows.
    ndim committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    d3483bf View commit details
    Browse the repository at this point in the history
  2. XXX add basic buildinfo ideas

    Add basic buildinfo ideas, quick and dirty and not tested comprehensively:
    
      * Define build information for libavrdude and the avrdude tool
    
      * Add a long "--version" argument which shows a long version message.
    
    XXX Just add the output to "avrdude -v" header?
    ndim committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e1b2002 View commit details
    Browse the repository at this point in the history
  3. XXX POC key value structured buildinfo for avrdude, libavrdude

    XXX Define the first (key, value) tuple to be
    (package_name, package_version)?
    
    If there is any extra information, we can always later add
    a (key,value) tuple like e.g. ("git branch", "main")
    ndim committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    8848265 View commit details
    Browse the repository at this point in the history