natanaeljr / esp32-MPU-driver

ESP32 full library for all MPU6000 MPU6050 MPU6500 MPU9150 MPU9250 with SPI and I2C support and more.
MIT License
249 stars 67 forks source link

Compiler error in the ESP-IDF ver 5.0.1 platform #28

Open groma-geza opened 1 year ago

groma-geza commented 1 year ago

I obtained the following error message in the ESP-IDF ver 5.0.1 platform: MPU.cpp:1879:13: error: either all initializer clauses should be designated or none of them should be

nopnop2002 commented 1 year ago

From ESP-IDF V5, make is completely obsolete and replaced by cmake.

Therefore, if you build this repository using ESP-IDF V5, you will have to make a number of modifications.

With ESP-IDF V5,try this. https://github.com/nopnop2002/esp-idf-mpu6050-dmp