aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/c_loader.iom
diff options
context:
space:
mode:
authorNicolas Schodet2021-09-28 22:24:47 +0200
committerNicolas Schodet2021-09-28 22:56:53 +0200
commit95f27877c886c7ef263e90ad494748733744fce8 (patch)
tree2c2d6844cdd3109ccf7bebb7326fb0e47a538c79 /AT91SAM7S256/Source/c_loader.iom
parent97335845c390f180228cc2806341d34409d78535 (diff)
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.
Diffstat (limited to 'AT91SAM7S256/Source/c_loader.iom')
-rw-r--r--AT91SAM7S256/Source/c_loader.iom3
1 files changed, 2 insertions, 1 deletions
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