MicroPython/esp.py

changeset 4
f5e2683cdbe6
child 8
f706499906b8
diff -r 2151a8fd54e3 -r f5e2683cdbe6 MicroPython/esp.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MicroPython/esp.py	Tue Aug 27 12:27:36 2019 +0200
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the def 'esp' module.
+"""
+
+SLEEP_NONE = 0
+SLEEP_MODEM = 0
+SLEEP_LIGHT = 0
+
+def sleep_type(sleep_type=None):
+    pass
+
+def deepsleep(time=0):
+    pass
+
+def flash_id():
+    pass
+
+def flash_size():
+    pass
+
+def flash_user_start():
+    pass
+
+def flash_read(byte_offset, length_or_buffer):
+    pass
+
+def flash_write(byte_offset, bytes):
+    pass
+
+def flash_erase(sector_no):
+    pass
+
+def set_native_code_location(start, length):
+    pass

eric ide

mercurial