MPU6050_DMP6 Compiles With Errors for STM32F411CE

Post here first, or if you can't find a relevant section!
Post Reply
imk
Posts: 31
Joined: Fri Sep 24, 2021 9:26 pm

MPU6050_DMP6 Compiles With Errors for STM32F411CE

Post by imk »

Hello,
Environment Win 10 64bit i5 loads of RAM, IDE 2 RC3
I am having problems compiling both MPU6050_DMP6 and MPU6050_DMP6_using_DMP_V6v12 examples application for a WeAct Black Pill STM32F411CE
Both compile and run on and UNO, also MPU6050_raw.ino

But MPU6050_DMP6 and MPU6050_DMP6_using_DMP_V6v12 won't compile, i think maybe something to do with the
MPU6050_6Axis_MotionApps_V6_12.h and MPU6050_6Axis_MotionApps20.h includes
The basic 6050 example MPU6050_raw compiles and runs on the STM32 ok, but the Motion.h include seems to be an issues

I have tried various compile options unsuccessfully

Error:
c:\Users\Me\Documents\Arduino\libraries\MPU6050\src/MPU6050.h:441:7: warning: type 'struct MPU6050' violates the C++ One Definition Rule [-Wodr]
441 | class MPU6050 {

Many thanks imk
1201 Alarm
Post Reply

Return to “General discussion”