Browse Source

* allow very small heaps for avr

git-svn-id: trunk@33071 -
florian 9 năm trước cách đây
mục cha
commit
ddad3b3166
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      compiler/options.pas

+ 7 - 1
compiler/options.pas

@@ -1178,7 +1178,13 @@ begin
                     'h' :
                       begin
                          val(copy(more,j+1,length(more)-j),heapsize,code);
-                         if (code<>0) or (heapsize<1024) then
+                         if (code<>0)
+{$ifdef AVR}
+                         or (heapsize<32)
+{$else AVR}
+                         or (heapsize<1024)
+{$endif AVR}
+                         then
                            IllegalPara(opt);
                          break;
                       end;