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
MPU6050_DMP6 Compiles With Errors for STM32F411CE
Post here first, or if you can't find a relevant section!
Return to “General discussion”
Jump to
- Announcements
- New users start here
- ↳ Forum rules, FAQs and HowTo's
- ↳ Let us know a bit about you and your projects
- Arduino for STM32
- ↳ General discussion
- ↳ Ideas & suggestions
- ↳ Cores
- ↳ STM32 Core
- ↳ Builds and Announcements
- ↳ Code snippets
- ↳ Ideas & suggestions
- ↳ General discussion
- ↳ Installation and OS related
- ↳ Libraries & Hardware
- ↳ PR's bugs and enhancements
- ↳ LibMaple
- ↳ Builds and Announcements
- ↳ Code snippets
- ↳ General discussion
- ↳ Ideas & suggestions
- ↳ Installation and OS related
- ↳ Libraries & Hardware
- ↳ PR's bugs and enhancements
- ↳ Steve's LibMaple core
- ↳ General discussion
- ↳ PR's bugs and enhancements
- ↳ Projects
- ↳ IDE's
- ↳ Off topic
- Arduino for STM8
- ↳ General discussion
- ↳ Cores
- ↳ STM8 Core
- ↳ Other
- Boards
- ↳ Custom design boards
- ↳ Maple & Maple mini etc
- ↳ STM boards (Discovery, Eval, Nucleo, ...)
- ↳ All other boards
- ↳ STM32F0 based boards
- ↳ STM32F1 based boards
- ↳ STM32F2 based boards
- ↳ STM32F3 based boards
- ↳ STM32F4 based boards
- ↳ STM32F7 based boards
- ↳ STM32G0 based boards
- ↳ STM32G4 based boards
- ↳ STM32H7 based boards
- ↳ STM32L0 based boards
- ↳ STM32L1 based boards
- ↳ STM32L4 based boards
- ↳ STM32L5 based boards
- ↳ STM32MP1 based boards
- ↳ STM32WB based boards
- Bootloaders
- ↳ STM32 HID bootloader
- ↳ USB bootloader
- ↳ STM32 SD-Bootloader
- ↳ STM32 USB CDC bootloader
- Uploaders and debuggers
- ↳ STLink
- ↳ USB to Serial adaptors
- ↳ Black Magic Probe & other
- Dead Thread Graveyard
- ↳ Dead Thread Graveyard