Controlling WLED from a master microprocessor/dsp

Instead of controlling my WLED/ESP2866 instances from Xlights, I would like to use a beefy microprocessor that is doing custom animations and processing like FFTs, etc. The most direct way I have thought of is to connect another ESP2866 to this dsp via UART or SPI, and use it to broadcast WLED API commands over Wifi (i.e. a UART to Wifi adapter of sorts).

So I would need ESP2866 firmware that powers up, waits for data from UART/SPI and forwards it to Wifi, and upon reception of data from Wifi, forwards it to UART/SPI. Does anyone know if such firmware exists, or if there’s possibly a simpler solution?

Thanks in advance!