BigW Consortium Gitlab

Commit 42309328 by David Frey

Update SDEFs to include kernel modules

Also provide various mdef files that are referenced by the SDEFs.
parent 37610918
bmi160.mdef
\ No newline at end of file
bmi160-i2c.mdef
\ No newline at end of file
cflags:
{
-DCONFIG_BMI160
-DCONFIG_BMI160_I2C
-DCONFIG_IIO
-DCONFIG_IIO_BUFFER
-DCONFIG_IIO_TRIGGERED_BUFFER
// TODO: I don't think REGMAP is buildable as a module so our kernel will need to change.
-DREGMAP
-DREGMAP_I2C
}
sources:
{
bmi160_i2c.c
}
bmp280.mdef
\ No newline at end of file
bmp280-i2c.mdef
\ No newline at end of file
Subproject commit 9b663f844d0c39a8acb33ab305f2ed7e4ca0a49a
Subproject commit d83ea86f406e1acb1d958238a8327ea4c00de516
iio.mdef
\ No newline at end of file
iio-kfifo-buf.mdef
\ No newline at end of file
iio-triggered-buffer.mdef
\ No newline at end of file
lsm6ds3.mdef
\ No newline at end of file
lsm6ds3-i2c.mdef
\ No newline at end of file
......@@ -14,11 +14,13 @@ apps:
$MANGOH_ROOT/apps/MuxControl/tools/muxCtrlTools
$MANGOH_ROOT/apps/MqttClient/mqttClient
// Data Router disabled until it can be updated
// Data Router is disabled because the published version doesn't build against Legato 17.05
// $MANGOH_ROOT/apps/DataRouter/dataRouter
// $MANGOH_ROOT/apps/DataRouter/drTool/drTool
// $MANGOH_ROOT/apps/ArduinoBridge/arduinoBridge
$MANGOH_ROOT/apps/SocialService/socialService
$MANGOH_ROOT/apps/Heartbeat/heartbeatGreen
}
commands:
......@@ -28,3 +30,10 @@ commands:
twitter = socialService:/bin/twitter
}
kernelModules:
{
$MANGOH_ROOT/linux_kernel_modules/mangoh/9-mangoh_green_dv4
$MANGOH_ROOT/linux_kernel_modules/lsm6ds3/0-lsm6ds3
$MANGOH_ROOT/linux_kernel_modules/lsm6ds3/1-lsm6ds3-i2c
}
......@@ -10,22 +10,44 @@ apps:
{
$MANGOH_ROOT/apps/GpioExpander/gpioExpanderService/gpioExpanderServiceRed
// TODO: MuxControl was written specifically for mangOH Green. Perhaps mangOH Red needs a
// similar facility to manage uart routing.
// $MANGOH_ROOT/apps/MuxControl/muxCtrlService/muxCtrlService
// $MANGOH_ROOT/apps/MuxControl/tools/muxCtrlTools
$MANGOH_ROOT/apps/MqttClient/mqttClient
// Data Router disabled until it can be updated
// Data Router is disabled because the published version doesn't build against Legato 17.05
// $MANGOH_ROOT/apps/DataRouter/dataRouter
// $MANGOH_ROOT/apps/DataRouter/drTool/drTool
$MANGOH_ROOT/apps/SocialService/socialService
$MANGOH_ROOT/apps/RedSensorToCloud/redSensorToCloud
$MANGOH_ROOT/apps/Heartbeat/heartbeatRed
}
commands:
{
// mux = muxCtrlTools:/bin/mux
// dr = drTool:/bin/dr
twitter = socialService:/bin/twitter
}
kernelModules:
{
$MANGOH_ROOT/linux_kernel_modules/mangoh/9-mangoh_red_dv3
// $MANGOH_ROOT/linux_kernel_modules/mangoh/9-mangoh_red_dv2
$MANGOH_ROOT/linux_kernel_modules/cp2130/0-cp2130
// Required for bmp280 & bmi160
$MANGOH_ROOT/linux_kernel_modules/iio/0-iio
$MANGOH_ROOT/linux_kernel_modules/iio/1-iio-kfifo-buf
// Required for bmi160
$MANGOH_ROOT/linux_kernel_modules/iio/2-iio-triggered-buffer
$MANGOH_ROOT/linux_kernel_modules/bmp280/2-bmp280
$MANGOH_ROOT/linux_kernel_modules/bmp280/3-bmp280-i2c
// Only on mangOH Red DV2
// $MANGOH_ROOT/linux_kernel_modules/lsm6ds3/0-lsm6ds3
// $MANGOH_ROOT/linux_kernel_modules/lsm6ds3/1-lsm6ds3-i2c
// Only on mangOH Red DV3
$MANGOH_ROOT/linux_kernel_modules/bmi160/3-bmi160
$MANGOH_ROOT/linux_kernel_modules/bmi160/4-bmi160-i2c
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment