This is the mail archive of the
mailing list for the eCos project.
Re: Moving AUX_CHANNELS, NUM_CHANNELS logic into platform hal
Gary Thomas wrote:
I understand the mechanics - I still don't see how this changes
anything. Do you have a platform that
Instead of making the RedBoot networking option to do a "puts" with the
AUX_CHANNELS macro, it does now a "implements" command on AUX_CHANNELS,
that becomes a interface; then NUM_CHANNELS becomes an option that
augments COMM_CHANNELS with a "calculated" value. Is the same thing done
in the #defines in redboot.h and hal_if.c, but it seems more general and
needs more "AUX" channels?
In fairness, this will probably want to be done at some point anyway. Think
of a console back channel for JTAG debugging, for example.
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine