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 Kenji Arai

Please refer following my Notebook page.
/users/kenjiArai/notebook/sd-card-control-new/

check_revision.cpp

Committer:
kenjiArai
Date:
2019-11-01
Revision:
7:ce59e951625f
Child:
8:3c5373ba612a

File content as of revision 7:ce59e951625f:

/*
 * 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