function test USBMSD(as external strage for PC USB) and USBSerial. Switching between USBMSD and USBSerial(Not work simultaneously)

see /users/kenjiArai/notebook/usb-interface--usbhost-and-usbdevice/

check_revision.cpp

Committer:
kenjiArai
Date:
2020-01-06
Revision:
0:c6dea1f647f6
Child:
1:7a568319eeb7

File content as of revision 0:c6dea1f647f6:

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