Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem while building example projects of Nordik nRF_SDK_15.0.0 on IAR IDE

Hi,

I am facing problem while building example projects given in Nordik SDK on IAR IDE.

The configuration and development libraries used are,

1. Nordik SDK: nRF_SDK, v15.0.0

2. IDE: IAR Embedded Workbench for ARM, v7.4

3. Operating System of PC: Windows

I did download the archive from SDK from the downloads section and followed the procedure as per given on infocenter Link to install the IAR MDK and then to build the example code from IAR subfolder. While building the example I am getting following error messages,

1. -- Error[Pa050]: non-native end of line sequence detected (this diagnostic is only issued once)
    -- File: <SDK_Path>\components\softdevices\s132\headers\nrf_error.h
    -- Line: 1

2. -- Error[Pe1665]: concatenation with "PUSHED_HEADER_SIZE" in macro "STATIC_ASSERT" does not create a valid token
    -- File: <SDK_Path>\components\libraries\experimental_log\src\nrf_log_internal.h
    -- Line: 420

(Note: These errors are repeated for multiple files)

Can anyone comment on these issues? Am I missing any required configuration for IAR?

Parents Reply
  • The errors mentioned above are observed while building source code from examples>ble_peripheral>ble_app_blinky. The same problem is observed when I tried to built 'ble_app_hrs' example. I think the problem is with some compiler configuration and it persists in most of example codes.

    I tried to built the same code on IAR (v8.30) and surprisingly it is getting built there without any error.

    But I need to fix this issue since I am having licensed version of IAR (v7.40) and I need to conduct future firmware development on same.

Children
Related