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

Unknown error in file path problem.

Hello

I am modifying the example of mpu6050 of sdk v14 in sdk v17.

After build, it is printed that there is no path to the file as shown in the image below.

(The captured picture doesn't look right.)

"Y:Nordic\SDK17.0\nRF5_SDK_17.0.0_9d13099\components\mpu_example\nrf_drv_mpu_twi.c: No such file or directory"

However, the path shown in the error does not contain the file and it is in the other path.

                     

The same error occurs when you delete and add the file again.   Why is there such a problem?

Thank you.

Parents Reply
  • schosdas said:
    Thank you for your reply.

    No problem at all, I am happy to help!

    schosdas said:
    The path of the nrf_drv_mpu_twi.c file is as shown in the picture below.

    Yes, but where is the header file, for nrf_drv_mpu_twi?
    The User Included Directories should point to the header files.
    The source file ( nrf_drv_mpu_twim.c ) should be included in the project by right-clicking on your nRF Drivers project folder, and selecting " Add existing file ".

    Best regards,
    Karl

Children
Related