Content originally posted in LPCWare by CodeRedSupport on Fri Mar 02 03:09:11 MST 2012
Quote: atomicdog
Is there a C preprocessor define that gets set when the semihost library is used?
I want to be able to redefine a symbol based on if the semihost library is used.
This is not possible, because none/nohost/semihost is a library selection. That is, it affects the libraries that you link with - it does not affect the compilation in any way.