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

nRF SDK examples fail to compile in Segger Embedded Studio?

I just downloaded nRF SDK 17.0.2 and installed Segger Embedded Studio V5.20a

I opened the blinky example for the nrf52840 (C:\Nordic\nRF5_SDK_17.0.2_d674dde\examples\peripheral\blinky\pca10056\blank\ses), and when I go to build it, I get an error:

"unknown token in expression" and it directs me to line 62 of app_error_handler_gcc.c

which is:

    /* prepare arguments and call function: app_error_fault_handler */
    "ldr r0, =%4                    \n"
    "mov r1, lr                     \n"
    "mov r2, sp                     \n"
    "bl  %5                         \n"

What am I doing wrong here? I figured that the examples should work out of the box.

Parents Reply Children
Related