In uVision 5, is there a way to have one button or one shortcut key that will do a Build immediately followed by a Download if the build is successful?
I am very often clicking Build, then waiting for the compile to finish so I can click Download to flash my target hardware. It would really be nice to be able to automate this in one click or one keyboard function key.
G . said:Isn't this what the "Start Debugging" option does in Target Options -> User ?
This option does a bit more than Wayne Fannon requested. It also starts a debug session. The option 'Options for Target - Utilities - Update Target before Debugging' should be set to download the project to the Flash between building the project and starting a debug session.
As a workaround, you could set this option and you could put an 'exit' command into an initialization file for the debugger. Then, a successful project build would download the project into Flash, would then start the debugger and would then terminate it immediately.
But then when you really want to debug, you would need to change the init file, not optimal I think.