浏览代码

* enable more feature on avr, as long as no pascal level file I/O is used, this does not hurt

git-svn-id: trunk@34975 -
florian 8 年之前
父节点
当前提交
8b3478617d
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      rtl/embedded/rtl.cfg

+ 10 - 0
rtl/embedded/rtl.cfg

@@ -5,6 +5,7 @@
 -SfTEXTIO
 -SfFILEIO
 -SfHEAP
+
 # uncomment to enable the stuff you want to use
 
 # include full heap management into the rtl
@@ -105,3 +106,12 @@
 -SfRANDOM
 -SfRESOURCES
 #endif CPUMIPSEL
+
+# does not require extra memory, neither code nor data
+# in programs not using e. g. writeln based I/O which is the common case for AVR
+#ifdef CPUAVR
+-SfOBJECTS
+-SfEXCEPTIONS
+-SfCLASSES
+-SfRTTI
+#endif