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

overall option code rework #927

Merged
merged 10 commits into from
Apr 19, 2020

Commits on Apr 16, 2020

  1. st-flash: print proper error in case of option byte read error.

    User could get a wrong "stlink_fread()" error in case of bad stlink_read_option_foo..
    grevaillot committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    ee4a522 View commit details
    Browse the repository at this point in the history
  2. add read, write option byte for g4 and g0

    use g0 code, same logic with different base address.
    also cleanup some duplicate lock/unlock code.
    grevaillot committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    8430a6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1801fb1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2aeae8d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92ceb7f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6f0795d View commit details
    Browse the repository at this point in the history
  7. option: refactor option flash code.

    unify option bytes read/write, interface, use chipid db to store size and base
    to provide some write sanity check and generic option read code.
    grevaillot committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    72cfd5e View commit details
    Browse the repository at this point in the history
  8. st-flash: add sanity check to option flash.

    current opt parse code can make bad cmdline parameter attempt to flash bad
    flash option.
    
    ie: calling st-flash write --area=option a_file.bin
    
    will make parser attempt to translate "a_file.bon" to an uint32 and will return 0..,
    grevaillot committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    e146a28 View commit details
    Browse the repository at this point in the history
  9. common.c: fix define - use Gx Base for Gx defines

    avoid some potential issues later.
    grevaillot committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    3aaec27 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2020

  1. indent

    grevaillot committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    19facc9 View commit details
    Browse the repository at this point in the history