Skip to content

Commit b9c601b

Browse files
Viliuksjlaitine
authored andcommitted
Add Bosch BMM350 magnetometer (PX4#23362)
* Add Bosch BMM350 magnetometer * BMM350 replace info messages with debug messages * BMM350 update measurement interval * BMM350 fix offsets, update based on review * BMM350 Update default parameters to 50Hz * Update OTP Word LSB check * BMM350 fix styles and formatting * BMM350 update error checks
1 parent b1d3332 commit b9c601b

File tree

9 files changed

+1331
-0
lines changed

9 files changed

+1331
-0
lines changed

src/drivers/drv_sensor.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@
239239
#define DRV_INS_DEVTYPE_VN300 0xE3
240240
#define DRV_DIFF_PRESS_DEVTYPE_ASP5033 0xE4
241241

242+
#define DRV_MAG_DEVTYPE_BMM350 0xE5
243+
242244
#define DRV_DEVTYPE_UNUSED 0xff
243245

244246
#endif /* _DRV_SENSOR_H */

src/drivers/magnetometer/bosch/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@
3232
############################################################################
3333

3434
add_subdirectory(bmm150)
35+
add_subdirectory(bmm350)

0 commit comments

Comments
 (0)