From f88a7293d2ba8821cdaee095efd4fc6719d83b19 Mon Sep 17 00:00:00 2001 From: Edwin Tung Date: Tue, 6 Aug 2024 12:03:39 +0800 Subject: [PATCH] gps: update gps version 4.15.1_22_240809_R1_230606 Add chip config line to control timemark (1pps) output Bug: 306725234 Test: b/357740920 atest CtsLocationGnssTestCases atest VtsHalGnssTargetTest Change-Id: I3320b3c48b739acbb0f83aa21ee9495830dd6653 --- location/gps.cfg | 3 +++ location/gps_user.cfg | 1 + 2 files changed, 4 insertions(+) diff --git a/location/gps.cfg b/location/gps.cfg index 4fc7156..6a6ec32 100644 --- a/location/gps.cfg +++ b/location/gps.cfg @@ -24,6 +24,9 @@ gnss_device_type=K041 gnss_device_patch_address=0 gnss_device_patch_file=/vendor/firmware/kepler.bin +# 1pps timemark output: 0: disable 1: enable +ChipCfg_Timemark_Option=1 + # Enable/Disable 1PPS Time Sync policy Is1PPSTimeSyncEnable=1 diff --git a/location/gps_user.cfg b/location/gps_user.cfg index b20dfe5..c612ea2 100644 --- a/location/gps_user.cfg +++ b/location/gps_user.cfg @@ -10,6 +10,7 @@ caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK gnss_device_type=K041 gnss_device_patch_address=0 gnss_device_patch_file=/vendor/firmware/kepler.bin +ChipCfg_Timemark_Option=1 Is1PPSTimeSyncEnable=1 Chip_Configuration_Dynamic_HSI=0 Chip_Configuration_ubsan_opt=1