Dear expert
I have created a keil project according to the example of light_switch with Segger_Embedded_Studio IDE in nrf5SDKforMeshv310src, and when I build the main source, there are two errors and warnings as following:
the first error: ..\..\mesh\core\include\hal.h(70): error: #29: expected an expression
#elif NRF52_SERIES
the second error: ..\..\mesh\core\include\hal.h(119): error: #35: #error directive: "Unsupported hardware platform"
#error "Unsupported hardware platform"
the first warning: ..\..\nrf5 sdk\components\libraries\util\app_util.h(211): warning: #47-D: incompatible redefinition of macro "STATIC_ASSERT_SIMPLE" (declared at line 206)
#define STATIC_ASSERT_SIMPLE(EXPR) extern char (*_do_assert(void)) [sizeof(char[1 - 2*!(EXPR)])]
the second warning: ..\..\nrf5 sdk\components\libraries\util\app_util.h(212): warning: #47-D: incompatible redefinition of macro "STATIC_ASSERT_MSG" (declared at line 207)
#define STATIC_ASSERT_MSG(EXPR, MSG) extern char (*_do_assert(void)) [sizeof(char[1 - 2*!(EXPR)])]