How to connect LEDs to RX0/TX1 and still be able to flash?

acid:
Other LEDs, SPI. The number of pins are exactly matches to requirements if I only can isolate them and use flash device without disconnecting LEDs.

Could you please give me some reference values of elements?