Content originally posted in LPCWare by oingo456 on Wed Sep 01 14:50:20 MST 2010
One answer is to change to NEWLIB, which is C99 compliant, then #include <stdbool.h> just works.
I don't know why it doesn't work with REDLIB.. it is only three macros. If you want, you can add the following to code using REDLIB and then it will work (Taken from GCC's stdbool.h )
#define bool _Bool
#define true 1
#define false 0
To be fair, they don't claim C99 compliance with redlib; but it seems to me it should have worked.