microSD Card control function for DISCO-F469NI based on BD_SD_DISCO_F746NG library by Roy Krikke
Dependencies: BSP_DISCO_F469NI_modified BD_SD_DISCO_F469NI
Fork of DISCO-F769NI_BD_SD_Card_Control by
Please refer following my Notebook page.
/users/kenjiArai/notebook/sd-card-control-new/
Diff: check_revision.cpp
- Revision:
- 7:ce59e951625f
- Child:
- 8:3c5373ba612a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/check_revision.cpp Fri Nov 01 22:39:36 2019 +0000 @@ -0,0 +1,26 @@ +/* + * 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: November 2nd, 2019 + */ + +#include "mbed.h" + +// RUN ONLY ON mbed-os5.14.1 +// https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.14.1 +#if (MBED_MAJOR_VERSION == 5) &&\ + (MBED_MINOR_VERSION == 14) &&\ + (MBED_PATCH_VERSION == 1) + #if defined(TARGET_STM32F469NI) + // correct mbed-os version + #else + #error "DISCO-F469NI" + #endif +#else + //#warning "Please use Mbed-os5.14.1" + #error "Please use Mbed-os5.14.1" +#endif \ No newline at end of file