Interrupt Service Routines cannot be coded in Thumb mode

Comments

2 comments

  • Avatar
    Jon Elliott

    It sounds like you are doing the right thing however make sure that you are setting the instruction set property in the correct build configuration - presumably you want it to apply to all configurations, in which case set it using the "Common" build configuration.

    0
    Comment actions Permalink
  • Avatar
    daniel debeer

    I have found the magic handshake:  Highlight the file Project Explorer and in the Properties window change the instruction set to Thumb. Select another file in Project explorer and then go back to the one that needs to be in ARM instructions.  Change the Thumb to ARM and see that the 'Instruction set' is in Bold characters.  Now it will compile in ARM instructions.  Somehow, the selection is not reliable till you go to Thumb and back to ARM and the field is in bold.

    Daniel

    0
    Comment actions Permalink

Please sign in to leave a comment.