Skip to content

Commit

Permalink
Add mixin group for gnss hal
Browse files Browse the repository at this point in the history
Tracked-On: OAM-128638
Signed-off-by: Zhenlong Z Ji <[email protected]>
  • Loading branch information
ceiba1985 authored and sysopenci committed Dec 24, 2024
1 parent ace0b6b commit f948d7b
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions groups/gnss/default
22 changes: 22 additions & 0 deletions groups/gnss/doc.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
=== Overview

GNSS (Global Navigation Satellite System) refers to the system within Android devices
that provides location services using satellite navigation. This includes GPS (Global
Positioning System) and other satellite systems like GLONASS, Galileo, and BeiDou.

==== Options

--- true
this option is used to enable GNSS HAL support

--- parameters
--- code dir

--- false
this option is used to disable GNSS HAL support

--- parameters
--- code dir

--- default
when not explicitly selected in mixin spec file, the default option(disable) will be used.
Empty file added groups/gnss/false/empty_dir
Empty file.
1 change: 1 addition & 0 deletions groups/gnss/true/BoardConfig.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BOARD_SEPOLICY_DIRS += $(INTEL_PATH_SEPOLICY)/gnss
7 changes: 7 additions & 0 deletions groups/gnss/true/product.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PRODUCT_PACKAGES += \
android.hardware.gnss-service.intel


PRODUCT_PROPERTY_OVERRIDES += \
vendor.ser.gnss-uart=/dev/ttyUSB0

2 changes: 2 additions & 0 deletions groups/gnss/true/ueventd.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# GNSS
/dev/ttyUSB* 0660 system system

0 comments on commit f948d7b

Please sign in to comment.