version 5.04.89
The OSCtype line used to work fine in previous versions of the compiler but after upgrading I get a compiler error on that line now:
"Error: Error: 12 Parameter DFLL can be used only with in2MHz and int32Mhz."
The OSCtype line used to work fine in previous versions of the compiler but after upgrading I get a compiler error on that line now:
"Error: Error: 12 Parameter DFLL can be used only with in2MHz and int32Mhz."
Code
program Test;
{$NOSHADOW}
{ $WG} {global Warnings off}
Device = xmega64A3, VCC=5;
{ $BOOTRST $08000} {Reset Jump to $08000}
Import SysTick;
From System Import ;
Define
OSCtype = int32MHz,
PLLmul=4,
prescB=1,
prescC=1,
DFLLext;
SysTick = 10; {msec}
StackSize = $0064, iData;
FrameSize = $0064, iData;
Implementation
{$IDATA}
{--------------------------------------------------------------}
{ Type Declarations }
type
{--------------------------------------------------------------}
{ Const Declarations }
{--------------------------------------------------------------}
{ Var Declarations }
{$IDATA}
{--------------------------------------------------------------}
{ functions }
{--------------------------------------------------------------}
{ Main Program }
{$IDATA}
begin
loop
endloop;
end Test.
{$NOSHADOW}
{ $WG} {global Warnings off}
Device = xmega64A3, VCC=5;
{ $BOOTRST $08000} {Reset Jump to $08000}
Import SysTick;
From System Import ;
Define
OSCtype = int32MHz,
PLLmul=4,
prescB=1,
prescC=1,
DFLLext;
SysTick = 10; {msec}
StackSize = $0064, iData;
FrameSize = $0064, iData;
Implementation
{$IDATA}
{--------------------------------------------------------------}
{ Type Declarations }
type
{--------------------------------------------------------------}
{ Const Declarations }
{--------------------------------------------------------------}
{ Var Declarations }
{$IDATA}
{--------------------------------------------------------------}
{ functions }
{--------------------------------------------------------------}
{ Main Program }
{$IDATA}
begin
loop
endloop;
end Test.