Skip to content

Commit 7ae9a16

Browse files
jeronimoagullofabiobaltieri
authored andcommitted
drivers: gnss: Air530z: Add new driver
Intial driver adding intial script to receive only GGA, RMC and GSV NMEA messages, configuring fix rate, setting enabled system and adding power management with the module on-off pin. Signed-off-by: Jeronimo Agullo <jeronimoagullo97@gmail.com>
1 parent 8d077ca commit 7ae9a16

File tree

5 files changed

+407
-0
lines changed

5 files changed

+407
-0
lines changed

drivers/gnss/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ zephyr_library_sources_ifdef(CONFIG_GNSS_NMEA_GENERIC gnss_nmea_generic.c)
1111
zephyr_library_sources_ifdef(CONFIG_GNSS_QUECTEL_LCX6G gnss_quectel_lcx6g.c)
1212
zephyr_library_sources_ifdef(CONFIG_GNSS_U_BLOX_M10 gnss_u_blox_m10.c)
1313
zephyr_library_sources_ifdef(CONFIG_GNSS_U_BLOX_PROTOCOL gnss_u_blox_protocol/gnss_u_blox_protocol.c)
14+
zephyr_library_sources_ifdef(CONFIG_GNSS_LUATOS_AIR530Z gnss_luatos_air530z.c)

drivers/gnss/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,6 @@ source "subsys/logging/Kconfig.template.log_config"
7373
rsource "Kconfig.generic"
7474
rsource "Kconfig.quectel_lcx6g"
7575
rsource "Kconfig.u_blox_m10"
76+
rsource "Kconfig.luatos_air530z"
7677

7778
endif
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright 2024 Jerónimo Agulló
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config GNSS_LUATOS_AIR530Z
5+
bool "Luatos Air530z GNSS device"
6+
default y
7+
depends on GNSS
8+
depends on DT_HAS_LUATOS_AIR530Z_ENABLED
9+
select MODEM_MODULES
10+
select MODEM_BACKEND_UART
11+
select MODEM_CHAT
12+
select GNSS_PARSE
13+
select GNSS_NMEA0183
14+
select GNSS_NMEA0183_MATCH
15+
help
16+
Enable Luatos Air530z GNSS driver.
17+
18+
config GNSS_LUATOS_AIR530Z_SATELLITES_COUNT
19+
int "Maximum satellite count"
20+
depends on GNSS_SATELLITES
21+
default 24
22+
help
23+
Maximum number of satellites that can be decoded from the
24+
GNSS device. This does not affect the number of devices that
25+
the device is actually tracking, just how many of those can
26+
be reported in the satellites callback.

0 commit comments

Comments
 (0)