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.
Dependencies: BSP_DISCO_F469NI_modified BD_SD_DISCO_F469NI
Fork of DISCO-F769NI_BD_SD_Card_Control by
check_revision.cpp
- Committer:
- kenjiArai
- Date:
- 2019-12-07
- Revision:
- 8:3c5373ba612a
- Parent:
- 7:ce59e951625f
- Child:
- 9:b819be925e97
File content as of revision 8:3c5373ba612a:
/*
* 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 6th, 2019
*/
#include "mbed.h"
// RUN ONLY ON mbed-os5.14.2
// https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.14.2
#if (MBED_MAJOR_VERSION == 5) &&\
(MBED_MINOR_VERSION == 14) &&\
(MBED_PATCH_VERSION == 2)
#if defined(TARGET_STM32F469NI)
// correct mbed-os version
#else
#error "DISCO-F469NI"
#endif
#else
//#warning "Please use Mbed-os5.14.2"
#error "Please use Mbed-os5.14.2"
#endif
