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
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