diff options
author | Thomas Schuetz | 2012-02-26 21:46:39 +0000 |
---|---|---|
committer | Thomas Schuetz | 2012-02-26 21:46:39 +0000 |
commit | fa4a03389b5596fbaa65d5acb0e198013c1820a8 (patch) | |
tree | 1a6ef7e8b46a1cfa85956dfa7fa9201cb228a1d1 /runtime/org.eclipse.etrice.runtime.c/src/platforms/generic | |
parent | a121360a55b1b4c8f834b6d68689064cd70499db (diff) | |
download | org.eclipse.etrice-fa4a03389b5596fbaa65d5acb0e198013c1820a8.tar.gz org.eclipse.etrice-fa4a03389b5596fbaa65d5acb0e198013c1820a8.tar.xz org.eclipse.etrice-fa4a03389b5596fbaa65d5acb0e198013c1820a8.zip |
[runtime] added etPlatform for user defined lifecycle functions (etUserEntry, etUserPreRun, ..., added TI-MSP430 specific platform
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/platforms/generic')
3 files changed, 36 insertions, 13 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etGlobalFlags.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etGlobalFlags.h index 80b16b5b0..84213de5e 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etGlobalFlags.h +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etGlobalFlags.h @@ -1,9 +1,14 @@ -/* - * etGlobalFlags.h +/******************************************************************************* + * Copyright (c) 2012 protos software gmbh (http://www.protos.de). + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html * - * Created on: 26.02.2012 - * Author: tschuetz - */ + * CONTRIBUTORS: + * Thomas Schuetz (initial contribution) + * + *******************************************************************************/ #ifndef ETGLOBALFLAGS_H_ #define ETGLOBALFLAGS_H_ diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etLogger.c b/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etLogger.c index 9b20f31a3..47af50672 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etLogger.c +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etLogger.c @@ -10,14 +10,6 @@ * *******************************************************************************/ -/* - * etLogger.c - * - * Created on: 16.01.2012 - * Author: tschuetz - */ - - #include "debugging/etLogger.h" #include <stdarg.h> diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etPlatform.c b/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etPlatform.c new file mode 100644 index 000000000..f8294f036 --- /dev/null +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etPlatform.c @@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2012 protos software gmbh (http://www.protos.de). + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * CONTRIBUTORS: + * Thomas Schuetz (initial contribution) + * + *******************************************************************************/ + + +/* implemenatation for eTrice interfaces*/ + +void etUserEntry(void){ } + +void etUserPreRun(void){ } + +void etUserPostRun(void){ } + +void etUserExit(void){ } + + +/* platform specific functions */ + |