(feat) Add basic mimxrt support.
AN
3mo ago+28+28+01234567890123456789-2-2-0123456789
I'm working on getting LVGL working cleanly on the NXP 1170 EVK with a LVGL v9 compatible driver in progress here: https://github.com/andrewleech/imxrt1170_display_driver
These minimal changes to the LVGL bindings files enables the build environment to enable port specific features more easily.
Summary by cubic
Add basic NXP i.MX RT (mimxrt) support with PXP acceleration and port-aware build rules. LVGL v9 now runs on the RT1170 EVK with PXP.
- New Features
- Detect the active port in
micropython.mk; add amimxrtblock that setsLV_USE_PXP,LV_USE_DRAW_PXP,LV_USE_GPU_NXP_PXP, andLV_USE_GPU_NXP_PXP_AUTO_INITviaCFLAGS_USERMOD, and silences specific PXP driver warnings for a clean-Werrorbuild. - Guard
LV_DRAW_BUF_ALIGN,LV_USE_PXP,LV_USE_DRAW_PXP, andLV_USE_ROTATE_PXPwith#ifndefinlv_conf.hso boards can override via build flags without redefinition warnings. - Add a
submodulesrule to initializelvglandpycparserfrom the port build withmake submodules.
- Detect the active port in