Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload: Fix mbed_adjust_upload_debug_commands for multiple targets
The purpose of mbed_adjust_upload_debug_commands() is to adjust first version of MBED_UPLOAD_LAUNCH_COMMANDS. For multiple executalbe cmake targets, MBED_UPLOAD_LAUNCH_COMMANDS becomes not fresh and may cause error. To overcome this, one new cmake cache variable MBED_UPLOAD_LAUNCH_COMMANDS_BAK is introduced to save first version of MBED_UPLOAD_LAUNCH_COMMANDS.
- Loading branch information