#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#

pkg.name: hw/drivers/chg_ctrl/da1469x_charger
pkg.description: 
pkg.keywords:
    - Charge Controller
    - DA1469x

pkg.deps:
    - "@apache-mynewt-core/kernel/os"
    - "@apache-mynewt-core/hw/hal"
pkg.deps.DA1469X_CHARGER_USE_CHARGE_CONTROL:
    - '@apache-mynewt-core/hw/charge-control'

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#

pkg.name: hw/drivers/chg_ctrl/da1469x_charger
pkg.description: 
pkg.keywords:
    - Charge Controller
    - DA1469x

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'

Fix deps to included modules
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
