“When did C get exception handling? Last I heard, that was C++, not C.”Sigh. The perils of working in two (similar) languages. Apologies on this folks. I’ll correct the posting.GregK – what you have done is essentially implement the assert() macro, while redirecting its output to your UART. I like the idea of outputting information on the compiler version, build date and so on as well as the usual file and line number.
↧