Symptoms

I'm getting the error "selected processor does not support Thumb mode." What does this mean?

Diagnosis

If you are getting this error, floating point needs to be enabled in the Assembler.

Solution

If you go to the properties of your project by right-clicking on it in Simplicity Studio and selecting Properties, you can navigate to [C/C++ Build] > [Settings].

 

From here, first make sure that Enable Hardware Floating Point is checked under [GNU ARM C Compiler] > [Miscellaneous].

 

Next do the same for [GNU ARM C Linker] > [General].

 

Now, go to GNU ARM Assembler. The Command text box needs to have floating point enabled in it. 

 

For Soft floating calling conventions, add the following line to the end of the contents in the Command text box:

 

 

-mfpu=fpv4-sp-d16 -mfloat-abi=softfp

 

 

For FPU-specific calling conventions, add the following line to the end of the contents in the Command text box:

 

 

-mfpu=fpv4-sp-d16 -mfloat-abi=hard

 

 

  • Knowledge Base Articles
  • 32-bit MCUs