PX4 Firmware
GPS Heading with Dual u-blox F9P is supported in the both DroneCAN and UART version. The DroneCAN version requires a different firmware and can be found in the guide below.
Ardupilot Wiki for RTK
Ardupilot
GPS Heading with Dual u-blox F9P is supported in both the UART and DroneCAN version.