wollewald / MPU9250_WE

An Arduino library for the 9-axis accelerometer, gyroscope and magnetometer MPU9250 and MPU6500. It contains many example sketches make it easy to use.
https://wolles-elektronikkiste.de/en/mpu9250-9-axis-sensor-module-part-1
MIT License
56 stars 26 forks source link

Error when uploading in xiao esp32s3 #18

Closed giannisj5 closed 7 months ago

giannisj5 commented 7 months ago

c:\Users\user\Arduino\libraries\MPU9250_WE\src/MPU6500_WE.h:337:28: error: section attribute not allowed for 'accOffsetVal' 337 | RTC_DATA_ATTR xyzFloat accOffsetVal; // to be able to keep offsets after deep sleep | ^~~~ c:\Users\user\Arduino\libraries\MPU9250_WE\src/MPU6500_WE.h:338:28: error: section attribute not allowed for 'gyrOffsetVal' 338 | RTC_DATA_ATTR xyzFloat gyrOffsetVal; | ^~~~

wollewald commented 7 months ago

@giannisj5 Something I tried found its way into the the release 1.2.8. Now it should work again (1.2.9).

giannisj5 commented 7 months ago

thank you very much, very fast fix. Everything is working perfect