Hi,
I am using a code analysis tool that invokes uVision to perform a project build from the command line. The build completes successfully but uVision always exits with code 1, causing the tool to complain. Why doesn't uVision exit with code 0 when successful ?
Thanks
Thanks. I discovered this shortly after posting my message. My project does have compiler warnings (mainly from 3rd party components such as mbedTLS) so this is why. Ideally I would like to leave warnings switched on but suppress exit code 1 but this does not seem possible.
Run a batch file instead? (That contains the Keil compilation and then returns 0.)