Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
check_revision.cpp
00001 /* 00002 * Check Mbed revision 00003 * 00004 * Copyright (c) 2019,'20 Kenji Arai / JH1PJL 00005 * http://www7b.biglobe.ne.jp/~kenjia/ 00006 * https://os.mbed.com/users/kenjiArai/ 00007 * Created: July 17th, 2019 00008 * Revised: May 2nd, 2020 00009 */ 00010 00011 #include "mbed.h" 00012 00013 // RUN ONLY ON mbed-os-5.15.3 00014 // https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.15.3 00015 #if (MBED_MAJOR_VERSION == 5) &&\ 00016 (MBED_MINOR_VERSION == 15) &&\ 00017 (MBED_PATCH_VERSION == 3) 00018 #else 00019 //#warning "Please use mbed-os-5.15.3" 00020 #error "Please use mbed-os-5.15.3" 00021 #endif 00022 00023 void print_revision(void) 00024 { 00025 printf("MBED_MAJOR_VERSION = %d, ", MBED_MAJOR_VERSION); 00026 printf("MINOR = %d, ", MBED_MINOR_VERSION); 00027 printf("PATCH = %d\r\n", MBED_PATCH_VERSION); 00028 }
Generated on Fri Jul 15 2022 19:36:06 by
 1.7.2
 1.7.2