How to use SPI1 pins on RP2040 Zero board?

I found solution for my problem. After analyzing Adafruit_ST7789.h I found that I can add SPI parameter to' tft' object. I tested all SPI0 and SPI1 pins of RP2040 Zero and display works on hardware SPI1 now.

Here are changes I made in 'graphicstest_st7789.ino' sketch to run TFT display on SPI1 pins.

#define TFT_CS 13   // changed CS pin to what I use for SPI0 or SPI1 below (RP2040 ZERO pin 1, 5, 9, 13, 17)

Adafruit_ST7789 tft = Adafruit_ST7789(&SPI1, TFT_CS, TFT_DC, TFT_RST);   // I added reference to SPI1, not needed to use SPI0

I also added these lines to setup to initialize SPI0 and SPI1 on pins I need

void setup(void) {
  SPI.setRX(0);  // (RP2040 ZERO pin 0, 4)
  SPI.setCS(1);  // (RP2040 ZERO pin 1, 5, 17)
  SPI.setSCK(2); // (RP2040 ZERO pin 2, 6, 18)
  SPI.setTX(3);  // (RP2040 ZERO pin 3, 7, 19)
  SPI.begin();

  SPI1.setRX(12);  // (RP2040 ZERO pin 8, 12)
  SPI1.setCS(13);  // (RP2040 ZERO pin 9, 13)
  SPI1.setSCK(14); // (RP2040 ZERO pin 10, 14)
  SPI1.setTX(15);  // (RP2040 ZERO pin 11, 15)
  SPI1.begin();
}

Just in case someone needs info about pin assignment and here SPI0 and SPI1.

I hope that can help others with similar issues with SPI1.

Amy