RAM Disk function using Mbed os5 standard library
Please refer following my Notebook page.
/users/kenjiArai/notebook/sd-card-control-new/#
check_revision.cpp@2:4c2328c61af7, 2019-12-26 (annotated)
- Committer:
- kenjiArai
- Date:
- Thu Dec 26 11:12:47 2019 +0000
- Revision:
- 2:4c2328c61af7
- Parent:
- 1:58fc0cbd9a41
- Child:
- 4:6650958e6eae
updated OS -> os5.15.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kenjiArai | 1:58fc0cbd9a41 | 1 | /* |
kenjiArai | 1:58fc0cbd9a41 | 2 | * Check Mbed revision |
kenjiArai | 1:58fc0cbd9a41 | 3 | * |
kenjiArai | 1:58fc0cbd9a41 | 4 | * Copyright (c) 2019 Kenji Arai / JH1PJL |
kenjiArai | 1:58fc0cbd9a41 | 5 | * http://www.page.sannet.ne.jp/kenjia/index.html |
kenjiArai | 1:58fc0cbd9a41 | 6 | * https://os.mbed.com/users/kenjiArai/ |
kenjiArai | 1:58fc0cbd9a41 | 7 | * Created: December 26th, 2019 |
kenjiArai | 1:58fc0cbd9a41 | 8 | * Revised: December 26th, 2019 |
kenjiArai | 1:58fc0cbd9a41 | 9 | */ |
kenjiArai | 1:58fc0cbd9a41 | 10 | |
kenjiArai | 1:58fc0cbd9a41 | 11 | #include "mbed.h" |
kenjiArai | 1:58fc0cbd9a41 | 12 | |
kenjiArai | 2:4c2328c61af7 | 13 | // RUN ONLY ON mbed-os5.15.0 |
kenjiArai | 2:4c2328c61af7 | 14 | // https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.15.0 |
kenjiArai | 2:4c2328c61af7 | 15 | #if (MBED_MAJOR_VERSION == 5) &&\ |
kenjiArai | 2:4c2328c61af7 | 16 | (MBED_MINOR_VERSION == 15) &&\ |
kenjiArai | 2:4c2328c61af7 | 17 | (MBED_PATCH_VERSION == 0) |
kenjiArai | 1:58fc0cbd9a41 | 18 | #else |
kenjiArai | 2:4c2328c61af7 | 19 | //#warning "Please use Mbed-os5.15.0" |
kenjiArai | 2:4c2328c61af7 | 20 | #error "Please use Mbed-os5.15.0" |
kenjiArai | 2:4c2328c61af7 | 21 | #endif |