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

Fix for libusb_kernel_driver_active & error handling for st.st_size #1210

Merged
merged 8 commits into from
Jan 23, 2022

Commits on Jan 5, 2022

  1. Update usb.c

    hydroconstructor committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    89f54e0 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. Update usb.c (correct typo)

    There are 2 calls _stlink_usb_exit_dfu_mode In usb.c (at lines 1284 and 1293) and no single call _stlink_usb_exit_debug_mode. Apparently typo on line 1293
    hydroconstructor committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    ab5c47b View commit details
    Browse the repository at this point in the history
  2. usb.c refactoring request: remove getenv("STLINK_DEVICE")

    There is no enironment variable "STLINK_DEVICE" in user system, and program do not set it. So I removed all code which works with it.
    hydroconstructor committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    4132973 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

  1. stlink-org#1214 issue fix

    Error in file size comparizon.
    Due to type casting, instead of compare file size with max. singed int value, it compares with -1. Then function returns with error message.
    hydroconstructor committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    b519c63 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. Removing env. var. STLINK_DEVICE from docs

    In stlink-org#1210 from codebase was removed functionality to specify ST-LINK by environment variable. This still mentioned in documentation, so I updated it.
    hydroconstructor committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    1e7d89f View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. Configuration menu
    Copy the full SHA
    6b22953 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. user gszy comment

    Comment was:
    removing the MAX_FILE_SIZE ifdef/define/endif,
    replacing the st.st_size > (off_t)SSIZE_MAX test with st.st_size > (intmax_t) SIZE_MAX,
    perhaps removing the sizeof(st.st_size) != sizeof(size_t) test as well.
    done here
    hydroconstructor committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    f6cfd1b View commit details
    Browse the repository at this point in the history
  2. Update doc/man/st-util.1

    Co-authored-by: Grzegorz Szymaszek <gszymaszek@short.pl>
    hydroconstructor and gszy committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    d0ed125 View commit details
    Browse the repository at this point in the history