esp8266: Add module weak link from json to ujson.

This commit is contained in:
Damien George 2016-02-11 11:36:19 +00:00 committed by Paul Sokolovsky
parent 1a0adf49df
commit 8000d51b68
2 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,7 @@ extern const struct _mp_obj_module_t mp_module_machine;
#define MICROPY_PORT_BUILTIN_MODULE_WEAK_LINKS \
{ MP_OBJ_NEW_QSTR(MP_QSTR_time), (mp_obj_t)&utime_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_os), (mp_obj_t)&uos_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_json), (mp_obj_t)&mp_module_ujson }, \
#define MP_STATE_PORT MP_STATE_VM

View File

@ -163,3 +163,5 @@ Q(mode)
Q(period)
Q(ONE_SHOT)
Q(PERIODIC)
Q(json)