mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-07 23:39:24 +01:00
+ avrsim6 controller type
This commit is contained in:
parent
761b451962
commit
a685e2aa5a
@ -59,6 +59,7 @@ Type
|
||||
(ct_none,
|
||||
|
||||
ct_avrsim,
|
||||
ct_avrsim6,
|
||||
|
||||
ct_at90can32,
|
||||
ct_at90can64,
|
||||
@ -358,6 +359,19 @@ Const
|
||||
sramsize:32*1024;
|
||||
eeprombase:0;
|
||||
eepromsize:4096;
|
||||
),
|
||||
(
|
||||
controllertypestr:'AVRSIM6';
|
||||
controllerunitstr:'AVRSIM';
|
||||
|
||||
cputype: cpu_avr6;
|
||||
fputype: fpu_soft;
|
||||
flashbase:0;
|
||||
flashsize:$400000;
|
||||
srambase:256;
|
||||
sramsize:60*1024;
|
||||
eeprombase:0;
|
||||
eepromsize:4096;
|
||||
)
|
||||
,(controllertypestr:'AT90CAN32';controllerunitstr:'AT90CAN32';cputype:cpu_avr5;fputype:fpu_soft;flashbase:0;flashsize:32768;srambase:256;sramsize:2048;eeprombase:0;eepromsize:1024;bootbase:24576;bootsize:8192)
|
||||
,(controllertypestr:'AT90CAN64';controllerunitstr:'AT90CAN64';cputype:cpu_avr5;fputype:fpu_soft;flashbase:0;flashsize:65536;srambase:256;sramsize:4096;eeprombase:0;eepromsize:2048;bootbase:57344;bootsize:8192)
|
||||
|
||||
@ -4985,7 +4985,7 @@ begin
|
||||
case target_info.system of
|
||||
{$ifdef AVR}
|
||||
system_avr_embedded:
|
||||
if init_settings.controllertype=ct_avrsim then
|
||||
if init_settings.controllertype in [ct_avrsim,ct_avrsim6] then
|
||||
heapsize:=8192
|
||||
else
|
||||
heapsize:=128;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user