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

boot_serial: minor fixes in 'erase_range()' log output and for 'bs_list()' #1803

Closed
wants to merge 3 commits into from

Commits on Sep 12, 2023

  1. boot_serial: drop redundant parameters from 'bs_list()'

    The 'buf' and 'len' parameters aren't used inside 'bs_list()' function.
    
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
    pepe2k committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    e974c8f View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. boot_serial: include flash area offset in log info

    Currently, log info in 'erase_range()' and 'bs_upload()' shows range
    being erased/written relative to selected flash area which might be
    misleading. Include flash area offset in output so that the absolute
    addresses of the range being erased/written are shown.
    
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
    pepe2k committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    5785f1f View commit details
    Browse the repository at this point in the history
  2. boot_serial: don't use '%j' length modifier with Zephyr's minimal libc

    The Zephyr's 'Minimal C library' doesn't support the '%j' length
    modifier when 'cbprintf' is configured with minimum features.
    
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
    pepe2k committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    5045928 View commit details
    Browse the repository at this point in the history