Re: lis2mdl magnetometer in microbit v2 #i2c #driver #lis2dw12


William Fish
 
Edited

I've had a quick look and am confused as there is reference to a file:
#include "lis2mdl_reg.h"

It appears that when this driver was created they may have forgotten to include both lis2mdl_reg.c and lis2mdl_reg.h, eg like these:
https://os.mbed.com/teams/ST/code/LIS2MDL//file/8562ae1a0534/lis2mdl_reg.c/https://github.com/tencentyun/qcloud-iot-c-sdk-porting-examples/blob/master/Tencent_icube_based_Nucleol476_FreeRTOS/Drivers/BSP/Components/lis2mdl/lis2mdl_reg.c

Billy..

Join users@lists.zephyrproject.org to automatically receive all group messages.