Move lhd.conf, scd.conf to device folder
Move lhd.conf, scd.conf to device folder and maintain them separately by project requirement Bug: 244258007 Test: confirm the configurations are correct Change-Id: Ic7693f87df73e01d8dcfbda1ff224eb47e7df87a
This commit is contained in:
parent
e3b75f29cd
commit
7ea4e30af0
7 changed files with 81 additions and 2 deletions
|
@ -149,10 +149,14 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts
|
||||||
# GPS xml
|
# GPS xml
|
||||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/lynx/gps.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
device/google/lynx/location/gps.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
|
||||||
|
device/google/lynx/location/lhd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||||
|
device/google/lynx/location/scd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
|
||||||
else
|
else
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/lynx/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
device/google/lynx/location/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
|
||||||
|
device/google/lynx/location/lhd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||||
|
device/google/lynx/location/scd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# DCK properties based on target
|
# DCK properties based on target
|
||||||
|
|
33
location/lhd.conf.l10
Normal file
33
location/lhd.conf.l10
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
LheName=bbd
|
||||||
|
|
||||||
|
LheRsmResetTimeoutMS=10000
|
||||||
|
GpioNStdbyPath=/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby
|
||||||
|
|
||||||
|
LhePatch=/vendor/firmware/SensorHub.patch
|
||||||
|
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
|
||||||
|
LheConsole=/data/vendor/gps/LheConsole
|
||||||
|
|
||||||
|
LogEnabled=true
|
||||||
|
Log=JAVA
|
||||||
|
LogDirectory=/sdcard/gps/broadcom/storage
|
||||||
|
|
||||||
|
LheBbdPacket=/dev/ttyBCM
|
||||||
|
|
||||||
|
LheBbdControl=/dev/bbd_control
|
||||||
|
|
||||||
|
# LheBbdSensor=/dev/bbd_sensor
|
||||||
|
|
||||||
|
LheFailSafe=/data/vendor/gps/logs/esw-crash-dump.txt
|
||||||
|
LogLevel=*:I
|
||||||
|
|
||||||
|
NvStorageDir=/data/vendor/gps/
|
||||||
|
|
||||||
|
# Enable BBD debugging at these stages:
|
||||||
|
# LheDriverDebugFlags=PATCH_BBD:LHE_BBD:FSC_BBD
|
||||||
|
|
||||||
|
LheAutoBaudDelayMS=10
|
||||||
|
TrafficLogEnabled=false
|
||||||
|
SecondaryConfigPath=/data/vendor/gps/overlay/lhd_overlay.conf
|
||||||
|
|
||||||
|
SkipSensorWakeLock=true
|
||||||
|
LoggerWakeLockEnable=false
|
31
location/lhd_user.conf.l10
Normal file
31
location/lhd_user.conf.l10
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
LheName=bbd
|
||||||
|
|
||||||
|
LheRsmResetTimeoutMS=10000
|
||||||
|
GpioNStdbyPath=/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby
|
||||||
|
|
||||||
|
LhePatch=/vendor/firmware/SensorHub.patch
|
||||||
|
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
|
||||||
|
# LheConsole=/data/vendor/gps/LheConsole
|
||||||
|
|
||||||
|
LogEnabled=false
|
||||||
|
Log=JAVA
|
||||||
|
LogDirectory=/sdcard/gps/broadcom/storage
|
||||||
|
|
||||||
|
LheBbdPacket=/dev/ttyBCM
|
||||||
|
|
||||||
|
LheBbdControl=/dev/bbd_control
|
||||||
|
|
||||||
|
# LheBbdSensor=/dev/bbd_sensor
|
||||||
|
|
||||||
|
# LheFailSafe=/data/vendor/gps/esw-crash-dump.txt
|
||||||
|
|
||||||
|
NvStorageDir=/data/vendor/gps/
|
||||||
|
|
||||||
|
# Enable BBD debugging at these stages:
|
||||||
|
# LheDriverDebugFlags=PATCH_BBD:LHE_BBD:FSC_BBD
|
||||||
|
|
||||||
|
LheAutoBaudDelayMS=10
|
||||||
|
TrafficLogEnabled=false
|
||||||
|
|
||||||
|
SkipSensorWakeLock=true
|
||||||
|
LoggerWakeLockEnable=false
|
6
location/scd.conf.l10
Normal file
6
location/scd.conf.l10
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
LogEnabled=true
|
||||||
|
Log=JAVA
|
||||||
|
LogDirectory=/sdcard/gps/broadcom/storage
|
||||||
|
NvStorageDir=/data/vendor/gps/
|
||||||
|
TcpConnectionTimeout=20
|
||||||
|
SecondaryConfigPath=/data/vendor/gps/overlay/scd_overlay.conf
|
5
location/scd_user.conf.l10
Normal file
5
location/scd_user.conf.l10
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
LogEnabled=false
|
||||||
|
Log=JAVA
|
||||||
|
LogDirectory=/sdcard/gps/broadcom/storage
|
||||||
|
NvStorageDir=/data/vendor/gps/
|
||||||
|
TcpConnectionTimeout=20
|
Loading…
Reference in a new issue