You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2019/10/29 08:29:14 UTC

[mynewt-core] branch master updated: da1469x_charger: Fix deps to included modules

This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new e2b3ca8  da1469x_charger: Fix deps to included modules
e2b3ca8 is described below

commit e2b3ca84fabcc04ed3ceefc49a1b3daec9a710d1
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Tue Oct 22 15:36:19 2019 +0200

    da1469x_charger: Fix deps to included modules
    
    Charger shell code conditionally includes two modules.
    Those two were not added to dependency list.
    
    Missing modules were:
    util/parse
    hw/drivers/adc/gpadc_da1469x
    hw/drivers/adc/sdadc_da1469x
---
 hw/drivers/chg_ctrl/da1469x_charger/pkg.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/hw/drivers/chg_ctrl/da1469x_charger/pkg.yml b/hw/drivers/chg_ctrl/da1469x_charger/pkg.yml
index 098bfad..7b908ea 100644
--- a/hw/drivers/chg_ctrl/da1469x_charger/pkg.yml
+++ b/hw/drivers/chg_ctrl/da1469x_charger/pkg.yml
@@ -26,5 +26,11 @@ pkg.keywords:
 pkg.deps:
     - "@apache-mynewt-core/kernel/os"
     - "@apache-mynewt-core/hw/hal"
+pkg.deps.DA1469X_CHARGER_CLI:
+    - "@apache-mynewt-core/util/parse"
+pkg.deps.GPADC_BATTERY:
+    - '@apache-mynewt-core/hw/drivers/adc/gpadc_da1469x'
+pkg.deps.SDADC_BATTERY:
+    - '@apache-mynewt-core/hw/drivers/adc/sdadc_da1469x'
 pkg.deps.DA1469X_CHARGER_USE_CHARGE_CONTROL:
     - '@apache-mynewt-core/hw/charge-control'