You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, I just realized that I have a newer (not older) microbit. So, it uses a different accelerometer... Does anyone know if there is an example using the LSM303AGR on the microbit?
Describe the bug
The accelerometer can not be found on the board...
Here is the output from gdb is below
To Reproduce
west build -t pristine
west build -b bbc_microbit samples/sensor/fxos8700 -- -DCONF_FILE="prj_accel.conf"
gdb session:
0002701:INFO:loader:Erased 0 bytes (0 sectors), programmed 0 bytes (0 pages), skipped 33792 bytes (33 pages) at 23.72 kB/s
Start address 0x27bc, load size 33474
Transfer rate: 23 KB/sec, 1154 bytes/write.
(gdb) break main
Breakpoint 1 at 0x0: main. (2 locations)
(gdb) continue
Continuing.
Note: automatically using hardware breakpoints for read-only addresses.
Breakpoint 1, main () at zephyr/include/generated/syscalls/device.h:32
32 compiler_barrier();
(gdb) next
34 struct device *dev = device_get_binding(DT_LABEL(DT_INST(0, nxp_fxos8700)));
(gdb) next
36 if (dev == NULL) {
(gdb) print dev
$1 = (struct device *) 0x0 <z_finalize_fd>
(gdb) next
49 return;
(gdb)
The text was updated successfully, but these errors were encountered: