Browse Source

* enable random on avr, it does not increase program size if not used

florian 3 years ago
parent
commit
ab1a31d9ac
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rtl/embedded/system.cfg

+ 4 - 0
rtl/embedded/system.cfg

@@ -35,6 +35,10 @@
 # include exit code support
 -SfEXITCODE
 
+#ifdef CPUAVR
+-SfRANDOM
+#endif CPUAVR
+
 # i386 is powerful enough to handle most object pascal constructs
 # it is only a matter of size
 #ifdef CPUI386