Skip to content

Commit fa47beb

Browse files
author
Daniel Campora
committed
cc3200: Add struct weak link for ustruct.
1 parent 8eb802a commit fa47beb

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

cc3200/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ extern const struct _mp_obj_module_t mp_module_ussl;
122122
{ MP_OBJ_NEW_QSTR(MP_QSTR_ussl), (mp_obj_t)&mp_module_ussl }, \
123123

124124
#define MICROPY_PORT_BUILTIN_MODULE_WEAK_LINKS \
125+
{ MP_OBJ_NEW_QSTR(MP_QSTR_struct), (mp_obj_t)&mp_module_ustruct }, \
125126
{ MP_OBJ_NEW_QSTR(MP_QSTR_re), (mp_obj_t)&mp_module_ure }, \
126127
{ MP_OBJ_NEW_QSTR(MP_QSTR_json), (mp_obj_t)&mp_module_ujson }, \
127128
{ MP_OBJ_NEW_QSTR(MP_QSTR_heapq), (mp_obj_t)&mp_module_uheapq }, \

cc3200/qstrdefsport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Q(/sd/lib)
7070
#endif
7171

7272
// for module weak links
73+
Q(struct)
7374
Q(binascii)
7475
Q(re)
7576
Q(json)

0 commit comments

Comments
 (0)