Commit 6e3fa960 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Start templates for C skeleton generation

parent b2075778
package TASTE.Parser_Version is
Parser_Release : constant String :=
"fd043de ; Commit Date: Mon Jan 15 17:52:30 2018 ";
"b207577 ; Commit Date: Tue Jan 16 15:55:38 2018 ";
Ocarina_Version : constant String :=
"Ocarina 2017.x (Working Copy from r0b92ed3)";
end TASTE.Parser_Version;
\ No newline at end of file
/* Body file for function @_Name_@
* Generated by TASTE on @_Now_@
* You can edit this file, it will not be overwritten
*/
#include "@_LOWER:Name_@.h"
@@IF@@ @_Has_Context_@
/* Include Context Parameters (constants defined in the Interface View) */
#include "Context-@_REPLACE((_)/(-)):LOWER:Name_@.h"
@@END_IF@@
void @_LOWER:Name_@_startup()
{
// Write your initialisation code, but DO NOT CALL REQUIRED INTERFACES
// puts ("[@_Name_@] Startup");
}
@@TABLE@@
void @_Provided_Interfaces_@
{
/* Write your code here */
}
@@END_TABLE@@
@@TABLE@@
void @_Timers_@
{
/* This function is called when the timer expires */
}
@@END_TABLE@@
/* Header file for function @_Name_@
* Generated by TASTE on @_Now_@
* DO NOT EDIT THIS FILE, IT WILL BE OVERWRITTEN DURING THE BUILD
*/
#ifndef __USER_CODE_H_@_UPPER:Name_@
#define __USER_CODE_H_@_UPPER:Name_@
#include "C_ASN1_Types.h"
#ifdef __cplusplus
extern "C" {
#endif
void @_LOWER:Name_@_startup();
@@TABLE@@
void @_Provided_Interfaces_@;
@@END_TABLE@@
@@TABLE@@
void @_Required_Interfaces_@;
@@END_TABLE@@
@@TABLE@@
@_Timers_@
@@END_TABLE@@
#ifdef __cplusplus
extern "C" {
#endif
#endif /* __USER_CODE_H_@_UPPER:Name_@
@_LOWER:Interface_Name_@(@@TABLE['TERSE]@@
@_Parameters_@,
@@END_TABLE)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment