-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make BOARD show errors #304
Comments
Hello @klora-sun , if it is still actual: Then try again to build your board. PS: please embed every command/code/console text in "Code" format, so it will be cleaner in the comment. Thank you! |
hi, i have put lv_binding_micropythonas lv_bingings into microrpython lib,and i write this `#LittlevGL$(shell find $ (LVGL_DIR) -type f) $(LVGL_BINDING_DIR)/lv_conf.h
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 =
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)
CFLAGS_MOD += -Wno-unused-function$(subst $ (TOP)/,,$(shell find $(LVGL_DIR)/src $ (LVGL_GENERIC_DRV_DIR) -type f -name "*.c") $(LVGL_MPY))
SRC_MOD +=
in py.mk.then wehen i make BOARD,the error show
Use 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
ast = parser.parse(s, filename='')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin1/micropython/lib/lv_bindings/gen/../pycparser/pycparser/c_parser.py", line 149, in parse
return self.cparser.parse(
^^^^^^^^^^^^^^^^^^^
File "/home/admin1/micropython/lib/lv_bindings/gen/../pycparser/pycparser/ply/yacc.py", line 331, in parse
return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin1/micropython/lib/lv_bindings/gen/../pycparser/pycparser/ply/yacc.py", line 1199, in parseopt_notrack
tok = call_errorfunc(self.errorfunc, errtoken, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin1/micropython/lib/lv_bindings/gen/../pycparser/pycparser/ply/yacc.py", line 193, in call_errorfunc
r = errorfunc(token)
^^^^^^^^^^^^^^^^
File "/home/admin1/micropython/lib/lv_bindings/gen/../pycparser/pycparser/c_parser.py", line 1861, in p_error
self._parse_error(
File "/home/admin1/micropython/lib/lv_bindings/gen/../pycparser/pycparser/plyparser.py", line 67, in _parse_error
raise ParseError("%s: %s" % (coord, msg))
pycparser.plyparser.ParseError: ../../lib/lv_bindings/lvgl/src/misc/lv_log.h:72:39: before: attribute
make: *** [../../py/py.mk:41:build-REGh743LQ208RMI_lvgl/lvgl/lv_mpy.c] 错误 1
make: *** 正在删除文件“build-REGh743LQ208RMI_lvgl/lvgl/lv_mpy.c”`
could someone help
The text was updated successfully, but these errors were encountered: