summaryrefslogtreecommitdiff
path: root/esp8266/etshal.h
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/etshal.h')
-rw-r--r--esp8266/etshal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/esp8266/etshal.h b/esp8266/etshal.h
index 115ff7a88..d8a57e8c7 100644
--- a/esp8266/etshal.h
+++ b/esp8266/etshal.h
@@ -3,6 +3,9 @@
#include <os_type.h>
+// see http://esp8266-re.foogod.com/wiki/Random_Number_Generator
+#define WDEV_HWRNG ((volatile uint32_t*)0x3ff20e44)
+
void ets_delay_us();
void ets_intr_lock(void);
void ets_intr_unlock(void);