Skip to content
Discussion options

You must be logged in to vote

Then I'm not really clear on what exactly you're asking. You can see where the existing drivers are an how they are used. Presumably you modeled your icm45686 code after an existing one. For example you can see how the ICM20689 driver works:

nav$ grep -Hinr ICM20689 src/ | egrep -v target


src/main/fc/cli.c:225:    "ICM20689", "BMI088", "ICM42605", "BMI270",  "LSM6DXX", "FAKE"};
src/main/fc/settings.yaml:5:    values: ["NONE", "AUTO", "MPU6000", "MPU6500", "MPU9250", "BMI160", "ICM20689", "BMI088", "ICM42605", "BMI270","LSM6DXX",  "FAKE"]

src/main/drivers/accgyro/accgyro_mpu.h:30:#define ICM20689_WHO_AM_I_CONST             (0x98)

src/main/drivers/accgyro/accgyro_mpu6500.c:121:         …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@and-sh
Comment options

Comment options

You must be logged in to vote
1 reply
@and-sh
Comment options

Answer selected by and-sh
Comment options

You must be logged in to vote
2 replies
@and-sh
Comment options

@and-sh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants