1# Copyright (c) 2023 Trackunit Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig GNSS
5	bool "GNSS drivers"
6	select EXPERIMENTAL
7	help
8	  Enable GNSS drivers and configuration.
9
10if GNSS
11
12config GNSS_SATELLITES
13	bool "GNSS satellites support"
14	help
15	  Enable GNSS sattelites callback.
16
17config GNSS_DUMP
18	bool "GNSS dump support"
19	depends on LOG
20	help
21	  Enable GNSS dump library
22
23config GNSS_DUMP_TO_LOG
24	bool "Dump GNSS events to log"
25	select GNSS_DUMP
26	help
27	  Enable GNSS dump to log.
28
29if GNSS_DUMP_TO_LOG
30
31config GNSS_DUMP_TO_LOG_BUF_SIZE
32	int "GNSS log dump buffer size"
33	default 128
34	help
35	  Size of GNSS log dump buffer
36
37endif
38
39config GNSS_PARSE
40	bool "GNSS parsing utilities"
41	help
42	  Enable GNSS parsing utilities.
43
44config GNSS_NMEA0183
45	bool "NMEA0183 parsing utilities"
46	select GNSS_PARSE
47	help
48	  Enable NMEA0183 parsing utilities.
49
50config GNSS_NMEA0183_MATCH
51	bool "GNSS NMEA0183 match utilities"
52	select GNSS_NMEA0183
53	help
54	  Enable NMEA0183 match utilities.
55
56config GNSS_INIT_PRIORITY
57	int "GNSS driver initialization priority"
58	default 80
59	range 0 99
60	help
61	  Driver initialization priority for GNSS drivers.
62
63config GNSS_U_BLOX_PROTOCOL
64	bool "GNSS U-BLOX protocol"
65	select MODEM_UBX
66	help
67	  Enable gnss u-blox protocol.
68
69choice GNSS_REFERENCE_FRAME
70	bool "GNSS reference frame datum"
71	default GNSS_REFERENCE_FRAME_WGS84
72
73config GNSS_REFERENCE_FRAME_WGS84
74	bool "Use the WGS84 ellipsoid as reference frame datum"
75
76endchoice
77
78module = GNSS
79module-str = gnss
80source "subsys/logging/Kconfig.template.log_config"
81
82rsource "Kconfig.emul"
83rsource "Kconfig.generic"
84rsource "Kconfig.quectel_lcx6g"
85rsource "Kconfig.u_blox_m8"
86rsource "Kconfig.luatos_air530z"
87
88endif
89