so it's a variable redefined error, mp_lv_msg_subsribe_obj is redefined.
why
if enable LV_USE_MSG LVGL enable two native function : lv_msg_subscribe and lv_msg_subsribe_obj.
but gen_mpy.py create the micropython function obj lv_msg_subsribe_obj for lv_msg_subscribe , so confict to the native LVGL function lv_msg_subsribe_obj.
so maybe gen_mpy.py must check micropython function obj name not confict with LVGL native function.
Hi,
version
newest master branch 649ce43c23634a8cdf9d1db6ba8aa9800e6e6793
error reproduce
enable LV_USE_MSG in lv_config.h
gcc error message
error file is lv_mpy.c
lv_mpy.c error parts:
so it's a variable redefined error, mp_lv_msg_subsribe_obj is redefined.
why
if enable LV_USE_MSG LVGL enable two native function : lv_msg_subscribe and lv_msg_subsribe_obj.
but gen_mpy.py create the micropython function obj lv_msg_subsribe_obj for lv_msg_subscribe , so confict to the native LVGL function lv_msg_subsribe_obj.
so maybe gen_mpy.py must check micropython function obj name not confict with LVGL native function.