improved build script, automatic version fetch from source

This commit is contained in:
2017-10-03 20:30:53 +02:00
parent 2796709624
commit 6c1ab28e75
4 changed files with 37 additions and 20 deletions
+3 -2
View File
@@ -5,12 +5,13 @@
#ifndef ESP_VT100_FIRMWARE_VERSION_H
#define ESP_VT100_FIRMWARE_VERSION_H
#include "helpers.h"
#define STR_HELPER(x) #x
#define STR(x) STR_HELPER(x)
#define FW_V_MAJOR 2
#define FW_V_MINOR 1
#define FW_V_PATCH 0
#define FW_V_SUFFIX "-beta2"
#define FW_V_SUFFIX "-beta3"
//#define FW_V_SUFFIX ""
#define FW_CODENAME "Anthill" // 2.1.0
#define FW_CODENAME_QUOTED "\""FW_CODENAME"\""