This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Simon Kallweit <simon.kallweit@intefo.ch> writes:
Nick Garnett wrote:
Well that's actually the reason for me to propose aThe "#if 0" is an oversight on my part. When debugging via JTAG I was having difficulties breaking in to an idle system. Stopping it using WFI solved this. The #else part is also a consequence of this, so that code should really be:
CYGHWR_HAL_CORTEXM_IDLE_SLEEP configuration option. During debugging,
wfi is rather troublesome, so I thought it might be a good idea to
make it configurable. Or is this too much cruft?
I think it might be too much cruft.
I don't know how other people work but I tend to like
enabling/disabling debug stuff by editing the source rather than
messing with the configuration. The latter is often more complicated
and it takes a lot longer to recompile everything. CVS usually reminds
me to undo the change before checking in -- except in this case where
there was no original to diff against, and I forgot about this edit.
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |