esp8266: Add "socket" and "usocket" aliases for lwip module.
This commit is contained in:
parent
494aea3e86
commit
df1f6783f2
@ -98,6 +98,8 @@ extern const struct _mp_obj_module_t mp_module_machine;
|
||||
{ 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_lwip), (mp_obj_t)&mp_module_lwip }, \
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_socket), (mp_obj_t)&mp_module_lwip }, \
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_usocket), (mp_obj_t)&mp_module_lwip }, \
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_network), (mp_obj_t)&network_module }, \
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_utime), (mp_obj_t)&utime_module }, \
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_uos), (mp_obj_t)&uos_module }, \
|
||||
|
@ -54,6 +54,7 @@ Q(machine)
|
||||
|
||||
Q(esp)
|
||||
Q(socket)
|
||||
Q(usocket)
|
||||
Q(connect)
|
||||
Q(disconnect)
|
||||
Q(wifi_mode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user