We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61cfb7a commit ec8a9b6Copy full SHA for ec8a9b6
micropython.mk
@@ -61,6 +61,15 @@ FROZEN_MANIFEST += $(LVGL_BINDING_DIR)/manifest.py
61
# Per-port Support
62
63
MICROPY_PORT = $(notdir $(CURDIR))
64
+$(info MICROPY_PORT: $(MICROPY_PORT))
65
+
66
+ifeq ($(MICROPY_PORT),mimxrt)
67
+CFLAGS_USERMOD += -DLV_USE_PXP=1 -DLV_USE_DRAW_PXP=1 -DLV_USE_GPU_NXP_PXP=1 -DLV_USE_GPU_NXP_PXP_AUTO_INIT=1
68
69
+$(BUILD)/$(MOD_DIRNAME)/lvgl/src/draw/nxp/pxp/lv_draw_pxp.o: CFLAGS_USERMOD += -Wno-error=unused-variable
70
+$(BUILD)/$(MOD_DIRNAME)/lvgl/src/draw/nxp/pxp/lv_draw_pxp_img.o: CFLAGS_USERMOD += -Wno-error=float-conversion
71
72
+endif
73
74
ifeq ($(MICROPY_PORT),unix)
75
# This section only included when building the micropython unix port
0 commit comments