Making strange changes to #BL602 #NuttX SPI Driver ... Hope this works for ST7789 Display 🙏
https://github.com/lupyuen/incubator-nuttx/blob/st7789/arch/risc-v/src/bl602/bl602_spi.c#L678-L729
To flip the ST7789 Data / Command Pin on #BL602 #NuttX: We reconfigure SPI MISO as a GPIO Pin ... On the fly!
https://github.com/lupyuen/incubator-nuttx/blob/st7789/arch/risc-v/src/bl602/bl602_spi.c#L678-L731
And that's how we flip the ST7789 Data / Command Pin ... Inside the SPI Driver for #BL602 #NuttX!
https://github.com/lupyuen/incubator-nuttx/pull/44