make BOARD show errors
hi, i have put lv_binding_micropythonas lv_bingings into microrpython lib,and i write this `#LittlevGL LVGL_BINDING_DIR = $(TOP)/lib/lv_bindings LVGL_DIR = $(LVGL_BINDING_DIR)/lvgl LVGL_GENERIC_DRV_DIR = $(LVGL_BINDING_DIR)/driver/generic INC += -I$(LVGL_BINDING_DIR) ALL_LVGL_SRC = $(shell find $(LVGL_DIR) -type f) $(LVGL_BINDING_DIR)/lv_conf.h LVGL_PP = $(BUILD)/lvgl/lvgl.pp.c LVGL_MPY = $(BUILD)/lvgl/lv_mpy.c LVGL_MPY_METADATA = $(BUILD)/lvgl/lv_mpy.json QSTR_GLOBAL_DEPENDENCIES += $(LVGL_MPY) CFLAGS_MOD += $(LV_CFLAGS)
$(LVGL_MPY): $(ALL_LVGL_SRC) $(LVGL_BINDING_DIR)/gen/gen_mpy.py $(ECHO) "LVGL-GEN $@" $(Q)mkdir -p $(dir $@) $(Q)$(CPP) $(LV_CFLAGS) -I $(LVGL_BINDING_DIR)/pycparser/utils/fake_libc_include $(INC) $(LVGL_DIR)/lvgl.h > $(LVGL_PP) $(Q)$(PYTHON) $(LVGL_BINDING_DIR)/gen/gen_mpy.py -M lvgl -MP lv -MD $(LVGL_MPY_METADATA) -E $(LVGL_PP) $(LVGL_DIR)/lvgl.h > $@
CFLAGS_MOD += -Wno-unused-function
SRC_MOD += $(subst $(TOP)/,,$(shell find $(LVGL_DIR)/src $(LVGL_GENERIC_DRV_DIR) -type f -name "*.c") $(LVGL_MPY))
in py.mk.then wehen i make BOARD,the error showUse make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
LVGL-GEN build-REGh743LQ208RMI_lvgl/lvgl/lv_mpy.c
Traceback (most recent call last):
File "/home/admin1/micropython/ports/stm32/../../lib/lv_bindings/gen/gen_mpy.py", line 299, in
Hello @klora-sun ,
if it is still actual:
please pull the lv_micropython repository, and checkout the multi-instance branch:
https://github.com/lvgl/lv_micropython/tree/feat/multi-instance
Then try again to build your board. Please send also the build command you run (so I can reproduce), and a screenshot of the error if it fails again.
PS: please embed every command/code/console text in "Code" format, so it will be cleaner in the comment.
Thank you!