Kenji Arai
/
ePD_4R2inch_test_program_on_nRF52
test program for 4.2inch e-Paper
Diff: check_revision.cpp
- Revision:
- 0:2b41523348df
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/check_revision.cpp Wed Aug 28 23:37:43 2019 +0000 @@ -0,0 +1,21 @@ +/* + * Check Mbed revision + * + * Copyright (c) 2019 Kenji Arai / JH1PJL + * http://www.page.sannet.ne.jp/kenjia/index.html + * https://os.mbed.com/users/kenjiArai/ + * Created: July 17th, 2019 + * Revised: August 29th, 2019 + */ + +#include "mbed.h" + +// RUN ONLY ON mbed-os5.13.4 +// https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.13.4 +#if (MBED_MAJOR_VERSION == 5) &&\ + (MBED_MINOR_VERSION == 13) &&\ + (MBED_PATCH_VERSION == 4) +#else + //#warning "Please use Mbed-os5.13.4" + #error "Please use Mbed-os5.13.4" +#endif \ No newline at end of file