3.4.15 Cpu Option

The -mcpu=device option must be used to specify the target device when building. This is the only option that is mandatory.

For example -mcpu=18f6722 will select the PIC18F6722 device. To see a list of supported devices that can be used with this option, use the -mprint-devices option (3.4.20 Print-devices).