From 95f27877c886c7ef263e90ad494748733744fce8 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Tue, 28 Sep 2021 22:24:47 +0200 Subject: Change the versioning scheme to use a third number NXT Improved firmware will now use a x.y.z version numbering scheme. The current version is 1.29.0 and the next one will be 1.29.1. Previously, the commit hash was included in the custom version. This is replaced with a build date corresponding to the newest git commit, unless the SOURCE_DATE_EPOCH environment variable is defined, in which case it will be used as build date. When out of git, if no SOURCE_DATE_EPOCH is defined, it will fall back to the current date. The weird date parsing code in BtTest is gone. --- AT91SAM7S256/Source/c_loader.iom | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'AT91SAM7S256/Source/c_loader.iom') diff --git a/AT91SAM7S256/Source/c_loader.iom b/AT91SAM7S256/Source/c_loader.iom index dde8b6a..588db1c 100644 --- a/AT91SAM7S256/Source/c_loader.iom +++ b/AT91SAM7S256/Source/c_loader.iom @@ -21,7 +21,8 @@ //For example, version 1.5 would be 0x0105 //If these switch to little-endian, be sure to update //definition and usages of VM_OLDEST_COMPATIBLE_VERSION, too! -#define FIRMWAREVERSION 0x011D //1.28 +#define FIRMWAREVERSION 0x011D // x.y +#define FIRMWAREPATCH 0 // .z, the third number #define PROTOCOLVERSION 0x017C //1.124 enum -- cgit v1.2.3