1st working sample

Dependencies:   BSP_DISCO_F469NI BD_SD_DISCO_F469NI

check_revision.cpp

Committer:
kenjiArai
Date:
2020-01-06
Revision:
0:9a320d54d2dc

File content as of revision 0:9a320d54d2dc:

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