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

Upload: NUVOTON: Change GDB load command to flash post-build processed image #341

Commits on Oct 7, 2024

  1. Upload: PyOCD: Halt device after UPLOAD_LAUNCH_COMMANDS

    For pyocd debug, it appears the device under debug must be halted after
    UPLOAD_LAUNCH_COMMANDS, or debugger will become abnormal.
    ccli8 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e3c163b View commit details
    Browse the repository at this point in the history
  2. Convert output to Intel HEX format unconditionally in post-build

    This converts output to Intel HEX format unconditionally but to BIN
    format just on demand for the following reasons:
    1. Most flash programming tools support Intel HEX format, e.g. GDB
       load command.
    2. Output can have large holes in addresses which BIN format cannot
       handle and can generate very large file.
    ccli8 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    bc96a44 View commit details
    Browse the repository at this point in the history
  3. Upload: Support adjustment of debug commands for debug launch

    This gives chance to adjust GDB commands MBED_UPLOAD_LAUNCH_COMMANDS
    or MBED_UPLOAD_RESTART_COMMANDS for debug launch by implementing
    mbed_adjust_upload_debug_commands cmake function.
    ccli8 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    4cd3662 View commit details
    Browse the repository at this point in the history
  4. Upload: Change GDB load command to flash post-build processed image

    With this adjustment, GDB load command changes to "load <app>.hex" from
    just "load":
    1. "Load" will load <app>.elf and is inappropriate for targets like
       bootloader or TF-M enabled which need to post-build process images.
    2. "load <app>.bin" is not considered because GDB load command doesn't
       support binary format.
    ccli8 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    176ebe6 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Upload: Generate GDB command line gdbinit for multiple application

    This enables generating GDB command line gdbinit file for single project
    multiple application scenario. The gdbinit file name would be <app>.gdbinit
    for distinct among multiple applications.
    ccli8 committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    5d31030 View commit details
    Browse the repository at this point in the history