8 years, 11 months ago.

BLE Heart Rate Example dont work with IAR.

Hi,

I am using nRF51822 Dongle Kit. When I export the project to IAR environment, it gives the error: Error[Pe130]: expected a "{" at \nRF51822\common\common.h 165 I am using IAR version 7.40.2

So I would like to know what is this syntax with inline function with some macro after it? What it does?

static inline void debugger_breakpoint(void) ATTR_ALWAYS_INLINE;

How can I fix the code so that it can compile with IAR?

Thank you

Question relating to:

/ BLE_HeartRate Featured
Heart Rate Monitor example for the BLE API using nRF51822 native mode drivers
Be the first to answer this question.