Skip to content

[Feature] Make "Run without debuggnig" configurable (for embedded dev) #4904

@positron96

Description

@positron96

Request Overview

The "Run without debugging" action just tries to execute the build artifact on host.

This makes it useless for embedded MCU development where the compilation artifact is a firmware file intended to be run on a microcontroller. To be run it needs to be written to MCU in a vendor-specific way.

Please make this action configurable, so that it can invoke a programmer to flash the firmware onto MCU. This is already working for debugging, where there is a "cmake.debugConfig" option that uses whatever debugging configuration the developer has configured.
Don't know what the ideal way to implement this would be, right now I use a custom task (defined in tasks.json) that invokes the programmer.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementan enhancement to the product that is either not present or an improvement to an existing feature

    Type

    No type

    Projects

    Status

    Blocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions