This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MPU6050 with NRF52832 in segger

Hi,

I am working on MPU-6050 sensor.

I have downloaded the NRF5-MPU-EXAMPLE  from this link

GitHub - Martinsbl/nrf5-mpu-examples

GitHub
Contribute to Martinsbl/nrf5-mpu-examples development by creating an account on GitHub.

in that there is no SES file.

How to create a SES file to work this code in segger..

  • Hi,

    I would recommend that you copy a SES project from another example in the same SDK version and modify this with the paths and source files required for the MPU examples. This video tutorial should show you how to add files into the SES project.

    For instance, if you want to use nrf5-ble-mpu-data-ready-interrupts example on a PCA10040 board, you should copy the ses folder from examples\ble_peripheral\ble_app_uart\pca10040\s132\ into examples\nrf5-mpu-examples\nrf5-ble-mpu-data-ready-interrupts\pca10040\s132\ and then add the required MPU library files.

    Best regards,
    Jørgen

    • Hi,

      i am trying to alternate  " ble_app_uart_pca10040_s132 "   segger solution to work in this MPU-6050  library

      for that i also got the error  #error "No MPU defined. Please define MPU in Target Options C/C++ Defines"

      and more error like

      • You need to define the symbols (in project preprocessor symbold), configuring what device you are using. This is specified in the "How to use" section of the GitHub repository page.