Add to 11U68 11E68
Dependencies: DirectoryList MODSERIAL mbed
Fork of ika_shouyu_poppoyaki by
Diff: _user_settings.h
- Revision:
- 35:0b434ef4af49
- Parent:
- 34:eaca33d3e632
- Child:
- 39:f68f9fa1e88e
--- a/_user_settings.h Thu Sep 26 11:51:03 2013 +0000 +++ b/_user_settings.h Thu Sep 26 12:56:01 2013 +0000 @@ -33,3 +33,23 @@ #endif // MBED_ISP___USER_SETTINGS__ + + + +//////////////////////////// +// FOLLOWING IS MESSAGE THAT WILL BE SHOWN WHEN COMPILE THIS CODE +// you can edit next lines if you want remove error/warning message +/////////////////////////// + +#if defined( ENABLE_WRITING ) && defined( ENABLE_VERIFYING ) + #define WHAT_WAS_DONE "written and verified" +#elif defined( ENABLE_WRITING ) && !defined( ENABLE_VERIFYING ) + #define WHAT_WAS_DONE "written" + #warning "ENABLE_VERIFYING" in "_user_setting.h" is disabled. No verification will be performed. +#elif !defined( ENABLE_WRITING ) && defined( ENABLE_VERIFYING ) + #define WHAT_WAS_DONE "verified" + #warning "ENABLE_WRITING" in "_user_setting.h" is disabled. No writing will be performed. +#else + #error both "ENABLE_WRITING" and "ENABLE_VERIFYING" are disabled ("in user_setting.h"). The program need to execute nothing +#endif +