diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-17 11:46:37 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-17 11:46:37 +0000 |
commit | 777fa5d5684ef62c7241e43a457acfb69965e4a3 (patch) | |
tree | 0c360747ca668eaea0be36aed358267667b056b1 /tools/eclipse/config_wizard/resources/gencfg/lib/code_snippets.xml | |
parent | 87fe41551da40c49c3a6fb5fa970c355dc8a0f21 (diff) | |
download | ChibiOS-777fa5d5684ef62c7241e43a457acfb69965e4a3.tar.gz ChibiOS-777fa5d5684ef62c7241e43a457acfb69965e4a3.tar.bz2 ChibiOS-777fa5d5684ef62c7241e43a457acfb69965e4a3.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5219 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'tools/eclipse/config_wizard/resources/gencfg/lib/code_snippets.xml')
-rw-r--r-- | tools/eclipse/config_wizard/resources/gencfg/lib/code_snippets.xml | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/tools/eclipse/config_wizard/resources/gencfg/lib/code_snippets.xml b/tools/eclipse/config_wizard/resources/gencfg/lib/code_snippets.xml deleted file mode 100644 index 2d0e5959a..000000000 --- a/tools/eclipse/config_wizard/resources/gencfg/lib/code_snippets.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- Code Templates -->
-<code
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/common/code_snippets.xsd">
- <snippets>
- <snippet>
- <type>thread_body</type>
- <name>Empty</name>
-<text><![CDATA[[#ftl]
-[#macro do_code function]
-
- return 0;
-[/#macro]]]>
-</text>
- </snippet>
- <snippet>
- <type>thread_body</type>
- <name>Checks for Termination</name>
-<text><![CDATA[[#ftl]
-[#ftl]
-[#macro do_code function]
-
- while (!chThdShouldTerminate()) {
- /* Thread activity here. */
- }
- return 0;
-[/#macro]]]>
-</text>
- </snippet>
- <snippet>
- <type>thread_body</type>
- <name>Message Server</name>
-<text><![CDATA[[#ftl]
-[#ftl]
-[#macro do_code function]
-
- while(TRUE) {
- msg_t msg, response;
-
- msg = chMsgWait();
- /* Process the message here then prepare a response. */
- chMsgRelease(response);
- }
- return 0;
-[/#macro]]]>
-</text>
- </snippet>
- </snippets>
-</code>
|