Thanks for your reply @jaredwolff, but my problem isn’t the usage of different boards.
I wanted to create a new display driver within my project dir as mentioned in your blog post. But if I use this with lvgl it doesn’t compile (" undefined reference to
__device_dts_ord_128").
That’s why I copied the unchanged driver files in my zephyr directory (zephyr/drivers/display) and edited manually the CMakeList and Kconfig of the zephyr driver directory and then it works and compiles correctly (without any change to my app code or project config)
Snippet from my prj.conf:
#new display
CONFIG_SSD7317=y
CONFIG_DISPLAY=y
CONFIG_LVGL=y
CONFIG_LV_MEM_CUSTOM=y
CONFIG_LV_USE_LOG=n
CONFIG_LV_USE_LABEL=y
CONFIG_LV_USE_BTN=y
CONFIG_LV_USE_IMG=y
CONFIG_LV_FONT_MONTSERRAT_14=y