drivers: gnss: add choice for GNSS reference frame datum

Add choice symbol for reference frame datum from which GNSS will
produce navigation data. All in-tree device drivers use WGS84 by
default, for now, this is the only available option until support
for other datums are added.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
This commit is contained in:
Bjarki Arge Andreasen 2024-07-28 14:39:49 +02:00 committed by Carles Cufí
parent 0a735dce52
commit b9fbc4f936

View file

@ -66,6 +66,15 @@ config GNSS_U_BLOX_PROTOCOL
help
Enable gnss u-blox protocol.
choice GNSS_REFERENCE_FRAME
bool "GNSS reference frame datum"
default GNSS_REFERENCE_FRAME_WGS84
config GNSS_REFERENCE_FRAME_WGS84
bool "Use the WGS84 ellipsoid as reference frame datum"
endchoice
module = GNSS
module-str = gnss
source "subsys/logging/Kconfig.template.log_config"