summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/mpconfigport.h
diff options
context:
space:
mode:
authorJosef Gajdusek <atx@atx.name>2015-05-11 21:11:37 +0200
committerDamien George <damien.p.george@gmail.com>2015-05-13 00:12:54 +0100
commit103d12a877f09e5d812f8c9c1fbf13ddbea4f78c (patch)
tree6ae6fc565aa5064d270d8254bede2c9d24ec7694 /esp8266/mpconfigport.h
parentb47931978feffc7739fab7261b81caed1622fc9d (diff)
downloadmicropython-103d12a877f09e5d812f8c9c1fbf13ddbea4f78c.tar.gz
micropython-103d12a877f09e5d812f8c9c1fbf13ddbea4f78c.zip
esp8266: Add utime and pyb.RTC
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r--esp8266/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 6d70c48e21..1c5932f9de 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -64,10 +64,12 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
// extra built in modules to add to the list of known ones
extern const struct _mp_obj_module_t pyb_module;
extern const struct _mp_obj_module_t esp_module;
+extern const struct _mp_obj_module_t utime_module;
#define MICROPY_PORT_BUILTIN_MODULES \
{ MP_OBJ_NEW_QSTR(MP_QSTR_pyb), (mp_obj_t)&pyb_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_esp), (mp_obj_t)&esp_module }, \
+ { MP_OBJ_NEW_QSTR(MP_QSTR_utime), (mp_obj_t)&utime_module }, \
#define MP_STATE_PORT MP_STATE_VM