Some time ago I had to connect a Pixhawk 4 GPS unit to my Cube Orange Carrier Board. The GPS had a 10pin plug attached and the Cube has an 8pin socket for GPS1.
I did some research and managed to reachable the GPS so that it confirmed to and worked nicely with the Cube. I thought I’d share my notes in case someone else needed to do the same.
I didn’t save my drawing of the pin to pin cable I eventually soldered up, but you can derive it from this info easily
Wiring a 10pin GPS plug to the 8pin socket on a Cube carrier board.pdf