mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:39:28 +02:00
* handle controller type already in the first options pass_1
* set heapsize for the avrsim controller target to a reasonable size git-svn-id: trunk@33068 -
This commit is contained in:
parent
a4ed9f3b54
commit
fd61d65313
@ -1007,7 +1007,7 @@ begin
|
||||
((length(opt)>1) and (opt[2] in ['i','d','v','T','u','n','X','l'])) or
|
||||
((length(opt)>3) and (opt[2]='F') and (opt[3]='e')) or
|
||||
((length(opt)>3) and (opt[2]='C') and (opt[3]='p')) or
|
||||
((length(opt)>3) and (opt[2]='W') and (opt[3]='m'))
|
||||
((length(opt)>3) and (opt[2]='W') and (opt[3] in ['m','p']))
|
||||
)
|
||||
) then
|
||||
exit;
|
||||
@ -3483,8 +3483,13 @@ begin
|
||||
if target_info.system in systems_embedded then
|
||||
begin
|
||||
case target_info.system of
|
||||
{$ifdef AVR}
|
||||
system_avr_embedded:
|
||||
heapsize:=128;
|
||||
if init_settings.controllertype=ct_avrsim then
|
||||
heapsize:=8192
|
||||
else
|
||||
heapsize:=128;
|
||||
{$endif AVR}
|
||||
system_arm_embedded:
|
||||
heapsize:=256;
|
||||
system_mipsel_embedded:
|
||||
|
Loading…
Reference in New Issue
Block a user