rename version.c into version_pm3.c to avoid clash with mbedtls and other future clashes

This commit is contained in:
Philippe Teuwen 2021-05-21 00:15:20 +02:00
commit 9a00ad0230
9 changed files with 25 additions and 25 deletions

View file

@ -0,0 +1,15 @@
#include "common.h"
/* This is the default version_pm3.c file that Makefile.common falls back to if neither sh nor perl are available */
#ifndef ON_DEVICE
#define SECTVERSINFO
#else
#define SECTVERSINFO __attribute__((section(".version_information")))
#endif
const struct version_information SECTVERSINFO version_information = {
VERSION_INFORMATION_MAGIC,
1, /* version 1 */
0, /* version information not present */
2, /* cleanliness couldn't be determined */
/* Remaining fields: zero */
};