RAM Disk function using Mbed os5 standard library
Please refer following my Notebook page.
/users/kenjiArai/notebook/sd-card-control-new/#
check_revision.cpp
- Committer:
- kenjiArai
- Date:
- 2020-05-02
- Revision:
- 4:6650958e6eae
- Parent:
- 2:4c2328c61af7
File content as of revision 4:6650958e6eae:
/* * Check Mbed revision * * Copyright (c) 2019,'20 Kenji Arai / JH1PJL * http://www7b.biglobe.ne.jp/~kenjia/ * https://os.mbed.com/users/kenjiArai/ * Created: July 17th, 2019 * Revised: May 2nd, 2020 */ #include "mbed.h" // RUN ONLY ON mbed-os-5.15.3 // https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.15.3 #if (MBED_MAJOR_VERSION == 5) &&\ (MBED_MINOR_VERSION == 15) &&\ (MBED_PATCH_VERSION == 3) #else //#warning "Please use mbed-os-5.15.3" #error "Please use mbed-os-5.15.3" #endif void print_revision(void) { printf("MBED_MAJOR_VERSION = %d, ", MBED_MAJOR_VERSION); printf("MINOR = %d, ", MBED_MINOR_VERSION); printf("PATCH = %d\r\n", MBED_PATCH_VERSION); }