Official support library for using mbed as a programmable coprocessor in the Innomatix DAP-III+ telematics platform

Committer:
root@developer-sjc-cyan-compiler.local.mbed.org
Date:
Wed Sep 06 19:19:37 2017 +0000
Revision:
12:3d37c8a7be2b
Parent:
10:5fbe72ffb725
Added tag v1.0.7 for changeset b28c0d6773bf

Who changed what in which revision?

UserRevisionLine numberNew 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 10:5fbe72ffb725 25 static const char *PlatformMeta = TFMETA( "TYPE", "LPC1768" );
Innomatix 10:5fbe72ffb725 26 static char dummyP = *PlatformMeta;
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 */