The Keil IDE throws the below error at line 866. How to resolve it?
Hello, your BKPT instruction format is incorrect:https://developer.arm.com/documentation/dui0497/a/BABHCHGB
Regards, Ronan
Thanks for the response.
I don't really understand how to replace __asm__("bkpt") with the reference you have pointed. Please help me here.
You need to provide a breakpoint number, for example:
__asm__("bkpt #0");
Thanks Ronan! This resolved my problem.