Hi all,
This just works in other compilers. I'm new to Nordic/Segger and have tried all variations of parenthesise, ## macro expansion. It's got to be something simple!
#define TASKER_PIF_TIMER TIMER0
NRF_TIMER0->TASKS_START = 1; // works, as you'd expect
NRF_TASKER_PIF_TIMER->TASKS_START = 1; // fails to compile
Tried:
NRF_(TASKER_PIF_TIMER), NRF_{TASKER_PIF_TIMER}, NRF_#{TASKER_PIF_TIMER}, NRF_##{TASKER_PIF_TIMER}, NRF_#(TASKER_PIF_TIMER), NRF_##(TASKER_PIF_TIMER)