SPI Driver for #ESP32#NuttX flips the ST7789 Data / Command Pin as though it was GPIO ... But actually the pin is designated as SPI MISO ... Let's do the same for BL602
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.
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