20.3.4 Device Name and Family (Architecture) Macros

The compiler defines a symbol based on the target device set with -mcpu=. For example, -mcpu=30F6014, which defines the symbol __dsPIC30F6014__.

In addition, one of the following symbols is defined for the target device family.

__dsPIC30F__

__dsPIC33F__

__dsPIC33E__

__dsPIC33C__