XC8 V2 Changes

https://microchipdeveloper.com/xc8:moving-to-xc8-2-0 Includes You no longer include the device specific header file like this: Instead you always include this file: This header file is typically included into each C source file you write. It is a generic header file that will include other device- and architecture-specific header files when you build your project. Peripheral Libraries Seems […]

Read More

Peripheral Libraries

Newer versions of XC8 want you to use the “MPLAB Code Configurator” when using any peripheral. Using the old peripheral libraries If you don’t want to use the MPLAB Code Configurator you can still get the old peripheral libraries by downloading and installing “PIC18F Legacy Peripheral Libraries v#.#” from the microchip compilers page. Install it […]

Read More

.New XC8 Project

New XC8 Projects Which XC8 Compiler Version? V2 breaks loads of things that used to work just fine (classic Microchip don’t give a sod about backwards compatibility). If you don’t need to use V2 and want an easy life why on earth bother, just stay with V1. V2 seems you really have to use the […]

Read More