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

Error: cannot open source input file "nrf_erratas.h": No such file or directory for nrf51 in keil version 5

Please help me to eliminate the error : "cannot open source input file "nrf_erratas.h": No such file or directory" for nrf51422 for nrf 51(12.3) sdk in keil version 5

Parents
  • I am not a Nordic employee; I discovered this by poking and proding at the Run Time Environment and Target Options until I groked it. Older nRF_DeviceFamilyPacks (sometime prior to 8.30.2) did not contain the nrf_erratas.h and related files. Atempts to compile newer SDK examples with a system still configured to older DeviceFamilyPacks will error out for not finding the nrf_erratas file. At least IMO, the cleanest solution is to:

    1. Use the Pack Installer to install the latest DeviceFamilyPack for your device and board, 
    2. Use the Select Software Packs to select only the latest version DFP (just installed),
    3. Use the Project > Manage Run-Time Environment to reset the Device > Startup and Device > StartupConfig to the latest DFP version.
    4. Go back and undo any hacks you made to the includes in the C/C++ build environment.

    Note: These instructions are for the Keil IDE. Other IDE commands & structures will differ.

    Steve

Reply
  • I am not a Nordic employee; I discovered this by poking and proding at the Run Time Environment and Target Options until I groked it. Older nRF_DeviceFamilyPacks (sometime prior to 8.30.2) did not contain the nrf_erratas.h and related files. Atempts to compile newer SDK examples with a system still configured to older DeviceFamilyPacks will error out for not finding the nrf_erratas file. At least IMO, the cleanest solution is to:

    1. Use the Pack Installer to install the latest DeviceFamilyPack for your device and board, 
    2. Use the Select Software Packs to select only the latest version DFP (just installed),
    3. Use the Project > Manage Run-Time Environment to reset the Device > Startup and Device > StartupConfig to the latest DFP version.
    4. Go back and undo any hacks you made to the includes in the C/C++ build environment.

    Note: These instructions are for the Keil IDE. Other IDE commands & structures will differ.

    Steve

Children
No Data
Related