blob: 9abec174308afa1b066f2556369cfee81afde0dd [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
include: [
'syslog/client.shard.cml',
],
program: {
runner: 'driver',
binary: 'lib/libi2c_temperature.so',
bind: 'meta/bind/i2c_temperature.bindbc'
},
// Consume the I2C Service capability from the parent
use: [
{ service: 'fuchsia.hardware.i2c.Service' },
{ service: 'fuchsia.driver.compat.Service' },
],
// Provide the temperature device capability to other components
capabilities: [
{ service: 'examples.i2c.temperature.Service' },
],
expose: [
{
service: 'examples.i2c.temperature.Service',
from: 'self',
},
],
}