2.1 Device Description
This compiler guide describes the MPLAB XC8 compiler’s support for all 8-bit Microchip AVR devices, including tinyAVR®, and AVR XMEGA® devices.
The compiler takes advantage of the target device’s instruction set, addressing modes, memory, and registers whenever possible. A summary of the device families is shown below. This includes the offset of the special function registers and the offset at which program memory is mapped into the data space (where relevant).
See 3.6.2.4 Print-devices for information on finding the full list of devices that are supported by the compiler. Support for a new device might be possible after downloading an updated Device Family Pack.
Family | ArchID | SFR Offset | Mapped Flash Address |
---|---|---|---|
avr1 | 1 | 0x20 | n/a |
avr2 | 2 | 0x20 | n/a |
avr25 | 25 | 0x20 | n/a |
avr3 | 3 | 0x20 | n/a |
avr31 | 31 | 0x20 | n/a |
avr35 | 35 | 0x20 | n/a |
avr4 | 4 | 0x20 | n/a |
avr5 | 5 | 0x20 | n/a |
avr51 | 51 | 0x20 | n/a |
avr6 | 6 | 0x20 | n/a |
avrtiny | 100 | 0x0 | 0x4000 |
avrxmega2 | 102 | 0x0 | n/a |
avrxmega3 | 103 | 0x0 | 0x8000 |
avrxmega4 | 104 | 0x0 | n/a |
avrxmega5 | 105 | 0x0 | n/a |
avrxmega6 | 106 | 0x0 | n/a |
avrxmega7 | 107 | 0x0 | n/a |