I added BNO055 sensor to the DT.
However I was wondering how to made optional I2C address available without the need to change app.overlay
@bperraudin I propose the following:
The shield is designed to be used either with BNO055 on 0x28 or 0x29 I2C address.
The shield is also designed for the BNO055 to use an Xtal.
As the shield is designed on either I2C address and use the Xtal, the DT should propose each configuration WITH the Xtal used.
To do so I defined to BNO055 in the DT each one on a different I2C address here and here.
Each one got the property use_xtal = <1>
Aliases are created here to allow the use of :
If the user remove the Xtal, i.e do not want to use the shield for the designed use case. He would have to change use_xtal property in the app.overlay.
@bperraudin What do you think of this proposition ?
I added BNO055 sensor to the DT. However I was wondering how to made optional I2C address available without the need to change
app.overlay
@bperraudin I propose the following:
0x28
or0x29
I2C address.To do so I defined to BNO055 in the DT each one on a different I2C address here and here. Each one got the property
use_xtal = <1>
Aliases are created here to allow the use of :If the user remove the Xtal, i.e do not want to use the shield for the designed use case. He would have to change
use_xtal
property in theapp.overlay
.@bperraudin What do you think of this proposition ?