GPS has to sit still before the first flight or RTH is a mess. I used <a href=https://inavflight.net/gps-setup>GPS setup</a> for the module and the first 3D fix. After that the rest of the setup is normal.
Which hardware is covered before I buy GPS and a receiver? The board list I used is <a href=https://inavflight.net/guides/best-flight-controllers>best flight controllers</a>. FC, GPS, radio, then Configurator for the flash.