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

IAR 8.11 ERROR

Hi,I update my IAR IDE from version 7.70.1 to 8.11.1,when I compile the workspace ble_app_hrs_freertos_pca10040, the error occur in port.c, as following:

Error[Og014]: Warning in inline assembly: "DC or DS directive while in CODE area." 

D:\project\SmartWatch\BPM\nRF5_SDK_13.0.0_04a0bfd\external\freertos\portable\IAR\nrf52\port.c 115  

Error[Og014]: Warning in inline assembly: "DC or DS directive while in CODE area." 

D:\project\SmartWatch\BPM\nRF5_SDK_13.0.0_04a0bfd\external\freertos\portable\IAR\nrf52\port.c 143

Error[Og014]: Warning in inline assembly: "DC or DS directive while in CODE area." 

D:\project\SmartWatch\BPM\nRF5_SDK_13.0.0_04a0bfd\external\freertos\portable\IAR\nrf52\port.c 199

Error while running C/C++ Compiler

How do I solve it, thank you!

best regards,

Parents Reply Children
  • Hi James,

    The scope for SDK 13.1 was very limited, adding support for SoftDevice S332. The SDK 13.1 release branch was directly derived from the SDK 13.0 release branch, so the fix was unfortunately not included.

    The chronology is a bit strange here as 13.0 was older than 12.3 and we had to start from 13.0 when preparing 13.1. But the fix will be included in the next major SDK release (SDK 14.0).

Related