当前位置:   article > 正文

EC20 (GPS)_rockchip ec20

rockchip ec20
1.\\sdk-9.0\device\rockchip\rk3288\rk3288.mk

PRODUCT_COPY_FILES += device/rockchip/common/4g_modem/EC20-4G-lib/gps.default.so:vendor/lib/hw/gps.default.so
PRODUCT_COPY_FILES += device/rockchip/common/4g_modem/EC20-4G-lib/gps_cfg.inf:system/etc/gps_cfg.inf

  • 1
  • 2
  • 3
  • 4
  • 5
2. \sdk-9.0\device\rockchip\common\device.mk

# GPS HAL
PRODUCT_PACKAGES += \
    android.hardware.gnss@1.0-impl \
    android.hardware.gnss@1.0-service


  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
3.\sdk-9.0\device\rockchip\common\4g_modem\manifest.xml

    <hal format="hidl">
        <name>android.hardware.gnss</name>
        <transport>hwbinder</transport>
        <version>1.0</version>
        <interface>
            <name>IGnss</name>
            <instance>default</instance>
        </interface>
    </hal>

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
4.\sdk-9.0\device\rockchip\common\BoardConfig.mk

BOARD_HAS_GPS ?= true
  • 1
  • 2
  • 3
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/275293
推荐阅读
相关标签
  

闽ICP备14008679号