The STM32MP135F-DK doesn't have any GPS built in, so it would depend on what external GPS unit you use, and how you have it connected.
A complex system that works is invariably found to have evolved from a simple system that worked. A complex system designed from scratch never works and cannot be patched up to make it work.