Is it possible to remap SPI pins to a different GPIO in an STM32G4 ?
I am working on a project using STMCubeMX and an STM32G4 i would like to remap the MISO and MOSI pins, if I were to remap PB4 -> SPI_1_MISO to SPI_1_MOSI and viceversa with PB5 -> SPI_1_MOSI to SPI_1_MISO.
I have a Custom PCB with two STM32G4 communicating over SPI, by mistake I have connected PB4 coming from the master device to PB5 on the slave device , and now I am just wondering if it is possible to remap those two pins, according to the datasheet it does not look promising.
As shown here: PB4 has to be SPI_MISO and PB5 has to be SPI_MOSI.

Does anyone know about a workaround for this ?
Thanks
