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:
parent
0a735dce52
commit
b9fbc4f936
1 changed files with 9 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue