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

About GCC compilation and the nrf51 SDK

Hello,

I am currently using the SDK setup from this URL: embeddedsoftdev.blogspot.de/.../ehal-nrf51.html

In order to use that setup, one must change a line in the file nrf_svc.h and add a cast:

  "bx r14" : : "I" ((uint16_t)number) : "r0" \

Otherwise, my mesh will not compile with GCC. Could you change this line in a future SDK version? After all, a cast should not hurt and there are only 255 SVC calls I believe. Is that right?

Thanks, Marius

Related