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

nRF52 DK with SDK14 Blinky Example (without BLE) Compile Error by Using IAR 8.20.1

Hi,

I am using IAR embedded workbench IDE - ARM 8.20.1 (full version) to compile the SDK 14.0 blinky_pca10040_s132 -nrf52832_xxaa example. However, I got some errors which is

  1. Fatal Error[Pe1696]: cannot open source file "nrf_log_ctrl_internal.h"

  2. Error while running C/C++ Compiler app_util_platform.c
    app_error.c
    nrf_assert.c
    main.c
    nrf_sdh_soc.c

  3. Fatal Error[Pe1696]: cannot open source file "nrf_section_iter.h"

  4. Error while running C/C++ Compiler nrf_sdh.c

  5. Fatal Error[Pe1696]: cannot open source file "nrf_section_iter.h"

  6. Error while running C/C++ Compiler system_nrf52.c
    nrf_strerror.c
    nrf_section_iter.c

Total number of errors: 3 (Display on IAR message box)

I already did the below step before I built the project,

  1. Open workspace -> "blinky.eww"
  2. Set active -> blinky_pca10040_s132_nf52832_xxaa
  3. Select project -> options -> Gerneral Options -> Target -> Device -> "NordicSemi nRF52832_xxAA"
  4. Select project -> options -> Debugger -> Drive -> "J-link/J-Trace"
  5. Select project -> options -> Debugger -> J-link/J-Trace -> Setup -> JTAG/SWD speed -> Fixed 4000kHz
  6. Use nrfjprog erase and reset the chip

I had no idea that why I will got these errors. Please help.

Thank you.

Regards,

sm

Parents Reply Children
No Data
Related