Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

compile error in nrfx_log.h - error: missing binary operator before token "("

I am trying to build UART support into my current project but the compilation of the nrfx uart driver fails. See error below:

Any idea how to solve this? Is there good guide how to include the nrfx drivers into a project? Apart from the doxygen documentation.

SDK Version 15.3.0_59ac345

Thanks for your help!

2> In file included from C:/git/software/radiodriver/nrfx/nrfx.h:45:0,
2>                  from C:\git\software\radiodriver\nrfx\drivers\src\nrfx_uart.c:41:
2> C:/git/software/radiodriver/include/nrfx_log.h:51:41: error: missing binary operator before token "("
2> C:/git/software/radiodriver/nrfx/drivers/nrfx_common.h:72:38: note: in definition of macro 'NRFX_CHECK'
2> C:/git/software/radiodriver/include/nrfx_log.h:53:16: note: in expansion of macro 'NRFX_CONFIG_ENTRY'

Parents Reply Children
No Data
Related