Go Down

Topic: How to add customized compiling message under Arduino IDE (Read 499 times) previous topic - next topic

Hi All,
I want to add some customized output information in Arduino IDE when compiling the code written by me.
I tried #pragma message("hello"). It dispalyed nothing.
Can anybody know it?



Coding Badly

Coding Badly

Jan 03, 2013, 05:06 am Last Edit: Jan 03, 2013, 06:15 am by Coding Badly Reason: 1

Another possibility (requires the condition to reduce to a compile-time constant)...

Code: [Select]
static void OutputsErrorIfCalled( void ) __attribute__ (( error("Unexpected condition encountered.") ));

void loop( void )
 if ( true )

Go Up