Hi,
I am working on MPU-6050 sensor.
I have downloaded the NRF5-MPU-EXAMPLE from this link
in that there is no SES file.
How to create a SES file to work this code in segger..
Hi,
I am working on MPU-6050 sensor.
I have downloaded the NRF5-MPU-EXAMPLE from this link
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
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.
Hi,
Thank you
i did that one.
The sdk_config.h file must be the BLE UART sdk file or
MPU_EXAMPLE\nrf5-ble-mpu-simple\pca10040\s132\config sdk_config.h
which one we need to use?
HI,
I got one error it show sensorsim.h : No such directory
and app_mpu.h : No such directory.
Means you have not included the paths to the header files in the project include paths. How to do that is described in the video tutorials I linked you. The MPU project you are using is not based on ble_app_uart, but on ble_app_template. The ble_app_uart example does not include all header file paths that is used by ble_app_template. With that said, it does not look like the example use sensorsim, and you can remove the inclusion of the header file from main.
Hi,
I command the sensorsim.h header file..
but it shows app_mpu.h error.but i added the header file
You have not included the path to the header file in the project settings.
You have not included the path to the header file in the project settings.
Hi,
Even though it won't work same error app_mpu.h : No such file or directory
is this the file path in the drive or ??
..\..\..\..\..\nrf5-mpu-examples
I have used both forward slash and back slash its doesn't change. error still occur
Did you place the example project in the correct level inside the SDK and the directory where the mpu files are located?
You should have the mpu library files located in [SDK_ROOT]\examples\nrf5-mpu-examples\, and your SES project should be located in [SDK_ROOT]\examples\nrf5-mpu-examples\nrf5-ble-mpu-simple\pca10040\s132\ses
From your original image, it looks like you have the project and library files located in a wrong path level.
Hi,
I have used BLE UART SES file and i add the main.c, app_mpu.c,ble_mpu.c and i use
The sdk_config.h file must be the BLE UART sdk file
but in
MPU_EXAMPLE\nrf5-ble-mpu-simple\pca10040\s132\config sdk_config.h
which one we need to use?