Kenji Arai
/
FPU_performance_on_F446_and_F411
Check FPU function using Cos & Sin calculation
check_revision.cpp
- Committer:
- kenjiArai
- Date:
- 2021-01-25
- Revision:
- 2:742afd5cf29f
- Parent:
- 1:a8ba417b1717
File content as of revision 2:742afd5cf29f:
/* * Check Mbed revision * * Copyright (c) 2019,'20,'21 Kenji Arai / JH1PJL * http://www7b.biglobe.ne.jp/~kenjia/ * https://os.mbed.com/users/kenjiArai/ * Created: July 17th, 2019 * Revised: January 11th, 2021 */ #include "mbed.h" // RUN ONLY ON mbed-os-6.6.0 // https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-6.6.0 #if (MBED_MAJOR_VERSION == 6) &&\ (MBED_MINOR_VERSION == 6) &&\ (MBED_PATCH_VERSION == 0) #else # error "Please use mbed-os-6.6.0" #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); }