I was updating my code, to remove a hack and do things properly, but code is now broken and i can't find where/why
Hack consisted on patching qp_comms_spi.c to make the functions weak, such that the custom communications layer (needed because of my weird hw design choices) was provided by sipo.c implementing the same functions names, making drivers work without further changes (namely, the pointers in the communications' vtable now pointed to my functions instead of "official" ones)
In sake of testing PR25591 + finally clean this shit up, I've removed such patch. Im now creating my own vtable, and have written a couple wrappers for the make_spi_device function of both the screens i use (ILI9163 and ILI9341) that call the "vanilla" make_device and then swap the vtable pointer. As far as I can tell, the idea is correct.
I would love if a second pair of eyes checks for something I might have broken when performing the changes. Thanks in advance.