andrzej-kaczmarek closed pull request #1535: hw/bus: Make proper fix for bus driver enable... URL: https://github.com/apache/mynewt-core/pull/1535
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/hw/bus/syscfg.yml b/hw/bus/syscfg.yml index 4c21f555b7..62653bcdb9 100644 --- a/hw/bus/syscfg.yml +++ b/hw/bus/syscfg.yml @@ -21,7 +21,7 @@ syscfg.defs: description: > This indicated that hw/bus package is present in build. Do not override this settings. - value: 0 + value: 1 BUS_DEBUG_OS_DEV: description: > diff --git a/hw/drivers/sensors/bme280/pkg.yml b/hw/drivers/sensors/bme280/pkg.yml index 2e7ed1aea2..8f9780ef8a 100644 --- a/hw/drivers/sensors/bme280/pkg.yml +++ b/hw/drivers/sensors/bme280/pkg.yml @@ -39,6 +39,3 @@ pkg.req_apis: pkg.deps.BME280_CLI: - "@apache-mynewt-core/util/parse" -pkg.deps.BUS_DRIVER_PRESENT: - - "@apache-mynewt-core/hw/bus/i2c" - - "@apache-mynewt-core/hw/bus/spi" diff --git a/hw/mcu/nordic/nrf52xxx/pkg.yml b/hw/mcu/nordic/nrf52xxx/pkg.yml index 63c0fd200b..1080532266 100644 --- a/hw/mcu/nordic/nrf52xxx/pkg.yml +++ b/hw/mcu/nordic/nrf52xxx/pkg.yml @@ -68,14 +68,3 @@ pkg.deps.PWM_2: pkg.deps.PWM_3: - "@apache-mynewt-core/hw/drivers/pwm/pwm_nrf52" -pkg.deps.I2C_0: - - "@apache-mynewt-core/hw/bus" - - "@apache-mynewt-core/hw/bus/i2c" - -pkg.deps.I2C_1: - - "@apache-mynewt-core/hw/bus" - - "@apache-mynewt-core/hw/bus/i2c" - -pkg.deps.SPI_1_MASTER: - - "@apache-mynewt-core/hw/bus" - - "@apache-mynewt-core/hw/bus/spi" diff --git a/hw/sensor/pkg.yml b/hw/sensor/pkg.yml index db270640fe..7c61a7c429 100644 --- a/hw/sensor/pkg.yml +++ b/hw/sensor/pkg.yml @@ -33,12 +33,6 @@ pkg.deps.SENSOR_CLI: - "@apache-mynewt-core/sys/shell" - "@apache-mynewt-core/util/parse" -# XXX probably both do not need to be always included, but let's keep it like -# this for now to make things simpler -pkg.deps.BUS_DRIVER_PRESENT: - - "@apache-mynewt-core/hw/bus/i2c" - - "@apache-mynewt-core/hw/bus/spi" - pkg.req_apis: - console ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services