Skip to content

Commit d97cc46

Browse files
JordanYatesnashif
authored andcommitted
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: Jordan Yates <jordan@embeint.com>
1 parent bf41e53 commit d97cc46

File tree

11 files changed

+184
-180
lines changed

11 files changed

+184
-180
lines changed

doc/releases/migration-guide-4.0.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ Enhanced Serial Peripheral Interface (eSPI)
7171
GNSS
7272
====
7373

74+
* The u-blox M10 driver has been renamed to M8 as it only supports M8 based devices.
75+
Existing devicetree compatibles should be updated to :dtcompatible:`u-blox,m8`, and Kconfig
76+
symbols swapped to :kconfig:option:`CONFIG_GNSS_U_BLOX_M8`.
77+
7478
Input
7579
=====
7680

doc/releases/release-notes-3.7.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ Drivers and Sensors
861861

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

867867
* GPIO

drivers/gnss/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ zephyr_library_sources_ifdef(CONFIG_GNSS_NMEA0183 gnss_nmea0183.c)
1010
zephyr_library_sources_ifdef(CONFIG_GNSS_NMEA0183_MATCH gnss_nmea0183_match.c)
1111
zephyr_library_sources_ifdef(CONFIG_GNSS_NMEA_GENERIC gnss_nmea_generic.c)
1212
zephyr_library_sources_ifdef(CONFIG_GNSS_QUECTEL_LCX6G gnss_quectel_lcx6g.c)
13-
zephyr_library_sources_ifdef(CONFIG_GNSS_U_BLOX_M10 gnss_u_blox_m10.c)
13+
zephyr_library_sources_ifdef(CONFIG_GNSS_U_BLOX_M8 gnss_u_blox_m8.c)
1414
zephyr_library_sources_ifdef(CONFIG_GNSS_U_BLOX_PROTOCOL gnss_u_blox_protocol/gnss_u_blox_protocol.c)
1515
zephyr_library_sources_ifdef(CONFIG_GNSS_LUATOS_AIR530Z gnss_luatos_air530z.c)

drivers/gnss/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ source "subsys/logging/Kconfig.template.log_config"
8282
rsource "Kconfig.emul"
8383
rsource "Kconfig.generic"
8484
rsource "Kconfig.quectel_lcx6g"
85-
rsource "Kconfig.u_blox_m10"
85+
rsource "Kconfig.u_blox_m8"
8686
rsource "Kconfig.luatos_air530z"
8787

8888
endif

drivers/gnss/Kconfig.u_blox_m10 renamed to drivers/gnss/Kconfig.u_blox_m8

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Copyright 2024 NXP
22
# SPDX-License-Identifier: Apache-2.0
33

4-
config GNSS_U_BLOX_M10
5-
bool "U-BLOX M10 GNSS Module"
4+
config GNSS_U_BLOX_M8
5+
bool "U-BLOX M8 GNSS Module"
66
default y
77
depends on GNSS
8-
depends on DT_HAS_U_BLOX_M10_ENABLED
8+
depends on DT_HAS_U_BLOX_M8_ENABLED
99
depends on GNSS_REFERENCE_FRAME_WGS84
1010
select MODEM_MODULES
1111
select MODEM_BACKEND_UART
@@ -17,9 +17,9 @@ config GNSS_U_BLOX_M10
1717
select GNSS_U_BLOX_PROTOCOL
1818
select UART_USE_RUNTIME_CONFIGURE
1919
help
20-
Enable U-BLOX M10 GNSS modem driver.
20+
Enable U-BLOX M8 GNSS modem driver.
2121

22-
config GNSS_U_BLOX_M10_SATELLITES_COUNT
22+
config GNSS_U_BLOX_M8_SATELLITES_COUNT
2323
int "Maximum satellite count"
2424
depends on GNSS_SATELLITES
2525
default 24

0 commit comments

Comments
 (0)