Example code usins pi pico with hardware spi setting miso/mosi/sck pins and earl philhower core?

i need to set specific pins for spi miso/mosi/sck/cs when using the pi pico board, with platformio and the earl philhower core. is there some example code showing how to do this with hardware spi and hardware cs?

for example: RX 0, TX 3, SCK 2, and CS 1.


Duplicate of Simple SPI communication example for Raspberry Pi Pico using Arduino Framework - #5 by maxgerhardt.