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:

    Oh, I was confused for a second.

    I used the library here.

    https://github.com/Martinsbl/nrf5-mpu-examples

    There is no header file for nrf_drv_mpu_twi.c in this library.
    I tested it on SDK v14 before what I'm doing now and it worked well.

    It seems that the file included in the repository as nrf_drv_mpu.h is a common header file for either nrf_drv_mpu_TWI or _SPI.

    I would just like to point out that the respository's main README states:

    • All examples are made for SDK 14.2.0. Other SDKs will not work. Download the zip file and extract to "sdk_14.2.0_folder\examples". Or just clone it to the same folder.

    In the first bulletpoint of the "How to use" description.
    You could of course try to modify or change it, to make it work with newer SDK versions, but I suppose there is a reason for why the author is being explicit here.
    Things could have changed in the drivers that the mpu project includes from the SDK, for example.

    Best regards,
    Karl

Children
No Data
Related