Fix random number generation on ESP8266

This patch uses the onboard RTC for generating random seed. It also improves the print handler to support float values.
The rom segment is slightly increased to fit to the latest master.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
This commit is contained in:
Robert Fancsik authored and yichoi committed 2018-01-04 19:22:08 +09:00
1 parent c3c0bb8ddc
commit 543f75a6c3
4 files changed
+17 -11

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
function sysloop(ticknow) {
blink();
};
print("Random generated number: ", Math.random());
print("main js OK");