Bump version
[betaflight.git] / src / main / build / version.h
blobc34f3050a76bc19008e73bbec20906bc3477782c
1 /*
2 * This file is part of Cleanflight.
4 * Cleanflight is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * Cleanflight is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
18 #define FC_FIRMWARE_NAME "Betaflight"
19 #define FC_VERSION_MAJOR 3 // increment when a major release is made (big new feature, etc)
20 #define FC_VERSION_MINOR 1 // increment when a minor release is made (small new feature, change etc)
21 #define FC_VERSION_PATCH_LEVEL 3 // increment when a bug is fixed
23 #define STR_HELPER(x) #x
24 #define STR(x) STR_HELPER(x)
25 #define FC_VERSION_STRING STR(FC_VERSION_MAJOR) "." STR(FC_VERSION_MINOR) "." STR(FC_VERSION_PATCH_LEVEL)
27 #define MW_VERSION 231
29 extern const char* const targetName;
31 #define GIT_SHORT_REVISION_LENGTH 7 // lower case hexadecimal digits.
32 extern const char* const shortGitRevision;
34 #define BUILD_DATE_LENGTH 11
35 extern const char* const buildDate; // "MMM DD YYYY" MMM = Jan/Feb/...
37 #define BUILD_TIME_LENGTH 8
38 extern const char* const buildTime; // "HH:MM:SS"