__thumb, __thumb__

This preprocessor macro is defined if thumb code generation is enabled via compiler switch, settings panel option, or #pragma thumb.

Syntax
  __thumb
  
  
Remarks

This macro is undefined if thumb code generation is not enabled. The macro should always be defined for cortex-m4 processors.