mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-14 01:03:01 -07:00
Trying automagic version stuff
This commit is contained in:
parent
8e19377db1
commit
42bc3be31c
1 changed files with 10 additions and 0 deletions
10
common/version.c
Normal file
10
common/version.c
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#define VERSION "$Id $"
|
||||||
|
static const struct __attribute__((packed)) {
|
||||||
|
const char string[48];
|
||||||
|
unsigned int length;
|
||||||
|
unsigned int magic;
|
||||||
|
} version __attribute__((unused,section("versioninformation"))) = {
|
||||||
|
VERSION,
|
||||||
|
sizeof(VERSION),
|
||||||
|
0x48151623,
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue