I had the same issue while running my code on IAR Embedded Workbench for ARM 7.60.2.The answer by @VRapa worked for me. I followed the instructions (Project --> Options --> General Options --> Target), and under "Device", selected the processor for ...