codetools: added processor types of avr, patch #28996 from Simon Ameis

git-svn-id: trunk@50316 -
This commit is contained in:
mattias 2015-11-12 10:42:15 +00:00
parent dae9ce8c70
commit c7f3cc0e1c

View File

@ -2919,10 +2919,25 @@ procedure GetTargetProcessors(const TargetCPU: string; aList: TStrings);
aList.Add('mips32'); aList.Add('mips32');
aList.Add('mips32r2'); aList.Add('mips32r2');
end; end;
procedure AVR;
begin
aList.Add('AVR1');
aList.Add('AVR2');
aList.Add('AVR25');
aList.Add('AVR3');
aList.Add('AVR31');
aList.Add('AVR35');
aList.Add('AVR4');
aList.Add('AVR5');
aList.Add('AVR51');
aList.Add('AVR6');
end;
begin begin
case TargetCPU of case TargetCPU of
'arm' : Arm; 'arm' : Arm;
'avr' : AVR;
'i386' : Intel_i386; 'i386' : Intel_i386;
'm68k' : ; 'm68k' : ;
'powerpc': PowerPC; 'powerpc': PowerPC;