Page 1 of 1

PIC24EP128MC202 --> restricted license

Posted: Mon Jan 21, 2019 9:42 am
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!

Re: PIC24EP128MC202 --> restricted license

Posted: Mon Jan 21, 2019 12:25 pm
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.