Howdy guys,
I am using an nrf52840 and SDK version 17.1.0 alongside Keil. I just upgraded from using the arm compiler version 5 to 6, which required me to switch from the app_error_handler_keil.c file to the GCC version, app_error_handler_gcc.c. Unfortunately, the file is not building for some reason, I keep getting the following error:
../../../../../components/libraries/util/app_error_handler_gcc.c(62): error: unknown token in expression
62 | "ldr r0, =%4 \n"
| ^
<inline asm>(6): note: instantiated into assembly here
6 | ldr r0, =#16385
| ^
1 error generated.
It seems that it is having trouble processing the assembly code in that one line, and I'm not quite sure why. Any help would be appreciated.
Thanks in advance!!
Charles