1st working sample
Dependencies: BSP_DISCO_F469NI BD_SD_DISCO_F469NI
Diff: check_revision.cpp
- Revision:
- 0:9a320d54d2dc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/check_revision.cpp Mon Jan 06 11:17:55 2020 +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: December 24th, 2019 + */ + +#include "mbed.h" + +// RUN ONLY ON mbed-os5.15.0 +// https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.15.0 +#if (MBED_MAJOR_VERSION == 5) &&\ + (MBED_MINOR_VERSION == 15) &&\ + (MBED_PATCH_VERSION == 0) +#else + //#warning "Please use Mbed-os5.15.0" + #error "Please use Mbed-os5.15.0" +#endif \ No newline at end of file