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: APDS_9960 LPS22HB LSM9DS1 HTS221
Diff: check_revision.cpp
- Revision:
- 0:f1a10797d9f6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/check_revision.cpp Fri Feb 07 01:21:16 2020 +0000 @@ -0,0 +1,26 @@ +/* + * 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: January 30th, 2020 + */ + +#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 + +#ifndef TARGET_NRF52840 +# error "Select Nordic nRF52840-DK" +# warning "see https://os.mbed.com/platforms/Nordic-nRF52840-DK/" +#endif \ No newline at end of file