Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mixin group for gnss hal #2192

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading