USB Memory control program using USBHost library
see /users/kenjiArai/notebook/usb-interface--usbhost-and-usbdevice/
Diff: check_revision.cpp
- Revision:
- 0:a1ca40de3f45
diff -r 000000000000 -r a1ca40de3f45 check_revision.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/check_revision.cpp Sat Jan 04 23:51:21 2020 +0000 @@ -0,0 +1,21 @@ +/* + * Check Mbed revision + * + * Copyright (c) 2019,'20 Kenji Arai / JH1PJL + * http://www.page.sannet.ne.jp/kenjia/index.html + * https://os.mbed.com/users/kenjiArai/ + * Created: July 17th, 2019 + * Revised: January 5th, 2020 + */ + +#include "mbed.h" + +// RUN ONLY ON mbed-os5.14.2 +// https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.14.2 +#if (MBED_MAJOR_VERSION == 5) &&\ + (MBED_MINOR_VERSION == 14) &&\ + (MBED_PATCH_VERSION == 2) +#else + //#warning "Please use Mbed-os5.14.2" + #error "Please use Mbed-os5.14.2" +#endif \ No newline at end of file