2023-08-02 19:54:19 +08:00
|
|
|
# Copyright (c) 2023 Trackunit Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig GNSS
|
|
|
|
bool "GNSS drivers"
|
|
|
|
select EXPERIMENTAL
|
|
|
|
help
|
|
|
|
Enable GNSS drivers and configuration.
|
|
|
|
|
|
|
|
if GNSS
|
|
|
|
|
|
|
|
config GNSS_SATELLITES
|
|
|
|
bool "GNSS satellites support"
|
|
|
|
help
|
|
|
|
Enable GNSS sattelites callback.
|
|
|
|
|
2023-10-03 17:41:03 +08:00
|
|
|
config GNSS_DUMP
|
|
|
|
bool "GNSS dump support"
|
|
|
|
depends on LOG
|
|
|
|
help
|
|
|
|
Enable GNSS dump library
|
|
|
|
|
2023-10-03 23:09:15 +08:00
|
|
|
config GNSS_DUMP_TO_LOG
|
|
|
|
bool "Dump GNSS events to log"
|
|
|
|
select GNSS_DUMP
|
|
|
|
help
|
|
|
|
Enable GNSS dump to log.
|
|
|
|
|
|
|
|
if GNSS_DUMP_TO_LOG
|
|
|
|
|
|
|
|
config GNSS_DUMP_TO_LOG_BUF_SIZE
|
|
|
|
int "GNSS log dump buffer size"
|
|
|
|
default 128
|
|
|
|
help
|
|
|
|
Size of GNSS log dump buffer
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2023-08-25 18:45:00 +08:00
|
|
|
config GNSS_PARSE
|
|
|
|
bool "GNSS parsing utilities"
|
|
|
|
help
|
|
|
|
Enable GNSS parsing utilities.
|
|
|
|
|
2023-09-01 00:23:13 +08:00
|
|
|
config GNSS_NMEA0183
|
|
|
|
bool "NMEA0183 parsing utilities"
|
|
|
|
select GNSS_PARSE
|
|
|
|
help
|
|
|
|
Enable NMEA0183 parsing utilities.
|
|
|
|
|
2023-09-22 03:07:25 +08:00
|
|
|
config GNSS_NMEA0183_MATCH
|
|
|
|
bool "GNSS NMEA0183 match utilities"
|
|
|
|
select GNSS_NMEA0183
|
|
|
|
help
|
|
|
|
Enable NMEA0183 match utilities.
|
|
|
|
|
2023-09-10 20:26:17 +08:00
|
|
|
config GNSS_INIT_PRIORITY
|
|
|
|
int "GNSS driver initialization priority"
|
|
|
|
default 80
|
|
|
|
range 0 99
|
|
|
|
help
|
|
|
|
Driver initialization priority for GNSS drivers.
|
|
|
|
|
2024-01-24 19:22:22 +08:00
|
|
|
config GNSS_U_BLOX_PROTOCOL
|
|
|
|
bool "GNSS U-BLOX protocol"
|
|
|
|
select MODEM_UBX
|
|
|
|
help
|
|
|
|
Enable gnss u-blox protocol.
|
|
|
|
|
2024-07-28 20:39:49 +08:00
|
|
|
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
|
|
|
|
|
2023-08-02 19:54:19 +08:00
|
|
|
module = GNSS
|
|
|
|
module-str = gnss
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2024-05-03 16:33:18 +08:00
|
|
|
rsource "Kconfig.emul"
|
2023-09-23 20:41:34 +08:00
|
|
|
rsource "Kconfig.generic"
|
2023-09-10 20:26:17 +08:00
|
|
|
rsource "Kconfig.quectel_lcx6g"
|
2024-07-29 15:08:39 +08:00
|
|
|
rsource "Kconfig.u_blox_m8"
|
2024-04-10 03:48:05 +08:00
|
|
|
rsource "Kconfig.luatos_air530z"
|
2023-09-10 20:26:17 +08:00
|
|
|
|
2023-08-02 19:54:19 +08:00
|
|
|
endif
|