Official support library for using mbed as a programmable coprocessor in the Innomatix DAP-III+ telematics platform
InnomatixMeta.h@8:a6311d40c5a2, 2016-09-30 (annotated)
- Committer:
- Innomatix
- Date:
- Fri Sep 30 17:08:29 2016 +0000
- Revision:
- 8:a6311d40c5a2
- Parent:
- 1:c7920c8bc557
- Child:
- 10:5fbe72ffb725
v1.0.5 Added ReleaseNotes.txt, moved user guides into a folder, cleaned up some unused variable warnings
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Innomatix | 0:b9e1003fbee7 | 1 | /******************************************************************* |
Innomatix | 0:b9e1003fbee7 | 2 | * |
Innomatix | 0:b9e1003fbee7 | 3 | * File: InnomatixMeta.h |
Innomatix | 0:b9e1003fbee7 | 4 | * |
Innomatix | 0:b9e1003fbee7 | 5 | * Description: Macros for creating metadata tags that get embedded in the binary |
Innomatix | 0:b9e1003fbee7 | 6 | * |
Innomatix | 0:b9e1003fbee7 | 7 | * Copyright 2015 Innomatix, LLC., All Rights Reserved |
Innomatix | 0:b9e1003fbee7 | 8 | * |
Innomatix | 0:b9e1003fbee7 | 9 | * THIS DOCUMENT AND ITS CONTENTS ARE INTELLECTUAL PROPERTY |
Innomatix | 0:b9e1003fbee7 | 10 | * OF INNOMATIX, LLC. ANY DUPLICATION IN PART OR WHOLE |
Innomatix | 0:b9e1003fbee7 | 11 | * WITHOUT PRIOR WRITTEN CONSENT IS STRICTLY PROHIBITED. |
Innomatix | 0:b9e1003fbee7 | 12 | * |
Innomatix | 0:b9e1003fbee7 | 13 | *******************************************************************/ |
Innomatix | 0:b9e1003fbee7 | 14 | #ifndef _INNOMATIX_META_H |
Innomatix | 0:b9e1003fbee7 | 15 | #define _INNOMATIX_META_H |
Innomatix | 0:b9e1003fbee7 | 16 | |
Innomatix | 0:b9e1003fbee7 | 17 | |
Innomatix | 8:a6311d40c5a2 | 18 | // These macros provide tags that allow the InnomatixData host to locate useful |
Innomatix | 8:a6311d40c5a2 | 19 | // strings within the compiled binary. The strings will be used to assist with |
Innomatix | 8:a6311d40c5a2 | 20 | // system configuration and revision control |
Innomatix | 8:a6311d40c5a2 | 21 | #define TFMETA( tag, str ) "<TFMETA>" tag "=" str "</TFMETA>" |
Innomatix | 0:b9e1003fbee7 | 22 | |
Innomatix | 1:c7920c8bc557 | 23 | // This metadata is used by the InnomatixData host to identify this as an MBED binary |
Innomatix | 8:a6311d40c5a2 | 24 | // Use the __attribute__((unused)) to supress the "unused variable" warning |
Innomatix | 8:a6311d40c5a2 | 25 | static const char *platform __attribute__((unused)) = TFMETA( "TYPE", "LPC1768" ); |
Innomatix | 8:a6311d40c5a2 | 26 | |
Innomatix | 0:b9e1003fbee7 | 27 | |
Innomatix | 0:b9e1003fbee7 | 28 | |
Innomatix | 0:b9e1003fbee7 | 29 | // The InnomatixData host requires the VERSION and DESC metadata values. |
Innomatix | 0:b9e1003fbee7 | 30 | // Applications should use these macros to provide an appropriate string. |
Innomatix | 0:b9e1003fbee7 | 31 | #define TFVERSION( str ) TFMETA( "VERSION", str ) |
Innomatix | 0:b9e1003fbee7 | 32 | #define TFDESCRIPTION( str ) TFMETA( "DESC", str ) |
Innomatix | 0:b9e1003fbee7 | 33 | |
Innomatix | 0:b9e1003fbee7 | 34 | |
Innomatix | 0:b9e1003fbee7 | 35 | #endif /* _INNOMATIX_META_H */ |