Not enough DMA-able memory to allocate display buffer

Have a look at these:

520KB is a lot, and should be enough for Micropython+lvgl+wifi.
Which display driver do you use? ili9341.py?

Try to add wifi, but don’t initialize the display. Then check how much free RAM you have:

>>> import gc
>>> gc.collect()
>>> gc.mem_free()

You may need to change WiFi parameters, and/or display driver parameters.