I have run into a problem compiling with ARM Compiler 6 version.
In this case I cannot figure out the problem.
Seems the only file causeing problems (after fixing a few ifdefs) is the ble_dfu_unbonded.c
I get the following compiler error:
../../../../../../components/ble/ble_services/ble_dfu/ble_dfu_unbonded.c(61): error: unknown token in expression
NRF_SVCI_ASYNC_FUNC_DEFINE(NRF_DFU_SVCI_SET_ADV_NAME, nrf_dfu_set_adv_name, nrf_dfu_adv_name_t);
^
../../../../../../components/libraries/svc\nrf_svci_async_function.h(158): note: expanded from macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
\
^
../../../../../../components/libraries/svc/nrf_svci.h(280): note: expanded from macro '\
SVCI'
SVCI_IMPL(VA_NARGS(__VA_ARGS__), svci_num, return_type, function_name, ##__VA_ARGS__)
^
../../../../../../components/libraries/svc/nrf_svci.h(277): note: expanded from macro 'SVCI_IMPL'
SVCI_IMPLI(count, svci_num, return_type, function_name, ##__VA_ARGS__)
That originates from the following line of code:
/**@brief Define functions for async interface to set new advertisement name for DFU mode. */
NRF_SVCI_ASYNC_FUNC_DEFINE(NRF_DFU_SVCI_SET_ADV_NAME, nrf_dfu_set_adv_name, nrf_dfu_adv_name_t);
Has anyone been able to solve this problem, I really need to be able to use ARM Compiler 6.....