Merge pull request #2654 from Antiklesys/master
[RRG-proxmark3.git] / common / default_version_pm3.c
blobd93a7ef156312768907924d2684b935c9e7578d0
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
3 //
4 // This program 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.
8 //
9 // This program 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 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 #include "common.h"
17 /* This is the default version_pm3.c file that Makefile.common falls back to if sh is not available */
18 #ifndef ON_DEVICE
19 #define SECTVERSINFO
20 #else
21 #define SECTVERSINFO __attribute__((section(".version_information")))
22 #endif
24 const struct version_information_t SECTVERSINFO g_version_information = {
25 VERSION_INFORMATION_MAGIC,
26 1, /* version 1 */
27 0, /* version information not present */
28 2, /* cleanliness couldn't be determined */
29 "Iceman/master/unknown",
30 "1970-01-01 00:00:00",
31 "no sha256"