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?

  • Hi

    Have you added the erratas.h header file to your project? In Keil, you set the include path of the header file from Project -> Options for Target... -> C/C++. From there you can modify the Include Paths.

    Best regards,

    Simon

  • Im not able to find the file erratas.h, 

    I have downloaded below soft device

    S332-SD-v6.1.1 (latest) ANT / BLE SoftDevice for nRF52832


    Using SDK version 15

    (All corresponding files are included except this one).

    FYI


    I dont find the erratas.h file even in version 5

    S332-SD-v5.0.0 ANT / BLE SoftDevice
  • Hi

    It seems erratas.h is nowhere to be found in SDK v.15.3. Can you try removing it from the system_nRF52 file altogether? It seems like erratas.h shouldn't be there at all.

    Best regards,

    Simon

  • i tried commenting the header file of erratas.h from example....but it had few tags referred and started throwing errors as shown below.

    Build started: Project: ble_app_blinky_pca10040_s132
    *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
    Build target 'nrf52832_xxaa'
    compiling system_nrf52.c...
    RTE\Device\nRF52832_xxAA\system_nrf52.c(74): warning:  #223-D: function "errata_12" declared implicitly
          if (errata_12()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(80): warning:  #223-D: function "errata_16" declared implicitly
          if (errata_16()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(86): warning:  #223-D: function "errata_31" declared implicitly
          if (errata_31()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(92): warning:  #223-D: function "errata_32" declared implicitly
          if (errata_32()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(98): warning:  #223-D: function "errata_36" declared implicitly
          if (errata_36()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(106): warning:  #223-D: function "errata_37" declared implicitly
          if (errata_37()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(112): warning:  #223-D: function "errata_57" declared implicitly
          if (errata_57()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(121): warning:  #223-D: function "errata_66" declared implicitly
          if (errata_66()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(143): warning:  #223-D: function "errata_108" declared implicitly
          if (errata_108()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(149): warning:  #223-D: function "errata_136" declared implicitly
          if (errata_136()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c(157): warning:  #223-D: function "errata_182" declared implicitly
          if (errata_182()){
    RTE\Device\nRF52832_xxAA\system_nrf52.c: 11 warnings, 0 errors
    linking...
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_108 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_12 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_136 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_16 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_182 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_31 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_32 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_36 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_37 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_57 (referred from system_nrf52.o).
    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol errata_66 (referred from system_nrf52.o).
    Not enough information to list image symbols.
    Not enough information to list load addresses in the image map.
    Finished: 2 information, 0 warning and 11 error messages.
    ".\_build\nrf52832_xxaa.axf" - 11 Error(s), 11 Warning(s).
    Target not created.
    Build Time Elapsed:  00:00:07

  • i have exactly the same problem as Nagashree.  

Related