Official support library for using mbed as a programmable coprocessor in the Innomatix DAP-III+ telematics platform
InnomatixMeta.h
- Committer:
- Innomatix
- Date:
- 2016-04-15
- Revision:
- 0:b9e1003fbee7
- Child:
- 1:c7920c8bc557
File content as of revision 0:b9e1003fbee7:
/******************************************************************* * * File: InnomatixMeta.h * * Description: Macros for creating metadata tags that get embedded in the binary * * Copyright 2015 Innomatix, LLC., All Rights Reserved * * THIS DOCUMENT AND ITS CONTENTS ARE INTELLECTUAL PROPERTY * OF INNOMATIX, LLC. ANY DUPLICATION IN PART OR WHOLE * WITHOUT PRIOR WRITTEN CONSENT IS STRICTLY PROHIBITED. * *******************************************************************/ #ifndef _INNOMATIX_META_H #define _INNOMATIX_META_H // These macros serve two purposes // 1) The string portion of the macros provide tags that allow the // InnomatixData host to locate useful strings within the // compiled binary. The strings will be used to assist with // system configuration and revision control // 2) The assignment to "p" ensures that the strings are actually // used which ensures that they are not optimized out by the compiler // static const char *p = 0; #define TFMETA( tag, str ) p = "<TFMETA>" tag "=" str "</TFMETA>" // The InnomatixData host requires the VERSION and DESC metadata values. // Applications should use these macros to provide an appropriate string. #define TFVERSION( str ) TFMETA( "VERSION", str ) #define TFDESCRIPTION( str ) TFMETA( "DESC", str ) #endif /* _INNOMATIX_META_H */