Olimex Support Forum

Microcontrollers => PIC => Topic started by: katela on November 22, 2013, 11:59:20 am

Title: PIC-USB-STK with XC8
Post by: katela on November 22, 2013, 11:59:20 am
Hi,
I bought the PIC-USB-STK development boards, all the codes related to this boards were written for the C18 compiler, does any one with a working code that can run with the new XC8 compiler?
I tried to convert but i'm really struggling.  Thanks guys please help
Title: Re: PIC-USB-STK with XC8
Post by: LubOlimex on November 22, 2013, 04:29:29 pm
Hello katela,

We are also struggling converting C18 examples to XC8. We decided it is impossible to do it for most of the boards.

It is much much easier to migrate C32 to XC16 and we have done it for all PIC32 boards. Unfortunately, probably it would need some time for the XC8 support to reach the level of C18.

Until then (probably you have noticed it) here is a migration guide: http://ww1.microchip.com/downloads/en/DeviceDoc/50002184A.pdf (http://ww1.microchip.com/downloads/en/DeviceDoc/50002184A.pdf)

Best regards,
Lub/OLIMEX