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

RTE\Device\nRF52832_xxAA\system_nrf52.c(29): error: #5: cannot open source input file "nrf_erratas.h": No such file or directory

I am using nRF52832, And SDK 15.3, the ble_app_blinky project,

   a.   if i have installed only the latest version of Device family 8.29.0 ,  when i try to build the project, it asks for permission to install 8.24.1 also.as shown in below fig

b. If I install version 8.24.1 in the pack installer as shown below, I get an error with erratas.h file



I have tried the solution given in other thread, to delete a file in module folder. But the error still persists. 

Can anyone kindly guide me?

Parents
  • Hi

    I found the nrf_erratas.h file, and it seems it is located in the path \Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\8.29.0\Device\Include. Sorry to have misled you. Seems like there's an error with MDK version 8.29.0 where this file isn't included in the projects by itself. Please try adding it manually.

    Best regards,

    Simon

  • Can you please tell me, where i can find this file?  Whats the procedure to manually include?

    Because i dont find it in the SDK folder 

  • I found the file at C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\8.29.0\Device\Include. Please check wherever you downloaded Keil on your computer. In Keil uVision you set the include path from Project -> Options for Target ... -> C/C++. There, in the lower half of the window, you can modify the Include Paths.

    Best regards,

    Simon

  • The path you are mentioning doesnt exist in my drive

    ...I included both the paths, and im still facing the error with erratas.h file.

  • it is not exactly the same path as Simonr described,  but you can search nRF_DeviceFamilyPack\8.29.0\Device\Include, i do find that file in pack, but need to modify .h a little bit;

    my path is under ”C:\Users\user\AppData\Local\Arm\Packs“

  • Hi,

    I had exactly the same problem but finally I've sorted this issue:

    1. Remove nRF_DeviceFamilyPack version 8.29 because it looks like automatically add to system_nrf_528xx #include "nrf_erratas.h" which makes a problem.

    I am using 8.24.1 

    2. Close Keil

    2. Unzip once again the SDK and open blinky project (just to clear)

    3. Compile and should work.

  • Including that file, throws another error

Reply Children
No Data