PIC24EP128MC202 --> restricted license

Moderator: Benj

Post Reply
Jörg Güldner
Posts: 77
Joined: Wed Jun 22, 2011 3:32 pm
Has thanked: 17 times
Been thanked: 11 times
Contact:

PIC24EP128MC202 --> restricted license

Post by Jörg Güldner »

Hello Matrix team,
is for this controller the c-compiler restricted or what happens here? I´m not able to change bits in the oscillator section.

Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat
"PIC24EP128MC202" "C:\Flowcode\FLOWCO~1\FLA8AA~1\PROJEK~1\WS2812\" "24EP128MC202"

C:\Flowcode\FLOWCO~1\FLA8AA~1\PROJEK~1\WS2812>xc16-gcc -c -mcpu="24EP128MC202" -omf=coff
-funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic16\BATCHF~1\..\support\h"
-I"C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic16\BATCHF~1\" -std=gnu99 "PIC24EP128MC202".c -o "PIC24EP128MC202".o

Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.

PIC24EP128MC202.c:248:1: warning: '_FICD' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FPOR' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FWDT' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FOSC' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FOSCSEL' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FGS' definition has been deprecated: consider migrating to #pragma config

Compilation successful!

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PIC24EP128MC202 --> restricted license

Post by Benj »

Hello,
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
This simply means you're using the free version of the XC16 compiler.
PIC24EP128MC202.c:248:1: warning: '_FICD' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FPOR' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FWDT' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FOSC' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FOSCSEL' definition has been deprecated: consider migrating to #pragma config
PIC24EP128MC202.c:248:1: warning: '_FGS' definition has been deprecated: consider migrating to #pragma config
This simply means the way we are currently setting the config values is the old way and the XC16 compiler would prefer we use the new way as there is less to go wrong when coding values by hand. As we don't code the values by hand it's less of a concern. Moving to the new method would be considerable work for very little gain and so we have not done this yet.

Post Reply