Robert, of course, the right way is to define own macro (= CDL rule) in
the plf's stuff. But, that's not possible without a tweaking plf's code.
I thought about a froud hack: to add something like the below in CFLAGS
-D"HAL_IDLE_THREAD_ACTION(x)={}"
Well, it's ugly, but, if you do not want to mess up 3.0 sources, it
would
be a way.
Perhaps, eCos veterans know about another way.
It's just for reference how it was done for lpc2xxx variants:
packages/hal/arm/lpc2xxx/var/current/include/var_arch.h:63
So, I can use
cdl_option CYGHWR_HAL_ARM_LPC2XXX_IDLE_PWRSAVE {
user_value 0
};
for my target to disable that "odd" mode. Certainly it can be disabled
with `configtool' too.
Sergei