-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bbc_microbit_v2 build error for lis2dh #32420
Comments
Assigning to @mbolivar-nordic since this seems to be a Devicetree issue. |
Do you mean 2.5? Zephyr 2.4 did not have support for the bbc_microbit_v2 board |
I have brought the bbc_microbit_v2 Zephyr 2.4, I think it still should work, the Bluetooth works with bbc_microbit_v2 in the 2.4. I basically added the board from 2.5 to 2.4. |
No, 2.5 was released a few days ago, please do test 2.5.0. |
I have tried Zephyr 2.5 now, the exact same error appeared. I have attached the new file which contains the output. |
The board's main I2C bus controller doesn't have a compatible set, so it's not detected as an I2C bus at all. This breaks the build when trying to build the samples/sensor/lis2dh application with the lis2dh sensor on that bus. Fixes: zephyrproject-rtos#32420 Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
The board's main I2C bus controller doesn't have a compatible set, so it's not detected as an I2C bus at all. This breaks the build when trying to build the samples/sensor/lis2dh application with the lis2dh sensor on that bus. Fixes: #32420 Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
yes it works as expected on bbc_microbit_v2
Great :). Thanks for confirming.
|
lis2dh_output.txt
Describe the bug
Error while building the example lis2dh, it works for bbc_microbit but not for bbc_microbit_v2.
I have tried to find the issue, but I have no luck, one thing which might cause some problems is that the
sm303agr-magn@1e
andlsm303agr-accel@19
from thebbc_microbit_v2.dts
file are on the same GPIO pin.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Bbc_microbit (v1.5 and v2) share the same accelerometer lsm303agr it is expected for the same code to work, or a solution to access the accelerometer for v2.
Impact
Not able to progress on my FYP (Final year project) because I can not access the accelerometer information.
Logs and console output
There are 300 lines, I have attached the file lis2dh_output.txt for the full output.
Environment (please complete the following information):
Additional context
The bbc_microbit (v1.5) has the Cortex-M0 processor while v2 has the Cortex-M4 processor, I am not sure if that should make any difference in the ability to use the example lis2dh.
The text was updated successfully, but these errors were encountered: