As i am new in embedded programming,I was trying to connect MPU 9250 with nRF52 DK by using given examples. now it is showing error
#error "No MPU defined. Please define MPU in Target Options C/C++ Defines"
where i have to defined mpu ?
What kind of header file errors?
Have you seen this repository?
Define your MPU here:
If you have an MPU9250 then you can use MPU9255 instead as shown in the image. I believe they have the same functionality and register map.