--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/esp.py Thu Aug 29 19:05:05 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