Commit d97cc46b authored by Jordan Yates's avatar Jordan Yates Committed by Anas Nashif
Browse files

gnss: rename u-blox M10 driver to M8



The driver in tree is for u-blox M8 devices, not M10. The M10 series
devices (from Protocol Version 23.01) use a different, non backwards
compatible interface for configuring the modem behaviour.

Of the two boards tested in the original PR, the "VMU RT1170" is
explicitly listed as having a u-blox NEO-M8N modem, while I have
been unable to find any information online about the "FMURT6" board.

Leaving the naming as-is will cause problems when M10 drivers are
contributed.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent bf41e53e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -71,6 +71,10 @@ Enhanced Serial Peripheral Interface (eSPI)
GNSS
====

 * The u-blox M10 driver has been renamed to M8 as it only supports M8 based devices.
   Existing devicetree compatibles should be updated to :dtcompatible:`u-blox,m8`, and Kconfig
   symbols swapped to :kconfig:option:`CONFIG_GNSS_U_BLOX_M8`.

Input
=====

+1 −1
Original line number Diff line number Diff line
@@ -861,7 +861,7 @@ Drivers and Sensors

  * Added GNSS device driver API test suite.
  * Added support for the u-blox UBX protocol.
  * Added device driver for the u-blox M10 GNSS modem (:dtcompatible:`u-blox,m10`).
  * Added device driver for the u-blox M8 GNSS modem (:dtcompatible:`u-blox,m8`).
  * Added device driver for the Luatos Air530z GNSS modem (:dtcompatible:`luatos,air530z`).

* GPIO
+1 −1
Original line number Diff line number Diff line
@@ -10,6 +10,6 @@ zephyr_library_sources_ifdef(CONFIG_GNSS_NMEA0183 gnss_nmea0183.c)
zephyr_library_sources_ifdef(CONFIG_GNSS_NMEA0183_MATCH gnss_nmea0183_match.c)
zephyr_library_sources_ifdef(CONFIG_GNSS_NMEA_GENERIC gnss_nmea_generic.c)
zephyr_library_sources_ifdef(CONFIG_GNSS_QUECTEL_LCX6G gnss_quectel_lcx6g.c)
zephyr_library_sources_ifdef(CONFIG_GNSS_U_BLOX_M10 gnss_u_blox_m10.c)
zephyr_library_sources_ifdef(CONFIG_GNSS_U_BLOX_M8 gnss_u_blox_m8.c)
zephyr_library_sources_ifdef(CONFIG_GNSS_U_BLOX_PROTOCOL gnss_u_blox_protocol/gnss_u_blox_protocol.c)
zephyr_library_sources_ifdef(CONFIG_GNSS_LUATOS_AIR530Z gnss_luatos_air530z.c)
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ source "subsys/logging/Kconfig.template.log_config"
rsource "Kconfig.emul"
rsource "Kconfig.generic"
rsource "Kconfig.quectel_lcx6g"
rsource "Kconfig.u_blox_m10"
rsource "Kconfig.u_blox_m8"
rsource "Kconfig.luatos_air530z"

endif
+5 −5
Original line number Diff line number Diff line
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0

config GNSS_U_BLOX_M10
	bool "U-BLOX M10 GNSS Module"
config GNSS_U_BLOX_M8
	bool "U-BLOX M8 GNSS Module"
	default y
	depends on GNSS
	depends on DT_HAS_U_BLOX_M10_ENABLED
	depends on DT_HAS_U_BLOX_M8_ENABLED
	depends on GNSS_REFERENCE_FRAME_WGS84
	select MODEM_MODULES
	select MODEM_BACKEND_UART
@@ -17,9 +17,9 @@ config GNSS_U_BLOX_M10
	select GNSS_U_BLOX_PROTOCOL
	select UART_USE_RUNTIME_CONFIGURE
	help
	  Enable U-BLOX M10 GNSS modem driver.
	  Enable U-BLOX M8 GNSS modem driver.

config GNSS_U_BLOX_M10_SATELLITES_COUNT
config GNSS_U_BLOX_M8_SATELLITES_COUNT
	int "Maximum satellite count"
	depends on GNSS_SATELLITES
	default 24
Loading