diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.core/.log b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.core/.log
deleted file mode 100644
index 128e868b5..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.core/.log
+++ /dev/null
@@ -1,17 +0,0 @@
-*** SESSION Sep 07, 2007 11:40:29.515 ------------------------------------------
-*** SESSION Sep 26, 2007 20:59:04.640 ------------------------------------------
-*** SESSION Sep 27, 2007 17:22:58.687 ------------------------------------------
-*** SESSION Oct 04, 2007 20:29:08.859 ------------------------------------------
-*** SESSION Oct 23, 2007 19:47:01.875 ------------------------------------------
-*** SESSION Oct 23, 2007 21:13:26.296 ------------------------------------------
-*** SESSION Oct 23, 2007 21:22:16.187 ------------------------------------------
-*** SESSION Oct 28, 2007 12:37:13.93 -------------------------------------------
-*** SESSION Nov 06, 2007 16:04:46.31 -------------------------------------------
-*** SESSION Nov 06, 2007 20:19:12.359 ------------------------------------------
-*** SESSION Nov 07, 2007 18:40:55.281 ------------------------------------------
-*** SESSION Nov 13, 2007 20:49:09.875 ------------------------------------------
-*** SESSION Nov 17, 2007 17:59:26.734 ------------------------------------------
-*** SESSION Nov 17, 2007 19:36:59.656 ------------------------------------------
-*** SESSION Nov 21, 2007 08:36:47.312 ------------------------------------------
-*** SESSION Nov 21, 2007 15:42:29.171 ------------------------------------------
-*** SESSION Nov 21, 2007 17:07:49.515 ------------------------------------------
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.core/shareddefaults.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.core/shareddefaults.xml
deleted file mode 100644
index c4b91cfab..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.core/shareddefaults.xml
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/.log b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/.log
deleted file mode 100644
index e69de29bb..000000000
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/RTOSDemo.sc b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/RTOSDemo.sc
deleted file mode 100644
index 2a3f9d1a8..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/RTOSDemo.sc
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
deleted file mode 100644
index 8b1378917..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp
deleted file mode 100644
index 8b1378917..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.ui/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.ui/dialog_settings.xml
deleted file mode 100644
index 9e62c4bb5..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.ui/dialog_settings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.ui/cHelpSettings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.ui/cHelpSettings.xml
deleted file mode 100644
index 5240b1825..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.ui/cHelpSettings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml
deleted file mode 100644
index ab95b0564..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/64/history.index b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/64/history.index
deleted file mode 100644
index f57b88c62..000000000
Binary files a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/64/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/69/history.index b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/69/history.index
deleted file mode 100644
index fd79ef2da..000000000
Binary files a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/69/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/b3/history.index b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/b3/history.index
deleted file mode 100644
index b648a4a60..000000000
Binary files a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/b3/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/history.index b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/history.index
deleted file mode 100644
index 67cbcdf96..000000000
Binary files a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/properties.index b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/properties.index
deleted file mode 100644
index 401e243bb..000000000
Binary files a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.markers b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.markers
deleted file mode 100644
index c4a7f2f91..000000000
Binary files a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.markers and /dev/null differ
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
deleted file mode 100644
index 25cb955ba..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index
deleted file mode 100644
index 14ccfeddd..000000000
Binary files a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
deleted file mode 100644
index 6b2aaa764..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/47.tree b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/47.tree
deleted file mode 100644
index 68bdc1b42..000000000
Binary files a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/47.tree and /dev/null differ
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
deleted file mode 100644
index 44f79aa39..000000000
Binary files a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources and /dev/null differ
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-RTOSDemo.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-RTOSDemo.prefs
deleted file mode 100644
index bb305ff00..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-RTOSDemo.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sun Aug 19 15:20:24 BST 2007
-eclipse.preferences.version=1
-indexer/preferenceScope=0
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs
deleted file mode 100644
index 1c0fdf149..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sun Aug 19 15:19:23 BST 2007
-org.eclipse.cdt.debug.core.cDebug.common_source_containers=\r\n\r\n\r\n\r\n
-eclipse.preferences.version=1
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.ui.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.ui.prefs
deleted file mode 100644
index d7fcb8db3..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.ui.prefs
+++ /dev/null
@@ -1,5 +0,0 @@
-#Tue Oct 23 21:13:09 BST 2007
-pref_state_memento.org.eclipse.cdt.debug.ui.ModulesView=\r\n
-eclipse.preferences.version=1
-org.eclipse.debug.ui.DebugView.org.eclipse.cdt.debug.ui.cDebug.show_full_paths=true
-org.eclipse.debug.ui.BreakpointView.org.eclipse.cdt.debug.ui.cDebug.show_full_paths=true
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.managedbuilder.core.prefs
deleted file mode 100644
index ab5a1605c..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.managedbuilder.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Wed Nov 21 16:20:43 GMT 2007
-eclipse.preferences.version=1
-properties/RTOSDemo.null.976634949/0.1109417601=\#\r\n\#Wed Nov 21 16\:20\:43 GMT 2007\r\n0.1109417601\=\\\#\\r\\n\\\#Wed Nov 21 16\\\:20\\\:43 GMT 2007\\r\\nrcState\\\=0\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.1502006385\=\\\#\\r\\n\\\#Wed Nov 21 16\\\:20\\\:43 GMT 2007\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.1021181093\=\\\#\\r\\n\\\#Wed Nov 21 16\\\:20\\\:43 GMT 2007\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.164584712\=\\\#\\r\\n\\\#Wed Nov 21 16\\\:20\\\:43 GMT 2007\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.libs.260784574\=\\\#\\r\\n\\\#Wed Nov 21 16\\\:20\\\:43 GMT 2007\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.prefbase.toolchain.1816209921\=\\\#\\r\\n\\\#Wed Nov 21 16\\\:20\\\:43 GMT 2007\\r\\nrebuildState\\\=false\\r\\n\r\n
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs
deleted file mode 100644
index 8a970dac4..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Thu Aug 23 20:22:58 BST 2007
-useQuickDiffPrefPage=true
-closeBrackets=false
-ensureNewlineAtEOF=true
-useAnnotationsPrefPage=true
-closeAngularBrackets=false
-eclipse.preferences.version=1
-org.eclipse.cdt.ui.text.templates.custom=
-hoverModifierMasks=org.eclipse.cdt.ui.BestMatchHover;0;org.eclipse.cdt.ui.CSourceHover;131072;org.eclipse.cdt.debug.internal.ui.editors.DebugTextHover;0;org.eclipse.cdt.ui.CDocHover;0;org.eclipse.cdt.ui.AnnotationHover;0;
-hoverModifiers=org.eclipse.cdt.ui.BestMatchHover;0;org.eclipse.cdt.ui.CSourceHover;Shift;org.eclipse.cdt.debug.internal.ui.editors.DebugTextHover;\!0;org.eclipse.cdt.ui.CDocHover;\!0;org.eclipse.cdt.ui.AnnotationHover;\!0;
-closeBraces=false
-closeStrings=false
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 242e94194..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,5 +0,0 @@
-#Fri Aug 31 14:25:00 BST 2007
-version=1
-eclipse.preferences.version=1
-pathvariable.FreeRTOS_ROOT=C\:/E/Dev/FreeRTOS
-description.autobuilding=false
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs
deleted file mode 100644
index 4e5b3d8cb..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sat Nov 17 13:34:58 GMT 2007
-prefWatchExpressions=\r\n\r\n
-eclipse.preferences.version=1
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
deleted file mode 100644
index c88e84313..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
+++ /dev/null
@@ -1,14 +0,0 @@
-#Wed Nov 07 18:56:22 GMT 2007
-org.eclipse.debug.ui.PREF_FILTER_WORKING_SETS=false
-org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=\r\n\r\n
-org.eclipse.debug.ui.BreakpointView+org.eclipse.debug.ui.ShowSupportedBreakpointsAction=true
-pref_state_memento.org.eclipse.debug.ui.VariableView=\r\n
-pref_state_memento.org.eclipse.debug.ui.RegisterView=\r\n
-org.eclipse.debug.ui.memory.columnSize\:org.eclipse.cdt.debug.core=4
-pref_state_memento.org.eclipse.debug.ui.ExpressionView=\r\n
-org.eclipse.debug.ui.PREF_FILTER_LAUNCH_CLOSED=false
-preferredDetailPanes=DefaultDetailPane\:DefaultDetailPane|
-org.eclipse.debug.ui.PREF_FILTER_LAUNCH_DELETED=false
-eclipse.preferences.version=1
-org.eclipse.debug.ui.memory.rowSize\:org.eclipse.cdt.debug.core=16
-org.eclipse.debug.ui.user_view_bindings=\r\n\r\n\r\n\r\n\r\n\r\n
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.help.ui.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.help.ui.prefs
deleted file mode 100644
index 8d1b31164..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.help.ui.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-#Sun Aug 26 17:32:13 BST 2007
-browser.x=177
-browser.w=1024
-eclipse.preferences.version=1
-browser.h=768
-browser.maximized=false
-browser.y=128
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.search.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.search.prefs
deleted file mode 100644
index 2426c2b79..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.search.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sun Aug 19 19:39:29 BST 2007
-org.eclipse.search.defaultPerspective=org.eclipse.search.defaultPerspective.none
-eclipse.preferences.version=1
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs
deleted file mode 100644
index 06f8f1043..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Fri Aug 31 18:19:04 BST 2007
-eclipse.preferences.version=1
-org.eclipse.team.ui.first_time=false
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
deleted file mode 100644
index 1affd268e..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sun Aug 19 20:45:57 BST 2007
-eclipse.preferences.version=1
-overviewRuler_migration=migrated_3.1
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
deleted file mode 100644
index b96f5d0dd..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Tue Nov 06 22:57:01 GMT 2007
-eclipse.preferences.version=1
-tipsAndTricks=true
-platformState=1187207632259
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
deleted file mode 100644
index 3e5b2b17d..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sun Aug 19 20:45:58 BST 2007
-eclipse.preferences.version=1
-showIntro=false
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
deleted file mode 100644
index 06cd1e9cd..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Aug 20 21:59:49 BST 2007
-eclipse.preferences.version=1
-org.eclipse.ui.commands=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/OpenOCD Programmer.launch b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/OpenOCD Programmer.launch
deleted file mode 100644
index 822c04f0c..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/OpenOCD Programmer.launch
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/OpenOCD Server.launch b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/OpenOCD Server.launch
deleted file mode 100644
index 6a59edf70..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/OpenOCD Server.launch
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.elf.launch b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.elf.launch
deleted file mode 100644
index 1c911f23d..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.elf.launch
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch
deleted file mode 100644
index fca7b0ac4..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml
deleted file mode 100644
index 4e6586f56..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
deleted file mode 100644
index aa1b7aaee..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/dialog_settings.xml
deleted file mode 100644
index 1ef2b05b5..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/dialog_settings.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/Default.pref b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/Default.pref
deleted file mode 100644
index fc158177d..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/Default.pref
+++ /dev/null
@@ -1,2 +0,0 @@
-#Sun Aug 26 17:54:18 BST 2007
-__DEFAULT__=true
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/relative_path.hist b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/relative_path.hist
deleted file mode 100644
index 713e72168..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/relative_path.hist
+++ /dev/null
@@ -1,4 +0,0 @@
-#Sun Aug 26 17:36:29 BST 2007
-__DEFAULT__=false
-org.eclipse.help.ui.localSearch.master=true
-expression=relative path
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/working_set.hist b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/working_set.hist
deleted file mode 100644
index 197837b95..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/working_set.hist
+++ /dev/null
@@ -1,4 +0,0 @@
-#Sun Aug 26 17:29:25 BST 2007
-__DEFAULT__=false
-org.eclipse.help.ui.localSearch.master=true
-expression=working set
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/working_sets.hist b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/working_sets.hist
deleted file mode 100644
index a88e15eb8..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.help.ui/scope_sets/working_sets.hist
+++ /dev/null
@@ -1,4 +0,0 @@
-#Sun Aug 26 17:54:21 BST 2007
-__DEFAULT__=false
-org.eclipse.help.ui.localSearch.master=true
-expression=working sets
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml
deleted file mode 100644
index ac671478c..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml
deleted file mode 100644
index 839aca5ed..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.cheatsheets/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.cheatsheets/dialog_settings.xml
deleted file mode 100644
index 1df8b48c3..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.cheatsheets/dialog_settings.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml
deleted file mode 100644
index 070a4abfc..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml
deleted file mode 100644
index d3014f5c1..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml
deleted file mode 100644
index e891f2879..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
deleted file mode 100644
index 77beade3e..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
deleted file mode 100644
index 97c7cfce9..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
+++ /dev/null
@@ -1,358 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
deleted file mode 100644
index a34189f07..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui/dialog_settings.xml
deleted file mode 100644
index 64561b65c..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.ui/dialog_settings.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.update.ui/dialog_settings.xml b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.update.ui/dialog_settings.xml
deleted file mode 100644
index 86928e08c..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/.plugins/org.eclipse.update.ui/dialog_settings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/version.ini b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/version.ini
deleted file mode 100644
index c51ff745b..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/.metadata/version.ini
+++ /dev/null
@@ -1 +0,0 @@
-org.eclipse.core.runtime=1
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/.cproject b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/.cproject
deleted file mode 100644
index bbcae405f..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/.cproject
+++ /dev/null
@@ -1,230 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/.project b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/.project
deleted file mode 100644
index b3776decb..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/.project
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
- RTOSDemo
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
- clean,full,incremental,
-
-
- org.eclipse.cdt.make.core.cleanBuildTarget
- clean
-
-
- org.eclipse.cdt.make.core.enableCleanBuild
- true
-
-
- ?name?
-
-
-
- org.eclipse.cdt.make.core.append_environment
- true
-
-
- org.eclipse.cdt.make.core.stopOnError
- true
-
-
- org.eclipse.cdt.make.core.buildCommand
- make
-
-
- org.eclipse.cdt.make.core.contents
- org.eclipse.cdt.make.core.activeConfigSettings
-
-
- org.eclipse.cdt.make.core.buildLocation
- ${workspace_loc:/RTOSDemo}
-
-
- org.eclipse.cdt.make.core.useDefaultBuildCmd
- false
-
-
- org.eclipse.cdt.make.core.enableAutoBuild
- false
-
-
- org.eclipse.cdt.make.core.enableFullBuild
- true
-
-
- org.eclipse.cdt.make.core.buildArguments
-
-
-
- org.eclipse.cdt.make.core.fullBuildTarget
- all
-
-
- ?children?
- ?name?=outputEntries\|?children?=?name?=entry\\\\\\\\\\\\\\\|\\\\\\\|\||
-
-
- org.eclipse.cdt.make.core.autoBuildTarget
- all
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.core.cnature
-
-
-
- Common Demo Files
- 2
- FreeRTOS_ROOT/Demo/Common
-
-
- FreeRTOS.org Source
- 2
- FreeRTOS_ROOT/Source
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/.settings/org.eclipse.ltk.core.refactoring.prefs b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index a9f7e81cf..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sun Aug 19 20:36:58 BST 2007
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/FreeRTOSConfig.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/FreeRTOSConfig.h
deleted file mode 100644
index 18591c561..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/FreeRTOSConfig.h
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-#ifndef FREERTOS_CONFIG_H
-#define FREERTOS_CONFIG_H
-
-#include
-#include "AT91SAM7X256.h"
-
-/*-----------------------------------------------------------
- * Application specific definitions.
- *
- * These definitions should be adjusted for your particular hardware and
- * application requirements.
- *
- * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
- * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
- *
- * See http://www.freertos.org/a00110.html.
- *----------------------------------------------------------*/
-
-#define configUSE_PREEMPTION 1
-#define configUSE_IDLE_HOOK 0
-#define configUSE_TICK_HOOK 1
-#define configCPU_CLOCK_HZ ( ( unsigned long ) 47923200 )
-#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
-#define configMAX_PRIORITIES ( 4 )
-#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 130 )
-#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 24 * 1024 ) )
-#define configMAX_TASK_NAME_LEN ( 10 )
-#define configUSE_TRACE_FACILITY 1
-#define configUSE_16_BIT_TICKS 0
-#define configIDLE_SHOULD_YIELD 1
-#define configUSE_MUTEXES 1
-
-/* Co-routine definitions. */
-#define configUSE_CO_ROUTINES 0
-#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
-
-
-/* Set the following definitions to 1 to include the API function, or zero
-to exclude the API function. */
-
-#define INCLUDE_vTaskPrioritySet 1
-#define INCLUDE_uxTaskPriorityGet 1
-#define INCLUDE_vTaskDelete 1
-#define INCLUDE_vTaskCleanUpResources 0
-#define INCLUDE_vTaskSuspend 1
-#define INCLUDE_vTaskDelayUntil 1
-#define INCLUDE_vTaskDelay 1
-#define INCLUDE_xTaskGetCurrentTaskHandle 1
-
-/* This demo makes use of one or more example stats formatting functions. These
-format the raw data provided by the uxTaskGetSystemState() function in to human
-readable ASCII form. See the notes in the implementation of vTaskList() within
-FreeRTOS/Source/tasks.c for limitations. */
-#define configUSE_STATS_FORMATTING_FUNCTIONS 1
-
-
-/* MAC address configuration. */
-#define uipMAC_ADDR0 0x00
-#define uipMAC_ADDR1 0x12
-#define uipMAC_ADDR2 0x13
-#define uipMAC_ADDR3 0x10
-#define uipMAC_ADDR4 0x15
-#define uipMAC_ADDR5 0x11
-
-/* IP address configuration. */
-#define uipIP_ADDR0 172
-#define uipIP_ADDR1 25
-#define uipIP_ADDR2 218
-#define uipIP_ADDR3 10
-
-#endif /* FREERTOS_CONFIG_H */
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/Makefile b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/Makefile
deleted file mode 100644
index c492b1273..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/Makefile
+++ /dev/null
@@ -1,158 +0,0 @@
-#/*
-# FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
-#
-#
-# ***************************************************************************
-# * *
-# * FreeRTOS tutorial books are available in pdf and paperback. *
-# * Complete, revised, and edited pdf reference manuals are also *
-# * available. *
-# * *
-# * Purchasing FreeRTOS documentation will not only help you, by *
-# * ensuring you get running as quickly as possible and with an *
-# * in-depth knowledge of how to use FreeRTOS, it will also help *
-# * the FreeRTOS project to continue with its mission of providing *
-# * professional grade, cross platform, de facto standard solutions *
-# * for microcontrollers - completely free of charge! *
-# * *
-# * >>> See http://www.FreeRTOS.org/Documentation for details. <<< *
-# * *
-# * Thank you for using FreeRTOS, and thank you for your support! *
-# * *
-# ***************************************************************************
-#
-#
-# This file is part of the FreeRTOS distribution.
-#
-# FreeRTOS is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License (version 2) as published by the
-# Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
-# >>>NOTE<<< The modification to the GPL is included to allow you to
-# distribute a combined work that includes FreeRTOS without being obliged to
-# provide the source code for proprietary components outside of the FreeRTOS
-# kernel. FreeRTOS is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-# more details. You should have received a copy of the GNU General Public
-# License and the FreeRTOS license exception along with FreeRTOS; if not it
-# can be viewed here: http://www.freertos.org/a00114.html and also obtained
-# by writing to Richard Barry, contact details for whom are available on the
-# FreeRTOS WEB site.
-#
-# 1 tab == 4 spaces!
-#
-# http://www.FreeRTOS.org - Documentation, latest information, license and
-# contact details.
-#
-# http://www.SafeRTOS.com - A version that is certified for use in safety
-# critical systems.
-#
-# http://www.OpenRTOS.com - Commercial support, development, porting,
-# licensing and training services.
-#*/
-
-
-RTOS_SOURCE_DIR=../../../Source
-DEMO_COMMON_DIR=../../Common/Minimal
-DEMO_INCLUDE_DIR=../../Common/include
-UIP_COMMON_DIR=../../Common/ethernet/uIP/uip-1.0/uip
-
-CC=arm-elf-gcc
-OBJCOPY=arm-elf-objcopy
-LDSCRIPT=atmel-rom.ld
-
-LINKER_FLAGS=-mthumb -nostartfiles -Xlinker -oRTOSDemo.elf -Xlinker -M -Xlinker -Map=rtosdemo.map
-
-DEBUG=-g
-OPTIM=-O3
-
-
-CFLAGS= $(DEBUG) \
- $(OPTIM) \
- -T$(LDSCRIPT) \
- -I . \
- -I $(RTOS_SOURCE_DIR)/include \
- -I $(RTOS_SOURCE_DIR)/portable/GCC/ARM7_AT91SAM7S \
- -I $(DEMO_INCLUDE_DIR) \
- -I ./webserver \
- -I $(UIP_COMMON_DIR) \
- -I ./SrcAtmel \
- -I ./USB \
- -D SAM7_GCC \
- -D THUMB_INTERWORK \
- -mcpu=arm7tdmi \
- -D PACK_STRUCT_END=__attribute\(\(packed\)\) \
- -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) \
- -fomit-frame-pointer \
- -mthumb-interwork \
- -fno-strict-aliasing \
- -fno-dwarf2-cfi-asm
-
-THUMB_SOURCE= \
- main.c \
- ./ParTest/ParTest.c \
- $(DEMO_COMMON_DIR)/BlockQ.c \
- $(DEMO_COMMON_DIR)/blocktim.c \
- $(DEMO_COMMON_DIR)/flash.c \
- $(DEMO_COMMON_DIR)/integer.c \
- $(DEMO_COMMON_DIR)/GenQTest.c \
- $(DEMO_COMMON_DIR)/QPeek.c \
- $(DEMO_COMMON_DIR)/dynamic.c \
- ./webserver/uIP_Task.c \
- ./webserver/httpd.c \
- ./webserver/httpd-cgi.c \
- ./webserver/httpd-fs.c \
- ./webserver/http-strings.c \
- ./webserver/SAM7_EMAC.c \
- $(UIP_COMMON_DIR)/uip_arp.c \
- $(UIP_COMMON_DIR)/psock.c \
- $(UIP_COMMON_DIR)/timer.c \
- $(UIP_COMMON_DIR)/uip.c \
- $(RTOS_SOURCE_DIR)/list.c \
- $(RTOS_SOURCE_DIR)/queue.c \
- $(RTOS_SOURCE_DIR)/tasks.c \
- $(RTOS_SOURCE_DIR)/portable/GCC/ARM7_AT91SAM7S/port.c \
- $(RTOS_SOURCE_DIR)/portable/MemMang/heap_2.c \
- ./USB/USBSample.c \
- syscalls.c
-
-ARM_SOURCE= \
- $(RTOS_SOURCE_DIR)/portable/GCC/ARM7_AT91SAM7S/portISR.c \
- ./webserver/EMAC_ISR.c \
- ./SrcAtmel/Cstartup_SAM7.c \
- ./USB/USB_ISR.c
-
-THUMB_OBJS = $(THUMB_SOURCE:.c=.o)
-ARM_OBJS = $(ARM_SOURCE:.c=.o)
-
-
-all: RTOSDemo.bin
-
-RTOSDemo.bin : RTOSDemo.hex
- $(OBJCOPY) RTOSDemo.elf -O binary RTOSDemo.bin
-
-RTOSDemo.hex : RTOSDemo.elf
- $(OBJCOPY) RTOSDemo.elf -O ihex RTOSDemo.hex
-
-RTOSDemo.elf : $(THUMB_OBJS) $(ARM_OBJS) boot.s Makefile
- $(CC) $(CFLAGS) $(ARM_OBJS) $(THUMB_OBJS) $(LIBS) boot.s $(LINKER_FLAGS)
-
-$(THUMB_OBJS) : %.o : %.c Makefile FreeRTOSConfig.h
- $(CC) -c $(CFLAGS) -mthumb $< -o $@
-
-$(ARM_OBJS) : %.o : %.c Makefile FreeRTOSConfig.h
- $(CC) -c $(CFLAGS) $< -o $@
-
-clean :
- rm $(THUMB_OBJS)
- rm $(ARM_OBJS)
- touch Makefile
- rm RTOSDemo.elf
- rm RTOSDemo.hex
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/ParTest/ParTest.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/ParTest/ParTest.c
deleted file mode 100644
index 42f294f3f..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/ParTest/ParTest.c
+++ /dev/null
@@ -1,134 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-/* Scheduler includes. */
-#include "FreeRTOS.h"
-
-/* Demo application includes. */
-#include "partest.h"
-
-/*-----------------------------------------------------------
- * Simple parallel port IO routines for the LED's. LED's can be set, cleared
- * or toggled.
- *-----------------------------------------------------------*/
-
-#define partstNUM_LEDS ( 4 )
-#define partstALL_LEDS ( ulLED_Mask[ 0 ] | ulLED_Mask[ 1 ] | ulLED_Mask[ 2 ] | ulLED_Mask[ 3 ] )
-const unsigned long ulLED_Mask[ partstNUM_LEDS ]= { (1<<19), (1<<20), (1<<21), (1<<22) };
-
-
-void vParTestInitialise( void )
-{
- /* Configure the PIO Lines corresponding to LED1 to LED4 to be outputs. */
- AT91C_BASE_PIOB->PIO_PER = partstALL_LEDS;
- AT91C_BASE_PIOB->PIO_OER = partstALL_LEDS;
-
- /* Start with all LED's off. */
- AT91C_BASE_PIOB->PIO_SODR = partstALL_LEDS;
-}
-/*-----------------------------------------------------------*/
-
-void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue )
-{
- if( uxLED < ( portBASE_TYPE ) partstNUM_LEDS )
- {
- if( xValue )
- {
- AT91C_BASE_PIOB->PIO_SODR = ulLED_Mask[ uxLED ];
- }
- else
- {
- AT91C_BASE_PIOB->PIO_CODR = ulLED_Mask[ uxLED ];
- }
- }
-}
-/*-----------------------------------------------------------*/
-
-void vParTestToggleLED( unsigned portBASE_TYPE uxLED )
-{
- if( uxLED < ( portBASE_TYPE ) partstNUM_LEDS )
- {
- if( AT91C_BASE_PIOB->PIO_PDSR & ulLED_Mask[ uxLED ] )
- {
- AT91C_BASE_PIOB->PIO_CODR = ulLED_Mask[ uxLED ];
- }
- else
- {
- AT91C_BASE_PIOB->PIO_SODR = ulLED_Mask[ uxLED ];
- }
- }
-}
-/*-----------------------------------------------------------*/
-
-unsigned portBASE_TYPE uxParTestGetLED( void )
-{
- /* Return the value of LED DS4 for use by the WEB server. */
- return !( AT91C_BASE_PIOB->PIO_PDSR & ulLED_Mask[ partstNUM_LEDS - 1 ] );
-}
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Board.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Board.h
deleted file mode 100644
index 8b34427a0..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Board.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/*----------------------------------------------------------------------------
-* ATMEL Microcontroller Software Support - ROUSSET -
-*----------------------------------------------------------------------------
-* The software is delivered "AS IS" without warranty or condition of any
-* kind, either express, implied or statutory. This includes without
-* limitation any warranty or condition with respect to merchantability or
-* fitness for any particular purpose, or against the infringements of
-* intellectual property rights of others.
-*----------------------------------------------------------------------------
-* File Name : Board.h
-* Object : AT91SAM7X Evaluation Board Features Definition File.
-*
-* Creation : JG 20/Jun/2005
-*----------------------------------------------------------------------------
-*/
-#ifndef Board_h
-#define Board_h
-
-#include "AT91SAM7X256.h"
-#include "ioat91sam7x256.h"
-
-#define true -1
-#define false 0
-
-/*-------------------------------*/
-/* SAM7Board Memories Definition */
-/*-------------------------------*/
-// The AT91SAM7X128 embeds a 32-Kbyte SRAM bank, and 128K-Byte Flash
-
-#define FLASH_PAGE_NB 256
-#define FLASH_PAGE_SIZE 128
-
-/*-----------------*/
-/* Leds Definition */
-/*-----------------*/
-#define LED1 (1<<19) // PB19
-#define LED2 (1<<20) // PB20
-#define LED3 (1<<21) // PB21
-#define LED4 (1<<22) // PB22
-#define NB_LED 4
-
-#define LED_MASK (LED1|LED2|LED3|LED4)
-
-/*-------------------------*/
-/* Push Buttons Definition */
-/*-------------------------*/
-
-#define SW1_MASK (1<<21) // PA21
-#define SW2_MASK (1<<22) // PA22
-#define SW3_MASK (1<<23) // PA23
-#define SW4_MASK (1<<24) // PA24
-#define SW_MASK (SW1_MASK|SW2_MASK|SW3_MASK|SW4_MASK)
-
-
-#define SW1 (1<<21) // PA21
-#define SW2 (1<<22) // PA22
-#define SW3 (1<<23) // PA23
-#define SW4 (1<<24) // PA24
-#define SWPUSH (1<<25) // PA25
-/*--------------*/
-/* Master Clock */
-/*--------------*/
-
-#define EXT_OC 18432000 // Exetrnal ocilator MAINCK
-#define MCK 47923200 // MCK (PLLRC div by 2)
-#define MCKKHz (MCK/1000) //
-
-#endif /* Board_h */
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Cstartup.s79 b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Cstartup.s79
deleted file mode 100644
index b875618fc..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Cstartup.s79
+++ /dev/null
@@ -1,223 +0,0 @@
-;------------------------------------------------------------------------------
-;- ATMEL Microcontroller Software Support - ROUSSET -
-;------------------------------------------------------------------------------
-; The software is delivered "AS IS" without warranty or condition of any
-; kind, either express, implied or statutory. This includes without
-; limitation any warranty or condition with respect to merchantability or
-; fitness for any particular purpose, or against the infringements of
-; intellectual property rights of others.
-;-----------------------------------------------------------------------------
-;- File source : Cstartup.s79
-;- Object : Generic CStartup for IAR No Use REMAP
-;- Compilation flag : None
-;-
-;- 1.0 15/Jun/04 JPP : Creation
-;------------------------------------------------------------------------------
-
-#include "AT91SAM7X256_inc.h"
-
-;------------------------------------------------------------------------------
-;- Area Definition
-;------------------------------------------------------------------------------
-
-;---------------------------------------------------------------
-; ?RESET
-; Reset Vector.
-; Normally, segment INTVEC is linked at address 0.
-; For debugging purposes, INTVEC may be placed at other
-; addresses.
-; A debugger that honors the entry point will start the
-; program in a normal way even if INTVEC is not at address 0.
-;-------------------------------------------------------------
-
- PROGRAM ?RESET
- RSEG INTRAMSTART_REMAP
- RSEG INTRAMEND_REMAP
-
- EXTERN vPortYieldProcessor
-
- RSEG ICODE:CODE:ROOT(2)
- CODE32 ; Always ARM mode after reset
- org 0
-reset
-;------------------------------------------------------------------------------
-;- Exception vectors
-;--------------------
-;- These vectors can be read at address 0 or at RAM address
-;- They ABSOLUTELY requires to be in relative addresssing mode in order to
-;- guarantee a valid jump. For the moment, all are just looping.
-;- If an exception occurs before remap, this would result in an infinite loop.
-;- To ensure if a exeption occurs before start application to infinite loop.
-;------------------------------------------------------------------------------
-
- B InitReset ; 0x00 Reset handler
-undefvec:
- B undefvec ; 0x04 Undefined Instruction
-swivec:
- B vPortYieldProcessor ; 0x08 Software Interrupt
-pabtvec:
- B pabtvec ; 0x0C Prefetch Abort
-dabtvec:
- B dabtvec ; 0x10 Data Abort
-rsvdvec:
- B rsvdvec ; 0x14 reserved
-irqvec:
- LDR PC, [PC, #-0xF20] ; Jump directly to the address given by the AIC
-
-fiqvec: ; 0x1c FIQ
-
-;------------------------------------------------------------------------------
-;- Function : FIQ_Handler_Entry
-;- Treatments : FIQ Controller Interrupt Handler.
-;- Called Functions : AIC_FVR[interrupt]
-;------------------------------------------------------------------------------
-
-FIQ_Handler_Entry:
-
-;- Switch in SVC/User Mode to allow User Stack access for C code
-; because the FIQ is not yet acknowledged
-
-;- Save and r0 in FIQ_Register
- mov r9,r0
- ldr r0 , [r8, #AIC_FVR]
- msr CPSR_c,#I_BIT | F_BIT | ARM_MODE_SVC
-
-;- Save scratch/used registers and LR in User Stack
- stmfd sp!, { r1-r3, r12, lr}
-
-;- Branch to the routine pointed by the AIC_FVR
- mov r14, pc
- bx r0
-
-;- Restore scratch/used registers and LR from User Stack
- ldmia sp!, { r1-r3, r12, lr}
-
-;- Leave Interrupts disabled and switch back in FIQ mode
- msr CPSR_c, #I_BIT | F_BIT | ARM_MODE_FIQ
-
-;- Restore the R0 ARM_MODE_SVC register
- mov r0,r9
-
-;- Restore the Program Counter using the LR_fiq directly in the PC
- subs pc,lr,#4
-
-InitReset:
-;------------------------------------------------------------------------------
-;- Low level Init (PMC, AIC, ? ....) by C function AT91F_LowLevelInit
-;------------------------------------------------------------------------------
- EXTERN AT91F_LowLevelInit
-
-#define __iramend SFB(INTRAMEND_REMAP)
-
-;- minumum C initialization
-;- call AT91F_LowLevelInit( void)
-
- ldr r13,=__iramend ; temporary stack in internal RAM
-;--Call Low level init function in ABSOLUTE through the Interworking
- ldr r0,=AT91F_LowLevelInit
- mov lr, pc
- bx r0
-;------------------------------------------------------------------------------
-;- Stack Sizes Definition
-;------------------------
-;- Interrupt Stack requires 2 words x 8 priority level x 4 bytes when using
-;- the vectoring. This assume that the IRQ management.
-;- The Interrupt Stack must be adjusted depending on the interrupt handlers.
-;- Fast Interrupt not requires stack If in your application it required you must
-;- be definehere.
-;- The System stack size is not defined and is limited by the free internal
-;- SRAM.
-;------------------------------------------------------------------------------
-
-;------------------------------------------------------------------------------
-;- Top of Stack Definition
-;-------------------------
-;- Interrupt and Supervisor Stack are located at the top of internal memory in
-;- order to speed the exception handling context saving and restoring.
-;- ARM_MODE_SVC (Application, C) Stack is located at the top of the external memory.
-;------------------------------------------------------------------------------
-
-IRQ_STACK_SIZE EQU 300
-
-ARM_MODE_FIQ EQU 0x11
-ARM_MODE_IRQ EQU 0x12
-ARM_MODE_SVC EQU 0x13
-
-I_BIT EQU 0x80
-F_BIT EQU 0x40
-
-;------------------------------------------------------------------------------
-;- Setup the stack for each mode
-;-------------------------------
- ldr r0, =__iramend
-
-;- Set up Fast Interrupt Mode and set FIQ Mode Stack
- msr CPSR_c, #ARM_MODE_FIQ | I_BIT | F_BIT
-;- Init the FIQ register
- ldr r8, =AT91C_BASE_AIC
-
-;- Set up Interrupt Mode and set IRQ Mode Stack
- msr CPSR_c, #ARM_MODE_IRQ | I_BIT | F_BIT
- mov r13, r0 ; Init stack IRQ
- sub r0, r0, #IRQ_STACK_SIZE
-
-;- Enable interrupt & Set up Supervisor Mode and set Supervisor Mode Stack
- msr CPSR_c, #ARM_MODE_SVC
- mov r13, r0
-
-
-;---------------------------------------------------------------
-; ?CSTARTUP
-;---------------------------------------------------------------
- EXTERN __segment_init
- EXTERN main
-; Initialize segments.
-; __segment_init is assumed to use
-; instruction set and to be reachable by BL from the ICODE segment
-; (it is safest to link them in segment ICODE).
- ldr r0,=__segment_init
- mov lr, pc
- bx r0
-
- PUBLIC __main
-?jump_to_main:
- ldr lr,=?call_exit
- ldr r0,=main
-__main:
- bx r0
-
-;------------------------------------------------------------------------------
-;- Loop for ever
-;---------------
-;- End of application. Normally, never occur.
-;- Could jump on Software Reset ( B 0x0 ).
-;------------------------------------------------------------------------------
-?call_exit:
-End
- b End
-
-
-
-;---------------------------------------------------------------
-; ?EXEPTION_VECTOR
-; This module is only linked if needed for closing files.
-;---------------------------------------------------------------
- PUBLIC AT91F_Default_FIQ_handler
- PUBLIC AT91F_Default_IRQ_handler
- PUBLIC AT91F_Spurious_handler
-
- CODE32 ; Always ARM mode after exeption
-
-AT91F_Default_FIQ_handler
- b AT91F_Default_FIQ_handler
-
-AT91F_Default_IRQ_handler
- b AT91F_Default_IRQ_handler
-
-AT91F_Spurious_handler
- b AT91F_Spurious_handler
-
- ENDMOD
-
- END
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Cstartup_SAM7.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Cstartup_SAM7.c
deleted file mode 100644
index d9716c0ef..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Cstartup_SAM7.c
+++ /dev/null
@@ -1,69 +0,0 @@
-//*----------------------------------------------------------------------------
-//* ATMEL Microcontroller Software Support - ROUSSET -
-//*----------------------------------------------------------------------------
-//* The software is delivered "AS IS" without warranty or condition of any
-//* kind, either express, implied or statutory. This includes without
-//* limitation any warranty or condition with respect to merchantability or
-//* fitness for any particular purpose, or against the infringements of
-//* intellectual property rights of others.
-//*----------------------------------------------------------------------------
-//* File Name : Cstartup_SAM7.c
-//* Object : Low level initializations written in C for IAR
-//* tools
-//* 1.0 08/Sep/04 JPP : Creation
-//* 1.10 10/Sep/04 JPP : Update AT91C_CKGR_PLLCOUNT filed
-//*----------------------------------------------------------------------------
-
-
-// Include the board file description
-#include "Board.h"
-
-//*----------------------------------------------------------------------------
-//* \fn AT91F_LowLevelInit
-//* \brief This function performs very low level HW initialization
-//* this function can be use a Stack, depending the compilation
-//* optimization mode
-//*----------------------------------------------------------------------------
-void AT91F_LowLevelInit( void);
-void AT91F_LowLevelInit( void )
-{
- AT91PS_PMC pPMC = AT91C_BASE_PMC;
-
- //* Set Flash Waite sate
- // Single Cycle Access at Up to 30 MHz, or 40
- // if MCK = 47923200 I have 50 Cycle for 1 useconde ( flied MC_FMR->FMCN
- AT91C_BASE_MC->MC_FMR = ((AT91C_MC_FMCN)&(75 <<16)) | AT91C_MC_FWS_1FWS ;
-
- //* Watchdog Disable
- AT91C_BASE_WDTC->WDTC_WDMR= AT91C_WDTC_WDDIS;
-
- //* Set MCK at 47 923 200
- // 1 Enabling the Main Oscillator:
- // SCK = 1/32768 = 30.51 uSeconde
- // Start up time = 8 * 6 / SCK = 56 * 30.51 = 1,46484375 ms
- pPMC->PMC_MOR = ((( AT91C_CKGR_OSCOUNT & (0x06 <<8)) | AT91C_CKGR_MOSCEN ));
- // Wait the startup time
- while(!(pPMC->PMC_SR & AT91C_PMC_MOSCS));
- // 2 Checking the Main Oscillator Frequency (Optional)
- // 3 Setting PLL and divider:
- // - div by 5 Fin = 3,6864 =(18,432 / 5)
- // - Mul 25+1: Fout = 95,8464 =(3,6864 *26)
- // for 96 MHz the erroe is 0.16%
- //eld out NOT USED = 0 Fi
- pPMC->PMC_PLLR = ((AT91C_CKGR_DIV & 5) |
- (AT91C_CKGR_PLLCOUNT & (28<<8)) |
- (AT91C_CKGR_MUL & (25<<16)));
-
- // Wait the startup time
- while(!(pPMC->PMC_SR & AT91C_PMC_LOCK));
- // 4. Selection of Master Clock and Processor Clock
- // select the PLL clock divided by 2
- pPMC->PMC_MCKR = AT91C_PMC_PRES_CLK_2 ;
- while(!(pPMC->PMC_SR & AT91C_PMC_MCKRDY));
-
- pPMC->PMC_MCKR |= AT91C_PMC_CSS_PLL_CLK ;
- while(!(pPMC->PMC_SR & AT91C_PMC_MCKRDY));
-}
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Emac.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Emac.h
deleted file mode 100644
index 7551a3648..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/Emac.h
+++ /dev/null
@@ -1,195 +0,0 @@
-//*----------------------------------------------------------------------------
-//* ATMEL Microcontroller Software Support - ROUSSET -
-//*----------------------------------------------------------------------------
-//* The software is delivered "AS IS" without warranty or condition of any
-//* kind, either express, implied or statutory. This includes without
-//* limitation any warranty or condition with respect to merchantability or
-//* fitness for any particular purpose, or against the infringements of
-//* intellectual property rights of others.
-//*----------------------------------------------------------------------------
-//* File Name : Emac.h
-//* Object : Emac header file
-//* Creation : Hi 11/18/2002
-//*
-//*----------------------------------------------------------------------------
-#ifndef AT91C_EMAC_H
-#define AT91C_EMAC_H
-
-
-//* Allows to display all IP header in the main.c
-//* If not defined, only ICMP packets are displayed
-#define AT91C_DISPLAY_ALL_IPHEADER 0
-
-#define NB_RX_BUFFERS 25 //* Number of receive buffers
-#define ETH_RX_BUFFER_SIZE 128 //*
-
-#define NB_TX_BUFFERS 2 //* Number of Transmit buffers
-#define ETH_TX_BUFFER_SIZE UIP_BUFSIZE //*
-
-#define AT91C_NO_IPPACKET 0
-#define AT91C_IPPACKET 1
-
-#define ARP_REQUEST 0x0001
-#define ARP_REPLY 0x0002
-#define PROT_ARP 0x0806
-#define PROT_IP 0x0800
-#define PROT_ICMP 0x01
-#define ICMP_ECHO_REQUEST 0x08
-#define ICMP_ECHO_REPLY 0x00
-
-#define AT91C_EMAC_CLKEN 0x2
-#define SWAP16(x) (((x & 0xff) << 8) | (x >> 8))
-
-#if 0
-//* Transfer descriptor structure
-typedef struct _AT91S_TdDescriptor {
- unsigned int addr;
- unsigned int status;
-}AT91S_TdDescriptor, *AT91PS_TdDescriptor;
-#endif
-
-//* Receive Transfer descriptor structure
-typedef struct _AT91S_RxTdDescriptor {
- unsigned int addr;
- union
- {
- unsigned int status;
- struct {
- unsigned int Length:11;
- unsigned int Res0:1;
- unsigned int Rxbuf_off:2;
- unsigned int StartOfFrame:1;
- unsigned int EndOfFrame:1;
- unsigned int Cfi:1;
- unsigned int VlanPriority:3;
- unsigned int PriorityTag:1;
- unsigned int VlanTag:1;
- unsigned int TypeID:1;
- unsigned int Sa4Match:1;
- unsigned int Sa3Match:1;
- unsigned int Sa2Match:1;
- unsigned int Sa1Match:1;
- unsigned int Res1:1;
- unsigned int ExternalAdd:1;
- unsigned int UniCast:1;
- unsigned int MultiCast:1;
- unsigned int BroadCast:1;
- }S_Status;
- }U_Status;
-}AT91S_RxTdDescriptor, *AT91PS_RxTdDescriptor;
-
-
-//* Transmit Transfer descriptor structure
-typedef struct _AT91S_TxTdDescriptor {
- unsigned int addr;
- union
- {
- unsigned int status;
- struct {
- unsigned int Length:11;
- unsigned int Res0:4;
- unsigned int LastBuff:1;
- unsigned int NoCrc:1;
- unsigned int Res1:10;
- unsigned int BufExhausted:1;
- unsigned int TransmitUnderrun:1;
- unsigned int TransmitError:1;
- unsigned int Wrap:1;
- unsigned int BuffUsed:1;
- }S_Status;
- }U_Status;
-}AT91S_TxTdDescriptor, *AT91PS_TxTdDescriptor;
-
-#define AT91C_OWNERSHIP_BIT 0x00000001
-
-/* Receive status defintion */
-#define AT91C_BROADCAST_ADDR ((unsigned int) (1 << 31)) //* Broadcat address detected
-#define AT91C_MULTICAST_HASH ((unsigned int) (1 << 30)) //* MultiCast hash match
-#define AT91C_UNICAST_HASH ((unsigned int) (1 << 29)) //* UniCast hash match
-#define AT91C_EXTERNAL_ADDR ((unsigned int) (1 << 28)) //* External Address match
-#define AT91C_SA1_ADDR ((unsigned int) (1 << 26)) //* Specific address 1 match
-#define AT91C_SA2_ADDR ((unsigned int) (1 << 25)) //* Specific address 2 match
-#define AT91C_SA3_ADDR ((unsigned int) (1 << 24)) //* Specific address 3 match
-#define AT91C_SA4_ADDR ((unsigned int) (1 << 23)) //* Specific address 4 match
-#define AT91C_TYPE_ID ((unsigned int) (1 << 22)) //* Type ID match
-#define AT91C_VLAN_TAG ((unsigned int) (1 << 21)) //* VLAN tag detected
-#define AT91C_PRIORITY_TAG ((unsigned int) (1 << 20)) //* PRIORITY tag detected
-#define AT91C_VLAN_PRIORITY ((unsigned int) (7 << 17)) //* PRIORITY Mask
-#define AT91C_CFI_IND ((unsigned int) (1 << 16)) //* CFI indicator
-#define AT91C_EOF ((unsigned int) (1 << 15)) //* EOF
-#define AT91C_SOF ((unsigned int) (1 << 14)) //* SOF
-#define AT91C_RBF_OFFSET ((unsigned int) (3 << 12)) //* Receive Buffer Offset Mask
-#define AT91C_LENGTH_FRAME ((unsigned int) 0x07FF) //* Length of frame
-
-/* Transmit Status definition */
-#define AT91C_TRANSMIT_OK ((unsigned int) (1 << 31)) //*
-#define AT91C_TRANSMIT_WRAP ((unsigned int) (1 << 30)) //* Wrap bit: mark the last descriptor
-#define AT91C_TRANSMIT_ERR ((unsigned int) (1 << 29)) //* RLE:transmit error
-#define AT91C_TRANSMIT_UND ((unsigned int) (1 << 28)) //* Transmit Underrun
-#define AT91C_BUF_EX ((unsigned int) (1 << 27)) //* Buffers exhausted in mid frame
-#define AT91C_TRANSMIT_NO_CRC ((unsigned int) (1 << 16)) //* No CRC will be appended to the current frame
-#define AT91C_LAST_BUFFER ((unsigned int) (1 << 15)) //*
-
-#define ARP_ETHER 1 /* Ethernet hardware address */
-#define ARPOP_REQUEST 1 /* Request to resolve address */
-#define ARPOP_REPLY 2 /* Response to previous request */
-#define RARPOP_REQUEST 3 /* Request to resolve address */
-#define RARPOP_REPLY 4 /* Response to previous request */
-
-
-typedef struct _AT91S_EthHdr
-{
- unsigned char et_dest[6]; /* Destination node */
- unsigned char et_src[6]; /* Source node */
- unsigned short et_protlen; /* Protocol or length */
-} AT91S_EthHdr, *AT91PS_EthHdr;
-
-typedef struct _AT91S_ArpHdr
-{
- unsigned short ar_hrd; /* Format of hardware address */
- unsigned short ar_pro; /* Format of protocol address */
- unsigned char ar_hln; /* Length of hardware address */
- unsigned char ar_pln; /* Length of protocol address */
- unsigned short ar_op; /* Operation */
- unsigned char ar_sha[6]; /* Sender hardware address */
- unsigned char ar_spa[4]; /* Sender protocol address */
- unsigned char ar_tha[6]; /* Target hardware address */
- unsigned char ar_tpa[4]; /* Target protocol address */
-} AT91S_ArpHdr, *AT91PS_ArpHdr;
-
-//* IP Header structure
-typedef struct _AT91S_IPheader {
- unsigned char ip_hl_v; /* header length and version */
- unsigned char ip_tos; /* type of service */
- unsigned short ip_len; /* total length */
- unsigned short ip_id; /* identification */
- unsigned short ip_off; /* fragment offset field */
- unsigned char ip_ttl; /* time to live */
- unsigned char ip_p; /* protocol */
- unsigned short ip_sum; /* checksum */
- unsigned char ip_src[4]; /* Source IP address */
- unsigned char ip_dst[4]; /* Destination IP address */
- unsigned short udp_src; /* UDP source port */
- unsigned short udp_dst; /* UDP destination port */
- unsigned short udp_len; /* Length of UDP packet */
- unsigned short udp_xsum; /* Checksum */
-} AT91S_IPheader, *AT91PS_IPheader;
-
-//* ICMP echo header structure
-typedef struct _AT91S_IcmpEchoHdr {
- unsigned char type; /* type of message */
- unsigned char code; /* type subcode */
- unsigned short cksum; /* ones complement cksum of struct */
- unsigned short id; /* identifier */
- unsigned short seq; /* sequence number */
-}AT91S_IcmpEchoHdr, *AT91PS_IcmpEchoHdr;
-
-
-typedef struct _AT91S_EthPack
-{
- AT91S_EthHdr EthHdr;
- AT91S_ArpHdr ArpHdr;
-} AT91S_EthPack, *AT91PS_EthPack;
-
-
-#endif //* AT91C_EMAC_H
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/mii.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/mii.h
deleted file mode 100644
index 29b2f53d5..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/SrcAtmel/mii.h
+++ /dev/null
@@ -1,105 +0,0 @@
-/* Generic MII registers. */
-
-#define MII_BMCR 0x00 /* Basic mode control register */
-#define MII_BMSR 0x01 /* Basic mode status register */
-#define MII_PHYSID1 0x02 /* PHYS ID 1 */
-#define MII_PHYSID2 0x03 /* PHYS ID 2 */
-#define MII_ADVERTISE 0x04 /* Advertisement control reg */
-#define MII_LPA 0x05 /* Link partner ability reg */
-#define MII_EXPANSION 0x06 /* Expansion register */
-#define MII_DCOUNTER 0x12 /* Disconnect counter */
-#define MII_FCSCOUNTER 0x13 /* False carrier counter */
-#define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */
-#define MII_RERRCOUNTER 0x15 /* Receive error counter */
-#define MII_SREVISION 0x16 /* Silicon revision */
-#define MII_RESV1 0x17 /* Reserved... */
-#define MII_LBRERROR 0x18 /* Lpback, rx, bypass error */
-#define MII_PHYADDR 0x19 /* PHY address */
-#define MII_RESV2 0x1a /* Reserved... */
-#define MII_TPISTATUS 0x1b /* TPI status for 10mbps */
-#define MII_NCONFIG 0x1c /* Network interface config */
-
-/* Basic mode control register. */
-#define BMCR_RESV 0x007f /* Unused... */
-#define BMCR_CTST 0x0080 /* Collision test */
-#define BMCR_FULLDPLX 0x0100 /* Full duplex */
-#define BMCR_ANRESTART 0x0200 /* Auto negotiation restart */
-#define BMCR_ISOLATE 0x0400 /* Disconnect DP83840 from MII */
-#define BMCR_PDOWN 0x0800 /* Powerdown the DP83840 */
-#define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */
-#define BMCR_SPEED100 0x2000 /* Select 100Mbps */
-#define BMCR_LOOPBACK 0x4000 /* TXD loopback bits */
-#define BMCR_RESET 0x8000 /* Reset the DP83840 */
-
-/* Basic mode status register. */
-#define BMSR_ERCAP 0x0001 /* Ext-reg capability */
-#define BMSR_JCD 0x0002 /* Jabber detected */
-#define BMSR_LSTATUS 0x0004 /* Link status */
-#define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */
-#define BMSR_RFAULT 0x0010 /* Remote fault detected */
-#define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */
-#define BMSR_RESV 0x07c0 /* Unused... */
-#define BMSR_10HALF 0x0800 /* Can do 10mbps, half-duplex */
-#define BMSR_10FULL 0x1000 /* Can do 10mbps, full-duplex */
-#define BMSR_100HALF 0x2000 /* Can do 100mbps, half-duplex */
-#define BMSR_100FULL 0x4000 /* Can do 100mbps, full-duplex */
-#define BMSR_100BASE4 0x8000 /* Can do 100mbps, 4k packets */
-
-/* Advertisement control register. */
-#define ADVERTISE_SLCT 0x001f /* Selector bits */
-#define ADVERTISE_CSMA 0x0001 /* Only selector supported */
-#define ADVERTISE_10HALF 0x0020 /* Try for 10mbps half-duplex */
-#define ADVERTISE_10FULL 0x0040 /* Try for 10mbps full-duplex */
-#define ADVERTISE_100HALF 0x0080 /* Try for 100mbps half-duplex */
-#define ADVERTISE_100FULL 0x0100 /* Try for 100mbps full-duplex */
-#define ADVERTISE_100BASE4 0x0200 /* Try for 100mbps 4k packets */
-#define ADVERTISE_RESV 0x1c00 /* Unused... */
-#define ADVERTISE_RFAULT 0x2000 /* Say we can detect faults */
-#define ADVERTISE_LPACK 0x4000 /* Ack link partners response */
-#define ADVERTISE_NPAGE 0x8000 /* Next page bit */
-
-#define ADVERTISE_FULL (ADVERTISE_100FULL | ADVERTISE_10FULL | \
- ADVERTISE_CSMA)
-#define ADVERTISE_ALL (ADVERTISE_10HALF | ADVERTISE_10FULL | \
- ADVERTISE_100HALF | ADVERTISE_100FULL)
-
-/* Link partner ability register. */
-#define LPA_SLCT 0x001f /* Same as advertise selector */
-#define LPA_10HALF 0x0020 /* Can do 10mbps half-duplex */
-#define LPA_10FULL 0x0040 /* Can do 10mbps full-duplex */
-#define LPA_100HALF 0x0080 /* Can do 100mbps half-duplex */
-#define LPA_100FULL 0x0100 /* Can do 100mbps full-duplex */
-#define LPA_100BASE4 0x0200 /* Can do 100mbps 4k packets */
-#define LPA_RESV 0x1c00 /* Unused... */
-#define LPA_RFAULT 0x2000 /* Link partner faulted */
-#define LPA_LPACK 0x4000 /* Link partner acked us */
-#define LPA_NPAGE 0x8000 /* Next page bit */
-
-#define LPA_DUPLEX (LPA_10FULL | LPA_100FULL)
-#define LPA_100 (LPA_100FULL | LPA_100HALF | LPA_100BASE4)
-
-/* Expansion register for auto-negotiation. */
-#define EXPANSION_NWAY 0x0001 /* Can do N-way auto-nego */
-#define EXPANSION_LCWP 0x0002 /* Got new RX page code word */
-#define EXPANSION_ENABLENPAGE 0x0004 /* This enables npage words */
-#define EXPANSION_NPCAPABLE 0x0008 /* Link partner supports npage */
-#define EXPANSION_MFAULTS 0x0010 /* Multiple faults detected */
-#define EXPANSION_RESV 0xffe0 /* Unused... */
-
-/* N-way test register. */
-#define NWAYTEST_RESV1 0x00ff /* Unused... */
-#define NWAYTEST_LOOPBACK 0x0100 /* Enable loopback for N-way */
-#define NWAYTEST_RESV2 0xfe00 /* Unused... */
-
-#define SPEED_10 10
-#define SPEED_100 100
-
-/* Duplex, half or full. */
-#define DUPLEX_HALF 0x00
-#define DUPLEX_FULL 0x01
-
-/* PHY ID */
-#define MII_DM9161_ID 0x0181b8a0
-#define MII_AM79C875_ID 0x00225540 /* 0x00225541 */
-
-#define AT91C_PHY_ADDR 31
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/USB/USBSample.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/USB/USBSample.c
deleted file mode 100644
index 43ba84700..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/USB/USBSample.c
+++ /dev/null
@@ -1,1197 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-/*
- Sample interrupt driven mouse device driver. This is a minimal implementation
- for demonstration only. Although functional, it may not be a fully and
- compliant implementation. The small joystick on the SAM7X EK can be used to
- move the mouse cursor, pressing the joystick transmits mouse clicks. Note
- that it might be necessary to run the demo stand along (without the
- debugger) in order for the USB device to be recognised by the host computer.
-
- The interrupt handler itself is contained within USB_ISR.c.
-
- See the FreeRTOS.org online documentation for more information.
-*/
-
-/* Standard includes. */
-#include
-
-/* Scheduler includes. */
-#include "FreeRTOS.h"
-#include "task.h"
-#include "queue.h"
-
-/* Demo application includes. */
-#include "USBSample.h"
-
-/* Joystick inputs used to move the 'mouse' cursor. */
-#define usbSW1 ( 1 << 21 ) /* PA21 */
-#define usbSW2 ( 1 << 22 ) /* PA22 */
-#define usbSW3 ( 1 << 23 ) /* PA23 */
-#define usbSW4 ( 1 << 24 ) /* PA24 */
-#define usbSW_CLICK ( 1 << 25 ) /* PA25 */
-
-/* Descriptor type definitions. */
-#define usbDESCRIPTOR_TYPE_DEVICE ( 0x01 )
-#define usbDESCRIPTOR_TYPE_CONFIGURATION ( 0x02 )
-#define usbDESCRIPTOR_TYPE_STRING ( 0x03 )
-
-/* USB request type definitions. */
-#define usbGET_REPORT_REQUEST ( 0x01 )
-#define usbGET_IDLE_REQUEST ( 0x02 )
-#define usbGET_PROTOCOL_REQUEST ( 0x03 )
-#define usbSET_REPORT_REQUEST ( 0x09 )
-#define usbSET_IDLE_REQUEST ( 0x0A )
-#define usbSET_PROTOCOL_REQUEST ( 0x0B )
-#define usbGET_CONFIGURATION_REQUEST ( 0x08 )
-#define usbGET_STATUS_REQUEST ( 0x00 )
-#define usbCLEAR_FEATURE_REQUEST ( 0x01 )
-#define usbSET_FEATURE_REQUEST ( 0x03 )
-#define usbSET_ADDRESS_REQUEST ( 0x05 )
-#define usbGET_DESCRIPTOR_REQUEST ( 0x06 )
-#define usbSET_CONFIGURATION_REQUEST ( 0x09 )
-#define usbGET_INTERFACE_REQUEST ( 0x0A )
-#define usbSET_INTERFACE_REQUEST ( 0x0B )
-
-
-/* Misc USB definitions. */
-#define usbDEVICE_CLASS_VENDOR_SPECIFIC ( 0xFF )
-#define usbBUS_POWERED ( 0x80 )
-#define usbHID_REPORT_DESCRIPTOR ( 0x22 )
-#define AT91C_UDP_TRANSCEIVER_ENABLE ( *( ( unsigned long * ) 0xfffb0074 ) )
-
-/* Index to the various string. */
-#define usbLANGUAGE_STRING ( 0 )
-#define usbMANUFACTURER_STRING ( 1 )
-#define usbPRODUCT_STRING ( 2 )
-#define usbCONFIGURATION_STRING ( 3 )
-#define usbINTERFACE_STRING ( 4 )
-
-/* Data indexes for reading the request from the xISRStatus.ucFifoData[]
-into xUSB_REQUEST. The data order is designed for speed - so looks a
-little odd. */
-#define usbREQUEST_TYPE_INDEX ( 7 )
-#define usbREQUEST_INDEX ( 6 )
-#define usbVALUE_HIGH_BYTE ( 4 )
-#define usbVALUE_LOW_BYTE ( 5 )
-#define usbINDEX_HIGH_BYTE ( 2 )
-#define usbINDEX_LOW_BYTE ( 3 )
-#define usbLENGTH_HIGH_BYTE ( 0 )
-#define usbLENGTH_LOW_BYTE ( 1 )
-
-/* Misc application definitions. */
-#define usbINTERRUPT_PRIORITY ( 3 )
-#define usbFIFO_LENGTH ( ( unsigned long ) 8 )
-#define usbXUP ( 1 )
-#define usbXDOWN ( 2 )
-#define usbYUP ( 3 )
-#define usbYDOWN ( 4 )
-#define usbMAX_COORD ( 120 )
-#define usbMAX_TX_MESSAGE_SIZE ( 128 )
-#define usbSHORTEST_DELAY ( ( TickType_t ) 1 )
-#define usbINIT_DELAY ( ( TickType_t ) 1000 / portTICK_PERIOD_MS )
-#define usbSHORT_DELAY ( ( TickType_t ) 50 / portTICK_PERIOD_MS )
-#define usbEND_POINT_RESET_MASK ( ( unsigned long ) 0x0f )
-#define usbDATA_INC ( ( char ) 5 )
-#define usbEXPECTED_NUMBER_OF_BYTES ( ( unsigned long ) 8 )
-
-/* Control request types. */
-#define usbSTANDARD_DEVICE_REQUEST ( 0 )
-#define usbSTANDARD_INTERFACE_REQUEST ( 1 )
-#define usbSTANDARD_END_POINT_REQUEST ( 2 )
-#define usbCLASS_INTERFACE_REQUEST ( 5 )
-
-/* Structure used to hold the received requests. */
-typedef struct
-{
- unsigned char ucReqType;
- unsigned char ucRequest;
- unsigned short usValue;
- unsigned short usIndex;
- unsigned short usLength;
-} xUSB_REQUEST;
-
-typedef enum
-{
- eNOTHING,
- eJUST_RESET,
- eJUST_GOT_CONFIG,
- eJUST_GOT_ADDRESS,
- eSENDING_EVEN_DESCRIPTOR,
- eREADY_TO_SEND
-} eDRIVER_STATE;
-
-/* Structure used to control the data being sent to the host. */
-typedef struct
-{
- unsigned char ucTxBuffer[ usbMAX_TX_MESSAGE_SIZE ];
- unsigned long ulNextCharIndex;
- unsigned long ulTotalDataLength;
-} xTX_MESSAGE;
-
-/*-----------------------------------------------------------*/
-
-/*
- * The USB interrupt service routine. This takes a snapshot of the USB
- * device at the time of the interrupt, clears the interrupts, and posts
- * the data to the USB processing task. This is implemented in USB_ISR.c.
- */
-extern void vUSB_ISR_Wrapper( void );
-
-/*
- * Called after the bus reset interrupt - this function readies all the
- * end points for communication.
- */
-static void prvResetEndPoints( void );
-
-/*
- * Setup the USB hardware, install the interrupt service routine and
- * initialise all the state variables.
- */
-static void vInitUSBInterface( void );
-
-/*
- * Decode and act upon an interrupt generated by the control end point.
- */
-static void prvProcessEndPoint0Interrupt( xISRStatus *pxMessage );
-
-/*
- * For simplicity requests are separated into device, interface, class
- * interface and end point requests.
- *
- * Decode and handle standard device requests originating on the control
- * end point.
- */
-static void prvHandleStandardDeviceRequest( xUSB_REQUEST *pxRequest );
-
-/*
- * For simplicity requests are separated into device, interface, class
- * interface and end point requests.
- *
- * Decode and handle standard interface requests originating on the control
- * end point.
- */
-static void prvHandleStandardInterfaceRequest( xUSB_REQUEST *pxRequest );
-
-/*
- * For simplicity requests are separated into device, interface, class
- * interface and end point requests.
- *
- * Decode and handle standard end point requests originating on the control
- * end point.
- */
-static void prvHandleStandardEndPointRequest( xUSB_REQUEST *pxRequest );
-
-/*
- * For simplicity requests are separated into device, interface, class
- * interface and end point requests.
- *
- * Decode and handle the class interface requests.
- */
-static void prvHandleClassInterfaceRequest( xUSB_REQUEST *pxRequest );
-
-/*
- * Setup the Tx buffer to send data in response to a control request.
- *
- * The data to be transmitted is buffered, the state variables are updated,
- * then prvSendNextSegment() is called to start the transmission off. Once
- * the first segment has been sent the remaining segments are transmitted
- * in response to TXCOMP interrupts until the entire buffer has been
- * sent.
- */
-static void prvSendControlData( unsigned char *pucData, unsigned short usRequestedLength, unsigned long ulLengthLeftToSend, long lSendingDescriptor );
-
-/*
- * Examine the Tx buffer to see if there is any more data to be transmitted.
- *
- * If there is data to be transmitted then send the next segment. A segment
- * can have a maximum of 8 bytes (this is defined as the maximum for the end
- * point by the descriptor). The final segment may be less than 8 bytes if
- * the total data length was not an exact multiple of 8.
- */
-static void prvSendNextSegment( void );
-
-/*
- * A stall condition is forced each time the host makes a request that is not
- * supported by this minimal implementation.
- *
- * A stall is forced by setting the appropriate bit in the end points control
- * and status register.
- */
-static void prvSendStall( void );
-
-/*
- * A NULL (or zero length packet) is transmitted in acknowledge the reception
- * of certain events from the host.
- */
-static void prvUSBTransmitNull( void );
-
-/*
- * When the host requests a descriptor this function is called to determine
- * which descriptor is being requested and start its transmission.
- */
-static void prvGetStandardInterfaceDescriptor( xUSB_REQUEST *pxRequest );
-
-/*
- * Transmit movement and clicks on the EK joystick as mouse inputs.
- */
-static void prvTransmitSampleValues( void );
-
-/*
- * The created task to handle the USB demo functionality.
- */
-static void vUSBDemoTask( void *pvParameters );
-
-/*
- * Simple algorithm to ramp up the mouse cursor speed to make it easier to
- * use.
- */
-static void prvControlCursorSpeed( signed char *cVal, unsigned long ulInput, unsigned long ulSwitch1, unsigned long ulSwitch2 );
-/*-----------------------------------------------------------*/
-
-/*
- - DESCRIPTOR DEFINITIONS -
-*/
-
-/* String descriptors used during the enumeration process.
-These take the form:
-
-{
- Length of descriptor,
- Descriptor type,
- Data
-}
-*/
-const char pxLanguageStringDescriptor[] =
-{
- 4,
- usbDESCRIPTOR_TYPE_STRING,
- 0x09, 0x04
-};
-
-const char pxManufacturerStringDescriptor[] =
-{
- 18,
- usbDESCRIPTOR_TYPE_STRING,
-
- 'F', 0x00,
- 'r', 0x00,
- 'e', 0x00,
- 'e', 0x00,
- 'R', 0x00,
- 'T', 0x00,
- 'O', 0x00,
- 'S', 0x00
-};
-
-const char pxProductStringDescriptor[] =
-{
- 38,
- usbDESCRIPTOR_TYPE_STRING,
-
- 'F', 0x00,
- 'r', 0x00,
- 'e', 0x00,
- 'e', 0x00,
- 'R', 0x00,
- 'T', 0x00,
- 'O', 0x00,
- 'S', 0x00,
- '.', 0x00,
- 'o', 0x00,
- 'r', 0x00,
- 'g', 0x00,
- ' ', 0x00,
- 'M', 0x00,
- 'o', 0x00,
- 'u', 0x00,
- 's', 0x00,
- 'e', 0x00
-};
-
-const char pxConfigurationStringDescriptor[] =
-{
- 38,
- usbDESCRIPTOR_TYPE_STRING,
-
- 'C', 0x00,
- 'o', 0x00,
- 'n', 0x00,
- 'f', 0x00,
- 'i', 0x00,
- 'g', 0x00,
- 'u', 0x00,
- 'r', 0x00,
- 'a', 0x00,
- 't', 0x00,
- 'i', 0x00,
- 'o', 0x00,
- 'n', 0x00,
- ' ', 0x00,
- 'N', 0x00,
- 'a', 0x00,
- 'm', 0x00,
- 'e', 0x00
-};
-
-const char pxInterfaceStringDescriptor[] =
-{
- 30,
- usbDESCRIPTOR_TYPE_STRING,
-
- 'I', 0x00,
- 'n', 0x00,
- 't', 0x00,
- 'e', 0x00,
- 'r', 0x00,
- 'f', 0x00,
- 'a', 0x00,
- 'c', 0x00,
- 'e', 0x00,
- ' ', 0x00,
- 'N', 0x00,
- 'a', 0x00,
- 'm', 0x00,
- 'e', 0x00
-};
-
-/* Enumeration descriptors. */
-const char pxReportDescriptor[] =
-{
- 0x05, 0x01, /* USAGE_PAGE (Generic Desktop) */
- 0x09, 0x02, /* USAGE (Mouse) */
- 0xa1, 0x01, /* COLLECTION (Application) */
- 0x09, 0x01, /* USAGE (Pointer) */
- 0xa1, 0x00, /* COLLECTION (Physical) */
- 0x95, 0x03, /* REPORT_COUNT (3) */
- 0x75, 0x01, /* REPORT_SIZE (1) */
- 0x05, 0x09, /* USAGE_PAGE (Button) */
- 0x19, 0x01, /* USAGE_MINIMUM (Button 1) */
- 0x29, 0x03, /* USAGE_MAXIMUM (Button 3) */
- 0x15, 0x00, /* LOGICAL_MINIMUM (0) */
- 0x25, 0x01, /* LOGICAL_MAXIMUM (1) */
- 0x81, 0x02, /* INPUT (Data,Var,Abs) */
- 0x95, 0x01, /* REPORT_COUNT (1) */
- 0x75, 0x05, /* REPORT_SIZE (5) */
- 0x81, 0x01, /* INPUT (Cnst,Ary,Abs) */
- 0x75, 0x08, /* REPORT_SIZE (8) */
- 0x95, 0x02, /* REPORT_COUNT (2) */
- 0x05, 0x01, /* USAGE_PAGE (Generic Desktop) */
- 0x09, 0x30, /* USAGE (X) */
- 0x09, 0x31, /* USAGE (Y) */
- 0x15, 0x81, /* LOGICAL_MINIMUM (-127) */
- 0x25, 0x7f, /* LOGICAL_MAXIMUM (127) */
- 0x81, 0x06, /* INPUT (Data,Var,Rel) */
- 0xc0, /* END_COLLECTION */
- 0xc0 /* END_COLLECTION */
-};
-
-
-
-const char pxDeviceDescriptor[] =
-{
- /* Device descriptor */
- 0x12, /* bLength */
- 0x01, /* bDescriptorType */
- 0x10, 0x01, /* bcdUSBL */
- usbDEVICE_CLASS_VENDOR_SPECIFIC, /* bDeviceClass: */
- 0x00, /* bDeviceSubclass: */
- 0x00, /* bDeviceProtocol: */
- 0x08, /* bMaxPacketSize0 */
- 0xFF, 0xFF, /* idVendorL */
- 0x02, 0x00, /* idProductL */
- 0x00, 0x01, /* bcdDeviceL */
- usbMANUFACTURER_STRING, /* iManufacturer */
- usbPRODUCT_STRING, /* iProduct */
- 0x00, /* SerialNumber */
- 0x01 /* bNumConfigs */
-};
-
-
-const char pxConfigDescriptor[] = {
- /* Configuration 1 descriptor */
- 0x09, /* CbLength */
- 0x02, /* CbDescriptorType */
- 0x22, 0x00, /* CwTotalLength 2 EP + Control */
- 0x01, /* CbNumInterfaces */
- 0x01, /* CbConfigurationValue */
- usbCONFIGURATION_STRING,/* CiConfiguration */
- usbBUS_POWERED, /* CbmAttributes Bus powered + Remote Wakeup*/
- 0x32, /* CMaxPower: 100mA */
-
- /* Mouse Interface Descriptor Requirement */
- 0x09, /* bLength */
- 0x04, /* bDescriptorType */
- 0x00, /* bInterfaceNumber */
- 0x00, /* bAlternateSetting */
- 0x01, /* bNumEndpoints */
- 0x03, /* bInterfaceClass: HID code */
- 0x01, /* bInterfaceSubclass boot */
- 0x02, /* bInterfaceProtocol mouse boot */
- usbINTERFACE_STRING,/* iInterface */
-
- /* HID Descriptor */
- 0x09, /* bLength */
- 0x21, /* bDescriptor type: HID Descriptor Type */
- 0x00, 0x01, /* bcdHID */
- 0x00, /* bCountryCode */
- 0x01, /* bNumDescriptors */
- usbHID_REPORT_DESCRIPTOR, /* bDescriptorType */
- sizeof( pxReportDescriptor ), 0x00, /* wItemLength */
-
- /* Endpoint 1 descriptor */
- 0x07, /* bLength */
- 0x05, /* bDescriptorType */
- 0x81, /* bEndpointAddress, Endpoint 01 - IN */
- 0x03, /* bmAttributes INT */
- 0x08, 0x00, /* wMaxPacketSize: 8? */
- 0x0A /* bInterval */
-};
-
-/*-----------------------------------------------------------*/
-
-/* File scope state variables. */
-static unsigned char ucUSBConfig = ( unsigned char ) 0;
-static unsigned long ulReceivedAddress = ( unsigned long ) 0;
-static eDRIVER_STATE eDriverState = eNOTHING;
-
-/* Structure used to control the characters being sent to the host. */
-static xTX_MESSAGE pxCharsForTx;
-
-/* Queue used to pass messages between the ISR and the task. */
-QueueHandle_t xUSBInterruptQueue;
-
-/*-----------------------------------------------------------*/
-
-void vStartUSBTask( unsigned portBASE_TYPE uxPriority )
-{
- /* Create the queue used to communicate between the USB ISR and task. */
- xUSBInterruptQueue = xQueueCreate( usbQUEUE_LENGTH + 1, sizeof( xISRStatus * ) );
-
- /* Create the task itself. */
- xTaskCreate( vUSBDemoTask, "USB", configMINIMAL_STACK_SIZE, NULL, uxPriority, NULL );
-}
-/*-----------------------------------------------------------*/
-
-static void vUSBDemoTask( void *pvParameters )
-{
-xISRStatus *pxMessage;
-
- /* The parameters are not used in this task. */
- ( void ) pvParameters;
-
- /* Init USB device */
- portENTER_CRITICAL();
- vInitUSBInterface();
- portEXIT_CRITICAL();
-
- /* Process interrupts as they arrive. The ISR takes a snapshot of the
- interrupt status then posts the information on this queue for processing
- at the task level. This simple demo implementation only processes
- a few interrupt sources. */
- for( ;; )
- {
- if( xQueueReceive( xUSBInterruptQueue, &pxMessage, usbSHORT_DELAY ) )
- {
- if( pxMessage->ulISR & AT91C_UDP_EPINT0 )
- {
- /* Process end point 0 interrupt. */
- prvProcessEndPoint0Interrupt( pxMessage );
- }
-
- if( pxMessage->ulISR & AT91C_UDP_ENDBUSRES )
- {
- /* Process an end of bus reset interrupt. */
- prvResetEndPoints();
- }
- }
- else
- {
- /* The ISR did not post any data for us to process on the queue, so
- just generate and send some sample data. */
- if( eDriverState == eREADY_TO_SEND )
- {
- prvTransmitSampleValues();
- }
- }
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvControlCursorSpeed( signed char *cVal, unsigned long ulInput, unsigned long ulSwitch1, unsigned long ulSwitch2 )
-{
-const char cSpeed = 20;
-
- if( !( ulInput & ulSwitch1 ) )
- {
- /* We are going in the decreasing y direction. */
- if( *cVal > 0 )
- {
- /* We have changed direction since last time so start from
- 0 again. */
- *cVal = 0;
- }
-
- if( *cVal > -cSpeed )
- {
- /* Ramp y down to the max speed. */
- (*cVal)--;
- }
- }
- else if( !( ulInput & ulSwitch2 ) )
- {
- /* We are going in the increasing y direction. */
- if( *cVal < 0 )
- {
- /* We have changed direction since last time, so start from
- 0 again. */
- *cVal = 0;
- }
-
- if( *cVal < cSpeed )
- {
- /* Ramp y up to the max speed again. */
- (*cVal)++;
- }
- }
- else
- {
- *cVal = 0;
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvTransmitSampleValues( void )
-{
-/* Variables to hold dummy x, y and z joystick axis data. */
-static signed char x = 0, y = 0, z = 0;
-unsigned long ulStatus;
-
- ulStatus = AT91C_BASE_PIOA->PIO_PDSR;
-
- prvControlCursorSpeed( &y, ulStatus, ( unsigned long ) usbSW1, ( unsigned long ) usbSW2 );
- prvControlCursorSpeed( &x, ulStatus, ( unsigned long ) usbSW3, ( unsigned long ) usbSW4 );
-
- /* Just make the z axis go up and down. */
- z = ( ( ulStatus & usbSW_CLICK ) == 0 );
-
- /* Can we place data in the fifo? */
- if( !( AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_1 ] & AT91C_UDP_TXPKTRDY ) )
- {
- /* Write our sample data to the fifo. */
- AT91C_BASE_UDP->UDP_FDR[ usbEND_POINT_1 ] = z;
- AT91C_BASE_UDP->UDP_FDR[ usbEND_POINT_1 ] = x;
- AT91C_BASE_UDP->UDP_FDR[ usbEND_POINT_1 ] = y;
-
- /* Send the data. */
- portENTER_CRITICAL();
- {
- ulStatus = AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_1 ];
- usbCSR_SET_BIT( &ulStatus, ( AT91C_UDP_TXPKTRDY ) );
- AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_1 ] = ulStatus;
- }
- portEXIT_CRITICAL();
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvUSBTransmitNull( void )
-{
-unsigned long ulStatus;
-
- /* Wait until the FIFO is free - even though we are not going to use it.
- THERE IS NO TIMEOUT HERE! */
- while( AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ] & AT91C_UDP_TXPKTRDY )
- {
- vTaskDelay( usbSHORTEST_DELAY );
- }
-
- portENTER_CRITICAL();
- {
- /* Set the length of data to send to equal the index of the next byte
- to send. This will prevent the ACK to this NULL packet causing any
- further data transmissions. */
- pxCharsForTx.ulTotalDataLength = pxCharsForTx.ulNextCharIndex;
-
- /* Set the TXPKTRDY bit to cause a transmission with no data. */
- ulStatus = AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ];
- usbCSR_SET_BIT( &ulStatus, ( AT91C_UDP_TXPKTRDY ) );
- AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ] = ulStatus;
- }
- portEXIT_CRITICAL();
-}
-/*-----------------------------------------------------------*/
-
-static void prvSendStall( void )
-{
-unsigned long ulStatus;
-
- portENTER_CRITICAL();
- {
- /* Force a stall by simply setting the FORCESTALL bit in the CSR. */
- ulStatus = AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ];
- usbCSR_SET_BIT( &ulStatus, AT91C_UDP_FORCESTALL );
- AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ] = ulStatus;
- }
- portEXIT_CRITICAL();
-}
-/*-----------------------------------------------------------*/
-
-static void prvResetEndPoints( void )
-{
-unsigned long ulTemp;
-
- eDriverState = eJUST_RESET;
-
- /* Reset all the end points. */
- AT91C_BASE_UDP->UDP_RSTEP = usbEND_POINT_RESET_MASK;
- AT91C_BASE_UDP->UDP_RSTEP = ( unsigned long ) 0x00;
-
- /* Enable data to be sent and received. */
- AT91C_BASE_UDP->UDP_FADDR = AT91C_UDP_FEN;
-
- /* Repair the configuration end point. */
- portENTER_CRITICAL();
- {
- ulTemp = AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ];
- usbCSR_SET_BIT( &ulTemp, ( ( unsigned long ) ( AT91C_UDP_EPEDS | AT91C_UDP_EPTYPE_CTRL ) ) );
- AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ] = ulTemp;
- AT91C_BASE_UDP->UDP_IER = AT91C_UDP_EPINT0;
- }
- portEXIT_CRITICAL();
-}
-/*-----------------------------------------------------------*/
-
-static void prvProcessEndPoint0Interrupt( xISRStatus *pxMessage )
-{
- if( pxMessage->ulCSR0 & AT91C_UDP_RX_DATA_BK0 )
- {
- /* We only expect to receive zero length data here as ACK's.
- Set the data pointer to the end of the current Tx packet to
- ensure we don't send out any more data. */
- pxCharsForTx.ulNextCharIndex = pxCharsForTx.ulTotalDataLength;
- }
-
- if( pxMessage->ulCSR0 & AT91C_UDP_TXCOMP )
- {
- /* We received a TX complete interrupt. What we do depends on
- what we sent to get this interrupt. */
-
- if( eDriverState == eJUST_GOT_CONFIG )
- {
- /* We sent an acknowledgement of a SET_CONFIG request. We
- are now at the end of the enumeration. */
- AT91C_BASE_UDP->UDP_GLBSTATE = AT91C_UDP_CONFG;
-
- /* Read the end point for data transfer. */
- portENTER_CRITICAL();
- {
- unsigned long ulTemp;
-
- ulTemp = AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_1 ];
- usbCSR_SET_BIT( &ulTemp, AT91C_UDP_EPEDS | AT91C_UDP_EPTYPE_INT_IN );
- AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_1 ] = ulTemp;
- AT91C_BASE_UDP->UDP_IER = AT91C_UDP_EPINT1;
- }
- portEXIT_CRITICAL();
-
- eDriverState = eREADY_TO_SEND;
- }
- else if( eDriverState == eJUST_GOT_ADDRESS )
- {
- /* We sent an acknowledgement of a SET_ADDRESS request. Move
- to the addressed state. */
- if( ulReceivedAddress != ( unsigned long ) 0 )
- {
- AT91C_BASE_UDP->UDP_GLBSTATE = AT91C_UDP_FADDEN;
- }
- else
- {
- AT91C_BASE_UDP->UDP_GLBSTATE = 0;
- }
-
- AT91C_BASE_UDP->UDP_FADDR = ( AT91C_UDP_FEN | ulReceivedAddress );
- eDriverState = eNOTHING;
- }
- else
- {
- /* The TXCOMP was not for any special type of transmission. See
- if there is any more data to send. */
- prvSendNextSegment();
- }
- }
-
- if( pxMessage->ulCSR0 & AT91C_UDP_RXSETUP )
- {
- xUSB_REQUEST xRequest;
- unsigned char ucRequest;
- unsigned long ulRxBytes;
-
- /* A data packet is available. */
- ulRxBytes = pxMessage->ulCSR0 >> 16;
- ulRxBytes &= usbRX_COUNT_MASK;
-
- if( ulRxBytes >= usbEXPECTED_NUMBER_OF_BYTES )
- {
- /* Create an xUSB_REQUEST variable from the raw bytes array. */
-
- xRequest.ucReqType = pxMessage->ucFifoData[ usbREQUEST_TYPE_INDEX ];
- xRequest.ucRequest = pxMessage->ucFifoData[ usbREQUEST_INDEX ];
-
- /* NOT PORTABLE CODE! */
- xRequest.usValue = pxMessage->ucFifoData[ usbVALUE_HIGH_BYTE ];
- xRequest.usValue <<= 8;
- xRequest.usValue |= pxMessage->ucFifoData[ usbVALUE_LOW_BYTE ];
-
- xRequest.usIndex = pxMessage->ucFifoData[ usbINDEX_HIGH_BYTE ];
- xRequest.usIndex <<= 8;
- xRequest.usIndex |= pxMessage->ucFifoData[ usbINDEX_LOW_BYTE ];
-
- xRequest.usLength = pxMessage->ucFifoData[ usbLENGTH_HIGH_BYTE ];
- xRequest.usLength <<= 8;
- xRequest.usLength |= pxMessage->ucFifoData[ usbLENGTH_LOW_BYTE ];
-
- /* Manipulate the ucRequestType and the ucRequest parameters to
- generate a zero based request selection. This is just done to
- break up the requests into subsections for clarity. The
- alternative would be to have more huge switch statement that would
- be difficult to optimise. */
- ucRequest = ( ( xRequest.ucReqType & 0x60 ) >> 3 );
- ucRequest |= ( xRequest.ucReqType & 0x03 );
-
- switch( ucRequest )
- {
- case usbSTANDARD_DEVICE_REQUEST:
- /* Standard Device request */
- prvHandleStandardDeviceRequest( &xRequest );
- break;
-
- case usbSTANDARD_INTERFACE_REQUEST:
- /* Standard Interface request */
- prvHandleStandardInterfaceRequest( &xRequest );
- break;
-
- case usbSTANDARD_END_POINT_REQUEST:
- /* Standard Endpoint request */
- prvHandleStandardEndPointRequest( &xRequest );
- break;
-
- case usbCLASS_INTERFACE_REQUEST:
- /* Class Interface request */
- prvHandleClassInterfaceRequest( &xRequest );
- break;
-
- default: /* This is not something we want to respond to. */
- prvSendStall();
- }
- }
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvGetStandardDeviceDescriptor( xUSB_REQUEST *pxRequest )
-{
- /* The type is in the high byte. Return whatever has been requested. */
- switch( ( pxRequest->usValue & 0xff00 ) >> 8 )
- {
- case usbDESCRIPTOR_TYPE_DEVICE:
- prvSendControlData( ( unsigned char * ) &pxDeviceDescriptor, pxRequest->usLength, sizeof( pxDeviceDescriptor ), pdTRUE );
- break;
-
- case usbDESCRIPTOR_TYPE_CONFIGURATION:
- prvSendControlData( ( unsigned char * ) &( pxConfigDescriptor ), pxRequest->usLength, sizeof( pxConfigDescriptor ), pdTRUE );
- break;
-
- case usbDESCRIPTOR_TYPE_STRING:
-
- /* The index to the string descriptor is the lower byte. */
- switch( pxRequest->usValue & 0xff )
- {
- case usbLANGUAGE_STRING:
- prvSendControlData( ( unsigned char * ) &pxLanguageStringDescriptor, pxRequest->usLength, sizeof(pxLanguageStringDescriptor), pdTRUE );
- break;
-
- case usbMANUFACTURER_STRING:
- prvSendControlData( ( unsigned char * ) &pxManufacturerStringDescriptor, pxRequest->usLength, sizeof( pxManufacturerStringDescriptor ), pdTRUE );
- break;
-
- case usbPRODUCT_STRING:
- prvSendControlData( ( unsigned char * ) &pxProductStringDescriptor, pxRequest->usLength, sizeof( pxProductStringDescriptor ), pdTRUE );
- break;
-
- case usbCONFIGURATION_STRING:
- prvSendControlData( ( unsigned char * ) &pxConfigurationStringDescriptor, pxRequest->usLength, sizeof( pxConfigurationStringDescriptor ), pdTRUE );
- break;
-
- case usbINTERFACE_STRING:
- prvSendControlData( ( unsigned char * ) &pxInterfaceStringDescriptor, pxRequest->usLength, sizeof( pxInterfaceStringDescriptor ), pdTRUE );
- break;
-
- default:
- /* Don't know what this string is. */
- prvSendStall();
- break;
- }
-
- break;
-
- default:
- /* We are not responding to anything else. */
- prvSendStall();
- break;
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvHandleStandardDeviceRequest( xUSB_REQUEST *pxRequest )
-{
-unsigned short usStatus = 0;
-
- switch( pxRequest->ucRequest )
- {
- case usbGET_STATUS_REQUEST:
- /* Just send two byte dummy status. */
- prvSendControlData( ( unsigned char * ) &usStatus, sizeof( usStatus ), sizeof( usStatus ), pdFALSE );
- break;
-
- case usbGET_DESCRIPTOR_REQUEST:
- /* Send device descriptor */
- prvGetStandardDeviceDescriptor( pxRequest );
- break;
-
- case usbGET_CONFIGURATION_REQUEST:
- /* Send selected device configuration */
- prvSendControlData( ( unsigned char * ) &ucUSBConfig, sizeof( ucUSBConfig ), sizeof( ucUSBConfig ), pdFALSE );
- break;
-
- case usbSET_FEATURE_REQUEST:
- prvUSBTransmitNull();
- break;
-
- case usbSET_ADDRESS_REQUEST:
-
- /* Acknowledge the SET_ADDRESS, but (according to the manual) we
- cannot actually move to the addressed state until we get a TXCOMP
- interrupt from this NULL packet. Therefore we just remember the
- address and set our state so we know we have received the address. */
- prvUSBTransmitNull();
- eDriverState = eJUST_GOT_ADDRESS;
- ulReceivedAddress = ( unsigned long ) pxRequest->usValue;
- break;
-
- case usbSET_CONFIGURATION_REQUEST:
-
- /* Acknowledge the SET_CONFIGURATION, but (according to the manual)
- we cannot actually move to the configured state until we get a
- TXCOMP interrupt from this NULL packet. Therefore we just remember the
- config and set our state so we know we have received the go ahead. */
- ucUSBConfig = ( unsigned char ) ( pxRequest->usValue & 0xff );
- eDriverState = eJUST_GOT_CONFIG;
- prvUSBTransmitNull();
- break;
-
- default:
-
- /* We don't answer to anything else. */
- prvSendStall();
- break;
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvHandleClassInterfaceRequest( xUSB_REQUEST *pxRequest )
-{
- switch( pxRequest->ucRequest )
- {
- case usbSET_IDLE_REQUEST:
- prvUSBTransmitNull();
- break;
-
- /* This minimal implementation ignores these. */
- case usbGET_REPORT_REQUEST:
- case usbGET_IDLE_REQUEST:
- case usbGET_PROTOCOL_REQUEST:
- case usbSET_REPORT_REQUEST:
- case usbSET_PROTOCOL_REQUEST:
- default:
-
- prvSendStall();
- break;
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvGetStandardInterfaceDescriptor( xUSB_REQUEST *pxRequest )
-{
- switch( ( pxRequest->usValue & ( unsigned short ) 0xff00 ) >> 8 )
- {
- case usbHID_REPORT_DESCRIPTOR:
- prvSendControlData( ( unsigned char * ) pxReportDescriptor, pxRequest->usLength, sizeof( pxReportDescriptor ), pdTRUE );
- break;
-
- default:
-
- /* Don't expect to send any others. */
- prvSendStall();
- break;
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvHandleStandardInterfaceRequest( xUSB_REQUEST *pxRequest )
-{
-unsigned short usStatus = 0;
-
- switch( pxRequest->ucRequest )
- {
- case usbGET_STATUS_REQUEST:
- /* Send dummy 2 bytes. */
- prvSendControlData( ( unsigned char * ) &usStatus, sizeof( usStatus ), sizeof( usStatus ), pdFALSE );
- break;
-
- case usbGET_DESCRIPTOR_REQUEST:
- prvGetStandardInterfaceDescriptor( pxRequest );
- break;
-
- /* This minimal implementation does not respond to these. */
- case usbGET_INTERFACE_REQUEST:
- case usbSET_FEATURE_REQUEST:
- case usbSET_INTERFACE_REQUEST:
-
- default:
- prvSendStall();
- break;
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvHandleStandardEndPointRequest( xUSB_REQUEST *pxRequest )
-{
- switch( pxRequest->ucRequest )
- {
- /* This minimal implementation does not expect to respond to these. */
- case usbGET_STATUS_REQUEST:
- case usbCLEAR_FEATURE_REQUEST:
- case usbSET_FEATURE_REQUEST:
-
- default:
- prvSendStall();
- break;
- }
-}
-/*-----------------------------------------------------------*/
-
-static void vInitUSBInterface( void )
-{
-volatile unsigned long ulTemp;
-
- /* Initialise a few state variables. */
- pxCharsForTx.ulNextCharIndex = ( unsigned long ) 0;
- ucUSBConfig = ( unsigned char ) 0;
- eDriverState = eNOTHING;
-
- /* HARDWARE SETUP */
-
- /* Set the PLL USB Divider */
- AT91C_BASE_CKGR->CKGR_PLLR |= AT91C_CKGR_USBDIV_1;
-
- /* Enables the 48MHz USB clock UDPCK and System Peripheral USB Clock. */
- AT91C_BASE_PMC->PMC_SCER = AT91C_PMC_UDP;
- AT91C_BASE_PMC->PMC_PCER = (1 << AT91C_ID_UDP);
-
- /* Setup the PIO for the USB pull up resistor. */
- AT91C_BASE_PIOA->PIO_PER = AT91C_PIO_PA16;
- AT91C_BASE_PIOA->PIO_OER = AT91C_PIO_PA16;
-
-
- /* Start without the pullup - this will get set at the end of this
- function. */
- AT91C_BASE_PIOA->PIO_SODR = AT91C_PIO_PA16;
-
- /* When using the USB debugger the peripheral registers do not always get
- set to the correct default values. To make sure set the relevant registers
- manually here. */
- AT91C_BASE_UDP->UDP_IDR = ( unsigned long ) 0xffffffff;
- AT91C_BASE_UDP->UDP_ICR = ( unsigned long ) 0xffffffff;
- AT91C_BASE_UDP->UDP_CSR[ 0 ] = ( unsigned long ) 0x00;
- AT91C_BASE_UDP->UDP_CSR[ 1 ] = ( unsigned long ) 0x00;
- AT91C_BASE_UDP->UDP_GLBSTATE = 0;
- AT91C_BASE_UDP->UDP_FADDR = 0;
-
- /* Enable the transceiver. */
- AT91C_UDP_TRANSCEIVER_ENABLE = 0;
-
- /* Enable the USB interrupts - other interrupts get enabled as the
- enumeration process progresses. */
- AT91F_AIC_ConfigureIt( AT91C_ID_UDP, usbINTERRUPT_PRIORITY, AT91C_AIC_SRCTYPE_INT_HIGH_LEVEL, ( void (*)( void ) ) vUSB_ISR_Wrapper );
- AT91C_BASE_AIC->AIC_IECR = 0x1 << AT91C_ID_UDP;
-
- /* Wait a short while before making our presence known. */
- vTaskDelay( usbINIT_DELAY );
- AT91C_BASE_PIOA->PIO_CODR = AT91C_PIO_PA16;
-}
-/*-----------------------------------------------------------*/
-
-static void prvSendControlData( unsigned char *pucData, unsigned short usRequestedLength, unsigned long ulLengthToSend, long lSendingDescriptor )
-{
- if( ( ( unsigned long ) usRequestedLength < ulLengthToSend ) )
- {
- /* Cap the data length to that requested. */
- ulLengthToSend = ( unsigned short ) usRequestedLength;
- }
- else if( ( ulLengthToSend < ( unsigned long ) usRequestedLength ) && lSendingDescriptor )
- {
- /* We are sending a descriptor. If the descriptor is an exact
- multiple of the FIFO length then it will have to be terminated
- with a NULL packet. Set the state to indicate this if
- necessary. */
- if( ( ulLengthToSend % usbFIFO_LENGTH ) == 0 )
- {
- eDriverState = eSENDING_EVEN_DESCRIPTOR;
- }
- }
-
- /* Here we assume that the previous message has been sent. THERE IS NO
- BUFFER OVERFLOW PROTECTION HERE.
-
- Copy the data to send into the buffer as we cannot send it all at once
- (if it is greater than 8 bytes in length). */
- memcpy( pxCharsForTx.ucTxBuffer, pucData, ulLengthToSend );
-
- /* Reinitialise the buffer index so we start sending from the start of
- the data. */
- pxCharsForTx.ulTotalDataLength = ulLengthToSend;
- pxCharsForTx.ulNextCharIndex = ( unsigned long ) 0;
-
- /* Send the first 8 bytes now. The rest will get sent in response to
- TXCOMP interrupts. */
- prvSendNextSegment();
-}
-/*-----------------------------------------------------------*/
-
-static void prvSendNextSegment( void )
-{
-volatile unsigned long ulNextLength, ulStatus, ulLengthLeftToSend;
-
- /* Is there any data to send? */
- if( pxCharsForTx.ulTotalDataLength > pxCharsForTx.ulNextCharIndex )
- {
- ulLengthLeftToSend = pxCharsForTx.ulTotalDataLength - pxCharsForTx.ulNextCharIndex;
-
- /* We can only send 8 bytes to the fifo at a time. */
- if( ulLengthLeftToSend > usbFIFO_LENGTH )
- {
- ulNextLength = usbFIFO_LENGTH;
- }
- else
- {
- ulNextLength = ulLengthLeftToSend;
- }
-
- /* Wait until we can place data in the fifo. THERE IS NO TIMEOUT
- HERE! */
- while( AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ] & AT91C_UDP_TXPKTRDY )
- {
- vTaskDelay( usbSHORTEST_DELAY );
- }
-
- /* Write the data to the FIFO. */
- while( ulNextLength > ( unsigned long ) 0 )
- {
- AT91C_BASE_UDP->UDP_FDR[ usbEND_POINT_0 ] = pxCharsForTx.ucTxBuffer[ pxCharsForTx.ulNextCharIndex ];
-
- ulNextLength--;
- pxCharsForTx.ulNextCharIndex++;
- }
-
- /* Start the transmission. */
- portENTER_CRITICAL();
- {
- ulStatus = AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ];
- usbCSR_SET_BIT( &ulStatus, ( ( unsigned long ) 0x10 ) );
- AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ] = ulStatus;
- }
- portEXIT_CRITICAL();
- }
- else
- {
- /* There is no data to send. If we were sending a descriptor and the
- descriptor was an exact multiple of the max packet size then we need
- to send a null to terminate the transmission. */
- if( eDriverState == eSENDING_EVEN_DESCRIPTOR )
- {
- prvUSBTransmitNull();
- eDriverState = eNOTHING;
- }
- }
-}
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/USB/USBSample.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/USB/USBSample.h
deleted file mode 100644
index 9abb9a251..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/USB/USBSample.h
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-#ifndef USB_DEMO_H
-#define USB_DEMO_H
-
-
-/*-----------------------------------------------------------*/
-
-#define usbQUEUE_LENGTH ( 0x3 ) /* Must have all bits set! */
-#define usbEND_POINT_0 ( 0 )
-#define usbEND_POINT_1 ( 1 )
-#define usbRX_COUNT_MASK ( ( unsigned long ) 0x7ff )
-#define AT91C_UDP_STALLSENT AT91C_UDP_ISOERROR
-
-/* Structure used to take a snapshot of the USB status from within the ISR. */
-typedef struct X_ISR_STATUS
-{
- unsigned long ulISR;
- unsigned long ulCSR0;
- unsigned char ucFifoData[ 8 ];
-} xISRStatus;
-
-/* Macros to manipulate the control and status registers. These registers
-cannot be accessed using a direct read modify write operation outside of the
-ISR as some bits are left unchanged by writing with a 0, and some are left
-unchanged by writing with a 1. */
-
-#define usbCSR_SET_BIT( pulValueNow, ulBit ) \
-{ \
- /* Set TXCOMP, RX_DATA_BK0, RXSETUP, */ \
- /* STALLSENT and RX_DATA_BK1 to 1 so the */ \
- /* write has no effect. */ \
- ( * ( ( unsigned long * ) pulValueNow ) ) |= ( unsigned long ) 0x4f; \
- \
- /* Clear the FORCE_STALL and TXPKTRDY bits */ \
- /* so the write has no effect. */ \
- ( * ( ( unsigned long * ) pulValueNow ) ) &= ( unsigned long ) 0xffffffcf; \
- \
- /* Set whichever bit we want set. */ \
- ( * ( ( unsigned long * ) pulValueNow ) ) |= ( ulBit ); \
-}
-
-/*
- * Creates the queue used to communicate between the USB task and the USB ISR, then
- * createst the task that manages the USB peripheral.
- */
-void vStartUSBTask( unsigned portBASE_TYPE uxPriority );
-
-#endif
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/USB/USB_ISR.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/USB/USB_ISR.c
deleted file mode 100644
index 3de05014a..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/USB/USB_ISR.c
+++ /dev/null
@@ -1,213 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-/* Scheduler includes. */
-#include "FreeRTOS.h"
-#include "task.h"
-#include "queue.h"
-
-/* Demo app includes. */
-#include "USBSample.h"
-
-#define usbINT_CLEAR_MASK (AT91C_UDP_TXCOMP | AT91C_UDP_STALLSENT | AT91C_UDP_RXSETUP | AT91C_UDP_RX_DATA_BK0 | AT91C_UDP_RX_DATA_BK1 )
-
-#define usbCSR_CLEAR_BIT( pulValueNow, ulBit ) \
-{ \
- /* Set TXCOMP, RX_DATA_BK0, RXSETUP, */ \
- /* STALLSENT and RX_DATA_BK1 to 1 so the */ \
- /* write has no effect. */ \
- ( * ( ( unsigned long * ) pulValueNow ) ) |= ( unsigned long ) 0x4f; \
- \
- /* Clear the FORCE_STALL and TXPKTRDY bits */ \
- /* so the write has no effect. */ \
- ( * ( ( unsigned long * ) pulValueNow ) ) &= ( unsigned long ) 0xffffffcf; \
- \
- /* Clear whichever bit we want clear. */ \
- ( * ( ( unsigned long * ) pulValueNow ) ) &= ( ~ulBit ); \
-}
-
-
-/*-----------------------------------------------------------*/
-
-/*
- * ISR entry point.
- */
-
-void vUSB_ISR_Wrapper( void ) __attribute__((naked));
-
-/*
- * Actual ISR handler. This must be separate from the entry point as the stack
- * is used.
- */
-void vUSB_ISR_Handler( void ) __attribute__((noinline));
-
-/*-----------------------------------------------------------*/
-
-/* Array in which the USB interrupt status is passed between the ISR and task. */
-static xISRStatus xISRMessages[ usbQUEUE_LENGTH + 1 ];
-
-/* Queue used to pass messages between the ISR and the task. */
-extern QueueHandle_t xUSBInterruptQueue;
-
-/*-----------------------------------------------------------*/
-
-void vUSB_ISR_Handler( void )
-{
-portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
-static volatile unsigned long ulNextMessage = 0;
-xISRStatus *pxMessage;
-unsigned long ulTemp, ulRxBytes;
-
- /* To reduce the amount of time spent in this interrupt it would be
- possible to defer the majority of this processing to an 'interrupt task',
- that is a task that runs at a higher priority than any of the application
- tasks. */
-
- /* Take the next message from the queue. Note that usbQUEUE_LENGTH *must*
- be all 1's, as in 0x01, 0x03, 0x07, etc. */
- pxMessage = &( xISRMessages[ ( ulNextMessage & usbQUEUE_LENGTH ) ] );
- ulNextMessage++;
-
- /* Take a snapshot of the current USB state for processing at the task
- level. */
- pxMessage->ulISR = AT91C_BASE_UDP->UDP_ISR;
- pxMessage->ulCSR0 = AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ];
-
- /* Clear the interrupts from the ICR register. The bus end interrupt is
- cleared separately as it does not appear in the mask register. */
- AT91C_BASE_UDP->UDP_ICR = AT91C_BASE_UDP->UDP_IMR | AT91C_UDP_ENDBUSRES;
-
- /* If there are bytes in the FIFO then we have to retrieve them here.
- Ideally this would be done at the task level. However we need to clear the
- RXSETUP interrupt before leaving the ISR, and this may cause the data in
- the FIFO to be overwritten. Also the DIR bit has to be changed before the
- RXSETUP bit is cleared (as per the SAM7 manual). */
- ulTemp = pxMessage->ulCSR0;
-
- /* Are there any bytes in the FIFO? */
- ulRxBytes = ulTemp >> 16;
- ulRxBytes &= usbRX_COUNT_MASK;
-
- /* With this minimal implementation we are only interested in receiving
- setup bytes on the control end point. */
- if( ( ulRxBytes > 0 ) && ( ulTemp & AT91C_UDP_RXSETUP ) )
- {
- /* Take off 1 for a zero based index. */
- while( ulRxBytes > 0 )
- {
- ulRxBytes--;
- pxMessage->ucFifoData[ ulRxBytes ] = AT91C_BASE_UDP->UDP_FDR[ usbEND_POINT_0 ];
- }
-
- /* The direction must be changed first. */
- usbCSR_SET_BIT( &ulTemp, ( AT91C_UDP_DIR ) );
- AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ] = ulTemp;
- }
-
- /* Must write zero's to TXCOMP, STALLSENT, RXSETUP, and the RX DATA
- registers to clear the interrupts in the CSR register. */
- usbCSR_CLEAR_BIT( &ulTemp, usbINT_CLEAR_MASK );
- AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_0 ] = ulTemp;
-
- /* Also clear the interrupts in the CSR1 register. */
- ulTemp = AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_1 ];
- usbCSR_CLEAR_BIT( &ulTemp, usbINT_CLEAR_MASK );
- AT91C_BASE_UDP->UDP_CSR[ usbEND_POINT_1 ] = ulTemp;
-
- /* The message now contains the entire state and optional data from
- the USB interrupt. This can now be posted on the Rx queue ready for
- processing at the task level. */
- xQueueSendFromISR( xUSBInterruptQueue, &pxMessage, &xHigherPriorityTaskWoken );
-
- /* We may want to switch to the USB task, if this message has made
- it the highest priority task that is ready to execute. */
- if( xHigherPriorityTaskWoken )
- {
- portYIELD_FROM_ISR();
- }
-
- /* Clear the AIC ready for the next interrupt. */
- AT91C_BASE_AIC->AIC_EOICR = 0;
-}
-/*-----------------------------------------------------------*/
-
-void vUSB_ISR_Wrapper( void )
-{
- /* Save the context of the interrupted task. */
- portSAVE_CONTEXT();
-
- /* Call the handler itself. This must be a separate function as it uses
- the stack. */
- __asm volatile ("bl vUSB_ISR_Handler");
-
- /* Restore the context of the task that is going to
- execute next. This might not be the same as the originally
- interrupted task.*/
- portRESTORE_CONTEXT();
-}
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/atmel-rom.ld b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/atmel-rom.ld
deleted file mode 100644
index df33d2372..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/atmel-rom.ld
+++ /dev/null
@@ -1,55 +0,0 @@
-MEMORY
-{
- flash : ORIGIN = 0x00100000, LENGTH = 256K
- ram : ORIGIN = 0x00200000, LENGTH = 64K
-}
-
-__stack_end__ = 0x00200000 + 64K - 4;
-
-SECTIONS
-{
- . = 0;
- startup : { *(.startup)} >flash
-
- prog :
- {
- *(.text)
- *(.rodata)
- *(.rodata*)
- *(.glue_7)
- *(.glue_7t)
- } >flash
-
- __end_of_text__ = .;
- __data_beg_src__ = __end_of_text__;
-
- .data :
- {
- __data_beg__ = .;
- *(.data)
- __data_end__ = .;
- } >ram AT>flash
-
- .bss :
- {
- __bss_beg__ = .;
- *(.bss)
- } >ram
-
- . = ALIGN(4);
- .eh_frame :
- {
- KEEP (*(.eh_frame))
- } > ram
-
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
-}
- . = ALIGN(32 / 8);
- _end = .;
- _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
- PROVIDE (end = .);
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/boot.s b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/boot.s
deleted file mode 100644
index 1d4dfdf0e..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/boot.s
+++ /dev/null
@@ -1,162 +0,0 @@
- /* Sample initialization file */
-
- .extern main
- .extern exit
- .extern AT91F_LowLevelInit
- .extern vPortYieldProcessor
-
- .text
- .code 32
-
-
- .align 0
-
- .extern __stack_end__
- .extern __bss_beg__
- .extern __bss_end__
- .extern __data_beg__
- .extern __data_end__
- .extern __data+beg_src__
-
- .global start
- .global endless_loop
-
- /* Stack Sizes */
- .set UND_STACK_SIZE, 0x00000004
- .set ABT_STACK_SIZE, 0x00000004
- .set FIQ_STACK_SIZE, 0x00000004
- .set IRQ_STACK_SIZE, 0X00000400
- .set SVC_STACK_SIZE, 0x00000400
-
- /* Standard definitions of Mode bits and Interrupt (I & F) flags in PSRs */
- .set MODE_USR, 0x10 /* User Mode */
- .set MODE_FIQ, 0x11 /* FIQ Mode */
- .set MODE_IRQ, 0x12 /* IRQ Mode */
- .set MODE_SVC, 0x13 /* Supervisor Mode */
- .set MODE_ABT, 0x17 /* Abort Mode */
- .set MODE_UND, 0x1B /* Undefined Mode */
- .set MODE_SYS, 0x1F /* System Mode */
-
- .equ I_BIT, 0x80 /* when I bit is set, IRQ is disabled */
- .equ F_BIT, 0x40 /* when F bit is set, FIQ is disabled */
-
-
-start:
-_start:
-_mainCRTStartup:
-
- /* Setup a stack for each mode - note that this only sets up a usable stack
- for system/user, SWI and IRQ modes. Also each mode is setup with
- interrupts initially disabled. */
- ldr r0, .LC6
- msr CPSR_c, #MODE_UND|I_BIT|F_BIT /* Undefined Instruction Mode */
- mov sp, r0
- sub r0, r0, #UND_STACK_SIZE
- msr CPSR_c, #MODE_ABT|I_BIT|F_BIT /* Abort Mode */
- mov sp, r0
- sub r0, r0, #ABT_STACK_SIZE
- msr CPSR_c, #MODE_FIQ|I_BIT|F_BIT /* FIQ Mode */
- mov sp, r0
- sub r0, r0, #FIQ_STACK_SIZE
- msr CPSR_c, #MODE_IRQ|I_BIT|F_BIT /* IRQ Mode */
- mov sp, r0
- sub r0, r0, #IRQ_STACK_SIZE
- msr CPSR_c, #MODE_SVC|I_BIT|F_BIT /* Supervisor Mode */
- mov sp, r0
- sub r0, r0, #SVC_STACK_SIZE
- msr CPSR_c, #MODE_SYS|I_BIT|F_BIT /* System Mode */
- mov sp, r0
-
- /* We want to start in supervisor mode. Operation will switch to system
- mode when the first task starts. */
- msr CPSR_c, #MODE_SVC|I_BIT|F_BIT
-
- bl AT91F_LowLevelInit
-
- /* Clear BSS. */
-
- mov a2, #0 /* Fill value */
- mov fp, a2 /* Null frame pointer */
- mov r7, a2 /* Null frame pointer for Thumb */
-
- ldr r1, .LC1 /* Start of memory block */
- ldr r3, .LC2 /* End of memory block */
- subs r3, r3, r1 /* Length of block */
- beq .end_clear_loop
- mov r2, #0
-
-.clear_loop:
- strb r2, [r1], #1
- subs r3, r3, #1
- bgt .clear_loop
-
-.end_clear_loop:
-
- /* Initialise data. */
-
- ldr r1, .LC3 /* Start of memory block */
- ldr r2, .LC4 /* End of memory block */
- ldr r3, .LC5
- subs r3, r3, r1 /* Length of block */
- beq .end_set_loop
-
-.set_loop:
- ldrb r4, [r2], #1
- strb r4, [r1], #1
- subs r3, r3, #1
- bgt .set_loop
-
-.end_set_loop:
-
- mov r0, #0 /* no arguments */
- mov r1, #0 /* no argv either */
-
- ldr lr, =main
- bx lr
-
-endless_loop:
- b endless_loop
-
-
- .align 0
-
- .LC1:
- .word __bss_beg__
- .LC2:
- .word __bss_end__
- .LC3:
- .word __data_beg__
- .LC4:
- .word __data_beg_src__
- .LC5:
- .word __data_end__
- .LC6:
- .word __stack_end__
-
-
- /* Setup vector table. Note that undf, pabt, dabt, fiq just execute
- a null loop. */
-
-.section .startup,"ax"
- .code 32
- .align 0
-
- b _start /* reset - _start */
- ldr pc, _undf /* undefined - _undf */
- ldr pc, _swi /* SWI - _swi */
- ldr pc, _pabt /* program abort - _pabt */
- ldr pc, _dabt /* data abort - _dabt */
- nop /* reserved */
- ldr pc, [pc,#-0xF20] /* IRQ - read the AIC */
- ldr pc, _fiq /* FIQ - _fiq */
-
-_undf: .word __undf /* undefined */
-_swi: .word vPortYieldProcessor /* SWI */
-_pabt: .word __pabt /* program abort */
-_dabt: .word __dabt /* data abort */
-_fiq: .word __fiq /* FIQ */
-
-__undf: b . /* undefined */
-__pabt: b . /* program abort */
-__dabt: b . /* data abort */
-__fiq: b . /* FIQ */
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/main.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/main.c
deleted file mode 100644
index 2f647e41c..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/main.c
+++ /dev/null
@@ -1,269 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-/*
- NOTE : Tasks run in System mode and the scheduler runs in Supervisor mode.
- The processor MUST be in supervisor mode when vTaskStartScheduler is
- called. The demo applications included in the FreeRTOS.org download switch
- to supervisor mode prior to main being called. If you are not using one of
- these demo application projects then ensure Supervisor mode is used.
-*/
-
-/*
- * This demo includes a (basic) USB mouse driver and a WEB server. It is
- * targeted for the AT91SAM7X EK prototyping board which includes a small
- * joystick to provide the mouse inputs. The WEB interface provides some basic
- * interactivity through the use of a check box to turn on and off an LED.
- *
- * main() creates the WEB server, USB, and a set of the standard demo tasks
- * before starting the scheduler. See the online FreeRTOS.org documentation
- * for more information on the standard demo tasks.
- *
- * LEDs D1 to D3 are controlled by the standard 'flash' tasks - each will
- * toggle at a different fixed frequency.
- *
- * A tick hook function is used to monitor the standard demo tasks - with LED
- * D4 being used to indicate the system status. D4 toggling every 5 seconds
- * indicates that all the standard demo tasks are executing without error. The
- * toggle rate increasing to 500ms is indicative of an error having been found
- * in at least one demo task.
- *
- * See the online documentation page that accompanies this demo for full setup
- * and usage information.
- */
-
-/* Standard includes. */
-#include
-
-/* Scheduler includes. */
-#include "FreeRTOS.h"
-#include "task.h"
-
-/* Demo application includes. */
-#include "partest.h"
-#include "USBSample.h"
-#include "uIP_Task.h"
-#include "BlockQ.h"
-#include "blocktim.h"
-#include "flash.h"
-#include "QPeek.h"
-#include "dynamic.h"
-
-/* Priorities for the demo application tasks. */
-#define mainUIP_PRIORITY ( tskIDLE_PRIORITY + 2 )
-#define mainUSB_PRIORITY ( tskIDLE_PRIORITY + 2 )
-#define mainBLOCK_Q_PRIORITY ( tskIDLE_PRIORITY + 1 )
-#define mainFLASH_PRIORITY ( tskIDLE_PRIORITY + 2 )
-#define mainGEN_QUEUE_TASK_PRIORITY ( tskIDLE_PRIORITY )
-
-/* The task allocated to the uIP task is large to account for its use of the
-sprintf() library function. Use of a cut down printf() library would allow
-the stack usage to be greatly reduced. */
-#define mainUIP_TASK_STACK_SIZE ( configMINIMAL_STACK_SIZE * 6 )
-
-/* The LED toggle by the tick hook should an error have been found in a task. */
-#define mainERROR_LED ( 3 )
-
-/*-----------------------------------------------------------*/
-
-/*
- * Configure the processor for use with the Atmel demo board. Setup is minimal
- * as the low level init function (called from the startup asm file) takes care
- * of most things.
- */
-static void prvSetupHardware( void );
-
-/*-----------------------------------------------------------*/
-
-/*
- * Starts all the other tasks, then starts the scheduler.
- */
-int main( void )
-{
- /* Setup any hardware that has not already been configured by the low
- level init routines. */
- prvSetupHardware();
-
- /* Start the task that handles the TCP/IP and WEB server functionality. */
- xTaskCreate( vuIP_Task, "uIP", mainUIP_TASK_STACK_SIZE, NULL, mainUIP_PRIORITY, NULL );
-
- /* Also start the USB demo which is just for the SAM7. */
- vStartUSBTask( mainUSB_PRIORITY );
-
- /* Start the standard demo tasks. */
- vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );
- vCreateBlockTimeTasks();
- vStartLEDFlashTasks( mainFLASH_PRIORITY );
- vStartGenericQueueTasks( mainGEN_QUEUE_TASK_PRIORITY );
- vStartQueuePeekTasks();
- vStartDynamicPriorityTasks();
-
- /* Start the scheduler.
-
- NOTE : Tasks run in system mode and the scheduler runs in Supervisor mode.
- The processor MUST be in supervisor mode when vTaskStartScheduler is
- called. The demo applications included in the FreeRTOS.org download switch
- to supervisor mode prior to main being called. If you are not using one of
- these demo application projects then ensure Supervisor mode is used here. */
-
- vTaskStartScheduler();
-
- /* We should never get here as control is now taken by the scheduler. */
- return 0;
-}
-/*-----------------------------------------------------------*/
-
-static void prvSetupHardware( void )
-{
- portDISABLE_INTERRUPTS();
-
- /* When using the JTAG debugger the hardware is not always initialised to
- the correct default state. This line just ensures that this does not
- cause all interrupts to be masked at the start. */
- AT91C_BASE_AIC->AIC_EOICR = 0;
-
- /* Most setup is performed by the low level init function called from the
- startup asm file. */
-
- /* Enable the peripheral clock. */
- AT91C_BASE_PMC->PMC_PCER = 1 << AT91C_ID_PIOA;
- AT91C_BASE_PMC->PMC_PCER = 1 << AT91C_ID_PIOB;
- AT91C_BASE_PMC->PMC_PCER = 1 << AT91C_ID_EMAC;
-
- /* Initialise the LED outputs for use by the demo application tasks. */
- vParTestInitialise();
-}
-/*-----------------------------------------------------------*/
-
-void vApplicationTickHook( void )
-{
-static unsigned long ulCallCount = 0, ulErrorFound = pdFALSE;
-
-/* The rate at which LED D4 will toggle if an error has been found in one or
-more of the standard demo tasks. */
-const unsigned long ulErrorFlashRate = 500 / portTICK_PERIOD_MS;
-
-/* The rate at which LED D4 will toggle if no errors have been found in any
-of the standard demo tasks. */
-const unsigned long ulNoErrorCheckRate = 5000 / portTICK_PERIOD_MS;
-
- ulCallCount++;
-
- if( ulErrorFound != pdFALSE )
- {
- /* We have already found an error, so flash the LED with the appropriate
- frequency. */
- if( ulCallCount > ulErrorFlashRate )
- {
- ulCallCount = 0;
- vParTestToggleLED( mainERROR_LED );
- }
- }
- else
- {
- if( ulCallCount > ulNoErrorCheckRate )
- {
- ulCallCount = 0;
-
- /* We have not yet found an error. Check all the demo tasks to ensure
- this is still the case. */
-
- if( xAreBlockingQueuesStillRunning() != pdTRUE )
- {
- ulErrorFound |= 0x01;
- }
-
- if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )
- {
- ulErrorFound |= 0x02;
- }
-
- if( xAreDynamicPriorityTasksStillRunning() != pdTRUE )
- {
- ulErrorFound |= 0x04;
- }
-
- if( xAreGenericQueueTasksStillRunning() != pdTRUE )
- {
- ulErrorFound |= 0x08;
- }
-
- if( xAreQueuePeekTasksStillRunning() != pdTRUE )
- {
- ulErrorFound |= 0x10;
- }
-
- vParTestToggleLED( mainERROR_LED );
- }
- }
-}
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/syscalls.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/syscalls.c
deleted file mode 100644
index 5dff88128..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/syscalls.c
+++ /dev/null
@@ -1,162 +0,0 @@
-/****************************************************************************
-* Copyright (c) 2009 by Michael Fischer. All rights reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions
-* are met:
-*
-* 1. Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* 2. Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* 3. Neither the name of the author nor the names of its contributors may
-* be used to endorse or promote products derived from this software
-* without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
-* THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
-* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-* SUCH DAMAGE.
-*
-****************************************************************************
-* History:
-*
-* 28.03.09 mifi First Version, based on the original syscall.c from
-* newlib version 1.17.0
-****************************************************************************/
-
-#include
-#include
-#include
-#include
-#include
-
-/***************************************************************************/
-
-int _read_r (struct _reent *r, int file, char * ptr, int len)
-{
- r = r;
- file = file;
- ptr = ptr;
- len = len;
-
- errno = EINVAL;
- return -1;
-}
-
-/***************************************************************************/
-
-int _lseek_r (struct _reent *r, int file, int ptr, int dir)
-{
- r = r;
- file = file;
- ptr = ptr;
- dir = dir;
-
- return 0;
-}
-
-/***************************************************************************/
-
-int _write_r (struct _reent *r, int file, char * ptr, int len)
-{
- r = r;
- file = file;
- ptr = ptr;
-
-#if 0
- int index;
-
- /* For example, output string by UART */
- for(index=0; index stack_ptr)
- {
- /* Some of the libstdc++-v3 tests rely upon detecting
- out of memory errors, so do not abort here. */
-#if 0
- extern void abort (void);
-
- _write (1, "_sbrk: Heap and stack collision\n", 32);
-
- abort ();
-#else
- errno = ENOMEM;
- return (caddr_t) -1;
-#endif
- }
-
- heap_end += incr;
-
- return (caddr_t) prev_heap_end;
-}
-
-/***************************************************************************/
-
-int _fstat_r (struct _reent *r, int file, struct stat * st)
-{
- r = r;
- file = file;
-
- memset (st, 0, sizeof (* st));
- st->st_mode = S_IFCHR;
- return 0;
-}
-
-/***************************************************************************/
-
-int _isatty_r(struct _reent *r, int fd)
-{
- r = r;
- fd = fd;
-
- return 1;
-}
-
-/*** EOF ***/
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/EMAC_ISR.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/EMAC_ISR.c
deleted file mode 100644
index 5c5a282d6..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/EMAC_ISR.c
+++ /dev/null
@@ -1,134 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-#include "FreeRTOS.h"
-#include "semphr.h"
-#include "task.h"
-
-/* Wrapper for the EMAC interrupt. */
-void vEMACISR_Wrapper( void ) __attribute__((naked));
-
-/* Handler called by the ISR wrapper. This must be kept a separate
-function to ensure the stack frame is correctly set up. */
-void vEMACISR_Handler( void ) __attribute__((noinline));
-
-static SemaphoreHandle_t xEMACSemaphore;
-
-/*-----------------------------------------------------------*/
-
-void vPassEMACSemaphore( SemaphoreHandle_t xSemaphore )
-{
- xEMACSemaphore = xSemaphore;
-}
-/*-----------------------------------------------------------*/
-
-void vEMACISR_Handler( void )
-{
-volatile unsigned long ulIntStatus, ulRxStatus;
-portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
-
- ulIntStatus = AT91C_BASE_EMAC->EMAC_ISR;
- ulRxStatus = AT91C_BASE_EMAC->EMAC_RSR;
-
- if( ( ulIntStatus & AT91C_EMAC_RCOMP ) || ( ulRxStatus & AT91C_EMAC_REC ) )
- {
- /* A frame has been received, signal the uIP task so it can process
- the Rx descriptors. */
- xSemaphoreGiveFromISR( xEMACSemaphore, &xHigherPriorityTaskWoken );
- AT91C_BASE_EMAC->EMAC_RSR = AT91C_EMAC_REC;
- }
-
- /* Clear the interrupt. */
- AT91C_BASE_AIC->AIC_EOICR = 0;
-
- /* Switch to the uIP task. */
- if( xHigherPriorityTaskWoken )
- {
- /* If a task of higher priority than the interrupted task was
- unblocked by the ISR then this call will ensure that the
- unblocked task is the task the ISR returns to. */
- portYIELD_FROM_ISR();
- }
-}
-/*-----------------------------------------------------------*/
-
-void vEMACISR_Wrapper( void )
-{
- /* Save the context of the interrupted task. */
- portSAVE_CONTEXT();
-
- /* Call the handler task to do the actual work. This must be a separate
- function to ensure the stack frame is correctly set up. */
- __asm volatile ("bl vEMACISR_Handler");
-
- /* Restore the context of whichever task is the next to run. */
- portRESTORE_CONTEXT();
-}
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/Makefile.webserver b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/Makefile.webserver
deleted file mode 100644
index f38c47a72..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/Makefile.webserver
+++ /dev/null
@@ -1 +0,0 @@
-APP_SOURCES += httpd.c http-strings.c httpd-fs.c httpd-cgi.c
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/SAM7_EMAC.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/SAM7_EMAC.c
deleted file mode 100644
index 319bb8b88..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/SAM7_EMAC.c
+++ /dev/null
@@ -1,707 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-/* Standard includes. */
-#include
-
-/* Scheduler includes. */
-#include "FreeRTOS.h"
-#include "semphr.h"
-#include "task.h"
-
-/* Demo application includes. */
-#include "SAM7_EMAC.h"
-
-/* uIP includes. */
-#include "uip.h"
-
-/* Hardware specific includes. */
-#include "Emac.h"
-#include "mii.h"
-#include "AT91SAM7X256.h"
-
-
-/* USE_RMII_INTERFACE must be defined as 1 to use an RMII interface, or 0
-to use an MII interface. */
-#define USE_RMII_INTERFACE 0
-
-/* The buffer addresses written into the descriptors must be aligned so the
-last few bits are zero. These bits have special meaning for the EMAC
-peripheral and cannot be used as part of the address. */
-#define emacADDRESS_MASK ( ( unsigned long ) 0xFFFFFFFC )
-
-/* Bit used within the address stored in the descriptor to mark the last
-descriptor in the array. */
-#define emacRX_WRAP_BIT ( ( unsigned long ) 0x02 )
-
-/* Bit used within the Tx descriptor status to indicate whether the
-descriptor is under the control of the EMAC or the software. */
-#define emacTX_BUF_USED ( ( unsigned long ) 0x80000000 )
-
-/* A short delay is used to wait for a buffer to become available, should
-one not be immediately available when trying to transmit a frame. */
-#define emacBUFFER_WAIT_DELAY ( 2 )
-#define emacMAX_WAIT_CYCLES ( configTICK_RATE_HZ / 40 )
-
-/* Misc defines. */
-#define emacINTERRUPT_LEVEL ( 5 )
-#define emacNO_DELAY ( 0 )
-#define emacTOTAL_FRAME_HEADER_SIZE ( 54 )
-#define emacPHY_INIT_DELAY ( 5000 / portTICK_PERIOD_MS )
-#define emacRESET_KEY ( ( unsigned long ) 0xA5000000 )
-#define emacRESET_LENGTH ( ( unsigned long ) ( 0x01 << 8 ) )
-
-/* The Atmel header file only defines the TX frame length mask. */
-#define emacRX_LENGTH_FRAME ( 0xfff )
-
-/* Peripheral setup for the EMAC. */
-#define emacPERIPHERAL_A_SETUP ( ( unsigned long ) AT91C_PB2_ETX0 ) | \
- ( ( unsigned long ) AT91C_PB12_ETXER ) | \
- ( ( unsigned long ) AT91C_PB16_ECOL ) | \
- ( ( unsigned long ) AT91C_PB11_ETX3 ) | \
- ( ( unsigned long ) AT91C_PB6_ERX1 ) | \
- ( ( unsigned long ) AT91C_PB15_ERXDV ) | \
- ( ( unsigned long ) AT91C_PB13_ERX2 ) | \
- ( ( unsigned long ) AT91C_PB3_ETX1 ) | \
- ( ( unsigned long ) AT91C_PB8_EMDC ) | \
- ( ( unsigned long ) AT91C_PB5_ERX0 ) | \
- ( ( unsigned long ) AT91C_PB14_ERX3 ) | \
- ( ( unsigned long ) AT91C_PB4_ECRS_ECRSDV ) | \
- ( ( unsigned long ) AT91C_PB1_ETXEN ) | \
- ( ( unsigned long ) AT91C_PB10_ETX2 ) | \
- ( ( unsigned long ) AT91C_PB0_ETXCK_EREFCK ) | \
- ( ( unsigned long ) AT91C_PB9_EMDIO ) | \
- ( ( unsigned long ) AT91C_PB7_ERXER ) | \
- ( ( unsigned long ) AT91C_PB17_ERXCK );
-
-/*-----------------------------------------------------------*/
-
-/*
- * Prototype for the EMAC interrupt function - called by the asm wrapper.
- */
-extern void vEMACISR_Wrapper( void ) __attribute__((naked));
-
-/*
- * Initialise both the Tx and Rx descriptors used by the EMAC.
- */
-static void prvSetupDescriptors(void);
-
-/*
- * Write our MAC address into the EMAC. The MAC address is set as one of the
- * uip options.
- */
-static void prvSetupMACAddress( void );
-
-/*
- * Configure the EMAC and AIC for EMAC interrupts.
- */
-static void prvSetupEMACInterrupt( void );
-
-/*
- * Some initialisation functions taken from the Atmel EMAC sample code.
- */
-static void vReadPHY( unsigned char ucPHYAddress, unsigned char ucAddress, unsigned long *pulValue );
-#if USE_RMII_INTERFACE != 1
- static void vWritePHY( unsigned char ucPHYAddress, unsigned char ucAddress, unsigned long ulValue);
-#endif
-static portBASE_TYPE xGetLinkSpeed( void );
-static portBASE_TYPE prvProbePHY( void );
-
-/*-----------------------------------------------------------*/
-
-/* Buffer written to by the EMAC DMA. Must be aligned as described by the
-comment above the emacADDRESS_MASK definition. */
-#pragma data_alignment=8
-static volatile char pcRxBuffer[ NB_RX_BUFFERS * ETH_RX_BUFFER_SIZE ];
-
-/* Buffer read by the EMAC DMA. Must be aligned as described by he comment
-above the emacADDRESS_MASK definition. */
-#pragma data_alignment=8
-static char pcTxBuffer[ NB_TX_BUFFERS * ETH_TX_BUFFER_SIZE ];
-
-/* Descriptors used to communicate between the program and the EMAC peripheral.
-These descriptors hold the locations and state of the Rx and Tx buffers. */
-static volatile AT91S_TxTdDescriptor xTxDescriptors[ NB_TX_BUFFERS ];
-static volatile AT91S_RxTdDescriptor xRxDescriptors[ NB_RX_BUFFERS ];
-
-/* The IP and Ethernet addresses are read from the uIP setup. */
-const char cMACAddress[ 6 ] = { uipMAC_ADDR0, uipMAC_ADDR1, uipMAC_ADDR2, uipMAC_ADDR3, uipMAC_ADDR4, uipMAC_ADDR5 };
-const unsigned char ucIPAddress[ 4 ] = { uipIP_ADDR0, uipIP_ADDR1, uipIP_ADDR2, uipIP_ADDR3 };
-
-/* The semaphore used by the EMAC ISR to wake the EMAC task. */
-static SemaphoreHandle_t xSemaphore = NULL;
-
-/*-----------------------------------------------------------*/
-
-SemaphoreHandle_t xEMACInit( void )
-{
- /* Code supplied by Atmel -------------------------------*/
-
- /* Disable pull up on RXDV => PHY normal mode (not in test mode),
- PHY has internal pull down. */
- AT91C_BASE_PIOB->PIO_PPUDR = 1 << 15;
-
- #if USE_RMII_INTERFACE != 1
- /* PHY has internal pull down : set MII mode. */
- AT91C_BASE_PIOB->PIO_PPUDR = 1 << 16;
- #endif
-
- /* Clear PB18 <=> PHY powerdown. */
- AT91C_BASE_PIOB->PIO_PER = 1 << 18;
- AT91C_BASE_PIOB->PIO_OER = 1 << 18;
- AT91C_BASE_PIOB->PIO_CODR = 1 << 18;
-
- /* After PHY power up, hardware reset. */
- AT91C_BASE_RSTC->RSTC_RMR = emacRESET_KEY | emacRESET_LENGTH;
- AT91C_BASE_RSTC->RSTC_RCR = emacRESET_KEY | AT91C_RSTC_EXTRST;
-
- /* Wait for hardware reset end. */
- while( !( AT91C_BASE_RSTC->RSTC_RSR & AT91C_RSTC_NRSTL ) )
- {
- __asm volatile ( "NOP" );
- }
- __asm volatile ( "NOP" );
-
- /* Setup the pins. */
- AT91C_BASE_PIOB->PIO_ASR = emacPERIPHERAL_A_SETUP;
- AT91C_BASE_PIOB->PIO_PDR = emacPERIPHERAL_A_SETUP;
-
- /* Enable com between EMAC PHY.
-
- Enable management port. */
- AT91C_BASE_EMAC->EMAC_NCR |= AT91C_EMAC_MPE;
-
- /* MDC = MCK/32. */
- AT91C_BASE_EMAC->EMAC_NCFGR |= ( 2 ) << 10;
-
- /* Wait for PHY auto init end (rather crude delay!). */
- vTaskDelay( emacPHY_INIT_DELAY );
-
- /* PHY configuration. */
- #if USE_RMII_INTERFACE != 1
- {
- unsigned long ulControl;
-
- /* PHY has internal pull down : disable MII isolate. */
- vReadPHY( AT91C_PHY_ADDR, MII_BMCR, &ulControl );
- vReadPHY( AT91C_PHY_ADDR, MII_BMCR, &ulControl );
- ulControl &= ~BMCR_ISOLATE;
- vWritePHY( AT91C_PHY_ADDR, MII_BMCR, ulControl );
- }
- #endif
-
- /* Disable management port again. */
- AT91C_BASE_EMAC->EMAC_NCR &= ~AT91C_EMAC_MPE;
-
- #if USE_RMII_INTERFACE != 1
- /* Enable EMAC in MII mode, enable clock ERXCK and ETXCK. */
- AT91C_BASE_EMAC->EMAC_USRIO = AT91C_EMAC_CLKEN ;
- #else
- /* Enable EMAC in RMII mode, enable RMII clock (50MHz from oscillator
- on ERFCK). */
- AT91C_BASE_EMAC->EMAC_USRIO = AT91C_EMAC_RMII | AT91C_EMAC_CLKEN ;
- #endif
-
- /* End of code supplied by Atmel ------------------------*/
-
- /* Setup the buffers and descriptors. */
- prvSetupDescriptors();
-
- /* Load our MAC address into the EMAC. */
- prvSetupMACAddress();
-
- /* Are we connected? */
- if( prvProbePHY() )
- {
- /* Enable the interrupt! */
- portENTER_CRITICAL();
- {
- prvSetupEMACInterrupt();
- vPassEMACSemaphore( xSemaphore );
- }
- portEXIT_CRITICAL();
- }
-
- return xSemaphore;
-}
-/*-----------------------------------------------------------*/
-
-long lEMACSend( void )
-{
-static unsigned portBASE_TYPE uxTxBufferIndex = 0;
-portBASE_TYPE xWaitCycles = 0;
-long lReturn = pdPASS;
-char *pcBuffer;
-
- /* Is a buffer available? */
- while( !( xTxDescriptors[ uxTxBufferIndex ].U_Status.status & AT91C_TRANSMIT_OK ) )
- {
- /* There is no room to write the Tx data to the Tx buffer. Wait a
- short while, then try again. */
- xWaitCycles++;
- if( xWaitCycles > emacMAX_WAIT_CYCLES )
- {
- /* Give up. */
- lReturn = pdFAIL;
- break;
- }
- else
- {
- vTaskDelay( emacBUFFER_WAIT_DELAY );
- }
- }
-
- /* lReturn will only be pdPASS if a buffer is available. */
- if( lReturn == pdPASS )
- {
- /* Copy the headers into the Tx buffer. These will be in the uIP buffer. */
- pcBuffer = ( char * ) xTxDescriptors[ uxTxBufferIndex ].addr;
- memcpy( ( void * ) pcBuffer, ( void * ) uip_buf, emacTOTAL_FRAME_HEADER_SIZE );
-
- /* If there is room, also copy in the application data if any. */
- if( ( uip_len > emacTOTAL_FRAME_HEADER_SIZE ) && ( uip_len <= ( ETH_TX_BUFFER_SIZE - emacTOTAL_FRAME_HEADER_SIZE ) ) )
- {
- memcpy( ( void * ) &( pcBuffer[ emacTOTAL_FRAME_HEADER_SIZE ] ), ( void * ) uip_appdata, ( uip_len - emacTOTAL_FRAME_HEADER_SIZE ) );
- }
-
- /* Send. */
- portENTER_CRITICAL();
- {
- if( uxTxBufferIndex >= ( NB_TX_BUFFERS - 1 ) )
- {
- /* Fill out the necessary in the descriptor to get the data sent. */
- xTxDescriptors[ uxTxBufferIndex ].U_Status.status = ( uip_len & ( unsigned long ) AT91C_LENGTH_FRAME )
- | AT91C_LAST_BUFFER
- | AT91C_TRANSMIT_WRAP;
- uxTxBufferIndex = 0;
- }
- else
- {
- /* Fill out the necessary in the descriptor to get the data sent. */
- xTxDescriptors[ uxTxBufferIndex ].U_Status.status = ( uip_len & ( unsigned long ) AT91C_LENGTH_FRAME )
- | AT91C_LAST_BUFFER;
- uxTxBufferIndex++;
- }
-
- AT91C_BASE_EMAC->EMAC_NCR |= AT91C_EMAC_TSTART;
- }
- portEXIT_CRITICAL();
- }
-
- return lReturn;
-}
-/*-----------------------------------------------------------*/
-
-unsigned long ulEMACPoll( void )
-{
-static unsigned portBASE_TYPE ulNextRxBuffer = 0;
-unsigned long ulSectionLength = 0, ulLengthSoFar = 0, ulEOF = pdFALSE;
-char *pcSource;
-
- /* Skip any fragments. */
- while( ( xRxDescriptors[ ulNextRxBuffer ].addr & AT91C_OWNERSHIP_BIT ) && !( xRxDescriptors[ ulNextRxBuffer ].U_Status.status & AT91C_SOF ) )
- {
- /* Mark the buffer as free again. */
- xRxDescriptors[ ulNextRxBuffer ].addr &= ~( AT91C_OWNERSHIP_BIT );
- ulNextRxBuffer++;
- if( ulNextRxBuffer >= NB_RX_BUFFERS )
- {
- ulNextRxBuffer = 0;
- }
- }
-
- /* Is there a packet ready? */
-
- while( ( xRxDescriptors[ ulNextRxBuffer ].addr & AT91C_OWNERSHIP_BIT ) && !ulSectionLength )
- {
- pcSource = ( char * )( xRxDescriptors[ ulNextRxBuffer ].addr & emacADDRESS_MASK );
- ulSectionLength = xRxDescriptors[ ulNextRxBuffer ].U_Status.status & emacRX_LENGTH_FRAME;
-
- if( ulSectionLength == 0 )
- {
- /* The frame is longer than the buffer pointed to by this
- descriptor so copy the entire buffer to uIP - then move onto
- the next descriptor to get the rest of the frame. */
- if( ( ulLengthSoFar + ETH_RX_BUFFER_SIZE ) <= UIP_BUFSIZE )
- {
- memcpy( &( uip_buf[ ulLengthSoFar ] ), pcSource, ETH_RX_BUFFER_SIZE );
- ulLengthSoFar += ETH_RX_BUFFER_SIZE;
- }
- }
- else
- {
- /* This is the last section of the frame. Copy the section to
- uIP. */
- if( ulSectionLength < UIP_BUFSIZE )
- {
- /* The section length holds the length of the entire frame.
- ulLengthSoFar holds the length of the frame sections already
- copied to uIP, so the length of the final section is
- ulSectionLength - ulLengthSoFar; */
- if( ulSectionLength > ulLengthSoFar )
- {
- memcpy( &( uip_buf[ ulLengthSoFar ] ), pcSource, ( ulSectionLength - ulLengthSoFar ) );
- }
- }
-
- /* Is this the last buffer for the frame? If not why? */
- ulEOF = xRxDescriptors[ ulNextRxBuffer ].U_Status.status & AT91C_EOF;
- }
-
- /* Mark the buffer as free again. */
- xRxDescriptors[ ulNextRxBuffer ].addr &= ~( AT91C_OWNERSHIP_BIT );
-
- /* Increment to the next buffer, wrapping if necessary. */
- ulNextRxBuffer++;
- if( ulNextRxBuffer >= NB_RX_BUFFERS )
- {
- ulNextRxBuffer = 0;
- }
- }
-
- /* If we obtained data but for some reason did not find the end of the
- frame then discard the data as it must contain an error. */
- if( !ulEOF )
- {
- ulSectionLength = 0;
- }
-
- return ulSectionLength;
-}
-/*-----------------------------------------------------------*/
-
-static void prvSetupDescriptors(void)
-{
-unsigned portBASE_TYPE xIndex;
-unsigned long ulAddress;
-
- /* Initialise xRxDescriptors descriptor. */
- for( xIndex = 0; xIndex < NB_RX_BUFFERS; ++xIndex )
- {
- /* Calculate the address of the nth buffer within the array. */
- ulAddress = ( unsigned long )( pcRxBuffer + ( xIndex * ETH_RX_BUFFER_SIZE ) );
-
- /* Write the buffer address into the descriptor. The DMA will place
- the data at this address when this descriptor is being used. Mask off
- the bottom bits of the address as these have special meaning. */
- xRxDescriptors[ xIndex ].addr = ulAddress & emacADDRESS_MASK;
- }
-
- /* The last buffer has the wrap bit set so the EMAC knows to wrap back
- to the first buffer. */
- xRxDescriptors[ NB_RX_BUFFERS - 1 ].addr |= emacRX_WRAP_BIT;
-
- /* Initialise xTxDescriptors. */
- for( xIndex = 0; xIndex < NB_TX_BUFFERS; ++xIndex )
- {
- /* Calculate the address of the nth buffer within the array. */
- ulAddress = ( unsigned long )( pcTxBuffer + ( xIndex * ETH_TX_BUFFER_SIZE ) );
-
- /* Write the buffer address into the descriptor. The DMA will read
- data from here when the descriptor is being used. */
- xTxDescriptors[ xIndex ].addr = ulAddress & emacADDRESS_MASK;
- xTxDescriptors[ xIndex ].U_Status.status = AT91C_TRANSMIT_OK;
- }
-
- /* The last buffer has the wrap bit set so the EMAC knows to wrap back
- to the first buffer. */
- xTxDescriptors[ NB_TX_BUFFERS - 1 ].U_Status.status = AT91C_TRANSMIT_WRAP | AT91C_TRANSMIT_OK;
-
- /* Tell the EMAC where to find the descriptors. */
- AT91C_BASE_EMAC->EMAC_RBQP = ( unsigned long ) xRxDescriptors;
- AT91C_BASE_EMAC->EMAC_TBQP = ( unsigned long ) xTxDescriptors;
-
- /* Clear all the bits in the receive status register. */
- AT91C_BASE_EMAC->EMAC_RSR = ( AT91C_EMAC_OVR | AT91C_EMAC_REC | AT91C_EMAC_BNA );
-
- /* Enable the copy of data into the buffers, ignore broadcasts,
- and don't copy FCS. */
- AT91C_BASE_EMAC->EMAC_NCFGR |= ( AT91C_EMAC_CAF | AT91C_EMAC_NBC | AT91C_EMAC_DRFCS);
-
- /* Enable Rx and Tx, plus the stats register. */
- AT91C_BASE_EMAC->EMAC_NCR |= ( AT91C_EMAC_TE | AT91C_EMAC_RE | AT91C_EMAC_WESTAT );
-}
-/*-----------------------------------------------------------*/
-
-static void prvSetupMACAddress( void )
-{
- /* Must be written SA1L then SA1H. */
- AT91C_BASE_EMAC->EMAC_SA1L = ( ( unsigned long ) cMACAddress[ 3 ] << 24 ) |
- ( ( unsigned long ) cMACAddress[ 2 ] << 16 ) |
- ( ( unsigned long ) cMACAddress[ 1 ] << 8 ) |
- cMACAddress[ 0 ];
-
- AT91C_BASE_EMAC->EMAC_SA1H = ( ( unsigned long ) cMACAddress[ 5 ] << 8 ) |
- cMACAddress[ 4 ];
-}
-/*-----------------------------------------------------------*/
-
-static void prvSetupEMACInterrupt( void )
-{
- /* Create the semaphore used to trigger the EMAC task. */
- vSemaphoreCreateBinary( xSemaphore );
- if( xSemaphore )
- {
- /* We start by 'taking' the semaphore so the ISR can 'give' it when the
- first interrupt occurs. */
- xSemaphoreTake( xSemaphore, emacNO_DELAY );
- portENTER_CRITICAL();
- {
- /* We want to interrupt on Rx events. */
- AT91C_BASE_EMAC->EMAC_IER = AT91C_EMAC_RCOMP;
-
- /* Enable the interrupts in the AIC. */
- AT91F_AIC_ConfigureIt( AT91C_ID_EMAC, emacINTERRUPT_LEVEL, AT91C_AIC_SRCTYPE_INT_HIGH_LEVEL, ( void (*)( void ) ) vEMACISR_Wrapper );
- AT91C_BASE_AIC->AIC_IECR = 0x1 << AT91C_ID_EMAC;
- }
- portEXIT_CRITICAL();
- }
-}
-/*-----------------------------------------------------------*/
-
-
-
-
-/*
- * The following functions are initialisation functions taken from the Atmel
- * EMAC sample code.
- */
-
-static portBASE_TYPE prvProbePHY( void )
-{
-unsigned long ulPHYId1, ulPHYId2, ulStatus;
-portBASE_TYPE xReturn = pdPASS;
-
- /* Code supplied by Atmel (reformatted) -----------------*/
-
- /* Enable management port */
- AT91C_BASE_EMAC->EMAC_NCR |= AT91C_EMAC_MPE;
- AT91C_BASE_EMAC->EMAC_NCFGR |= ( 2 ) << 10;
-
- /* Read the PHY ID. */
- vReadPHY( AT91C_PHY_ADDR, MII_PHYSID1, &ulPHYId1 );
- vReadPHY( AT91C_PHY_ADDR, MII_PHYSID2, &ulPHYId2 );
-
- /* AMD AM79C875:
- PHY_ID1 = 0x0022
- PHY_ID2 = 0x5541
- Bits 3:0 Revision Number Four bit manufacturer’s revision number.
- 0001 stands for Rev. A, etc.
- */
- if( ( ( ulPHYId1 << 16 ) | ( ulPHYId2 & 0xfff0 ) ) != MII_DM9161_ID )
- {
- /* Did not expect this ID. */
- xReturn = pdFAIL;
- }
- else
- {
- ulStatus = xGetLinkSpeed();
-
- if( ulStatus != pdPASS )
- {
- xReturn = pdFAIL;
- }
- }
-
- /* Disable management port */
- AT91C_BASE_EMAC->EMAC_NCR &= ~AT91C_EMAC_MPE;
-
- /* End of code supplied by Atmel ------------------------*/
-
- return xReturn;
-}
-/*-----------------------------------------------------------*/
-
-static void vReadPHY( unsigned char ucPHYAddress, unsigned char ucAddress, unsigned long *pulValue )
-{
- /* Code supplied by Atmel (reformatted) ----------------------*/
-
- AT91C_BASE_EMAC->EMAC_MAN = (AT91C_EMAC_SOF & (0x01<<30))
- | (2 << 16) | (2 << 28)
- | ((ucPHYAddress & 0x1f) << 23)
- | (ucAddress << 18);
-
- /* Wait until IDLE bit in Network Status register is cleared. */
- while( !( AT91C_BASE_EMAC->EMAC_NSR & AT91C_EMAC_IDLE ) )
- {
- __asm( "NOP" );
- }
-
- *pulValue = ( AT91C_BASE_EMAC->EMAC_MAN & 0x0000ffff );
-
- /* End of code supplied by Atmel ------------------------*/
-}
-/*-----------------------------------------------------------*/
-
-#if USE_RMII_INTERFACE != 1
-static void vWritePHY( unsigned char ucPHYAddress, unsigned char ucAddress, unsigned long ulValue )
-{
- /* Code supplied by Atmel (reformatted) ----------------------*/
-
- AT91C_BASE_EMAC->EMAC_MAN = (( AT91C_EMAC_SOF & (0x01<<30))
- | (2 << 16) | (1 << 28)
- | ((ucPHYAddress & 0x1f) << 23)
- | (ucAddress << 18))
- | (ulValue & 0xffff);
-
- /* Wait until IDLE bit in Network Status register is cleared */
- while( !( AT91C_BASE_EMAC->EMAC_NSR & AT91C_EMAC_IDLE ) )
- {
- __asm( "NOP" );
- };
-
- /* End of code supplied by Atmel ------------------------*/
-}
-#endif
-/*-----------------------------------------------------------*/
-
-static portBASE_TYPE xGetLinkSpeed( void )
-{
- unsigned long ulBMSR, ulBMCR, ulLPA, ulMACCfg, ulSpeed, ulDuplex;
-
- /* Code supplied by Atmel (reformatted) -----------------*/
-
- /* Link status is latched, so read twice to get current value */
- vReadPHY(AT91C_PHY_ADDR, MII_BMSR, &ulBMSR);
- vReadPHY(AT91C_PHY_ADDR, MII_BMSR, &ulBMSR);
-
- if( !( ulBMSR & BMSR_LSTATUS ) )
- {
- /* No Link. */
- return pdFAIL;
- }
-
- vReadPHY(AT91C_PHY_ADDR, MII_BMCR, &ulBMCR);
- if (ulBMCR & BMCR_ANENABLE)
- {
- /* AutoNegotiation is enabled. */
- if (!(ulBMSR & BMSR_ANEGCOMPLETE))
- {
- /* Auto-negotiation in progress. */
- return pdFAIL;
- }
-
- vReadPHY(AT91C_PHY_ADDR, MII_LPA, &ulLPA);
- if( ( ulLPA & LPA_100FULL ) || ( ulLPA & LPA_100HALF ) )
- {
- ulSpeed = SPEED_100;
- }
- else
- {
- ulSpeed = SPEED_10;
- }
-
- if( ( ulLPA & LPA_100FULL ) || ( ulLPA & LPA_10FULL ) )
- {
- ulDuplex = DUPLEX_FULL;
- }
- else
- {
- ulDuplex = DUPLEX_HALF;
- }
- }
- else
- {
- ulSpeed = ( ulBMCR & BMCR_SPEED100 ) ? SPEED_100 : SPEED_10;
- ulDuplex = ( ulBMCR & BMCR_FULLDPLX ) ? DUPLEX_FULL : DUPLEX_HALF;
- }
-
- /* Update the MAC */
- ulMACCfg = AT91C_BASE_EMAC->EMAC_NCFGR & ~( AT91C_EMAC_SPD | AT91C_EMAC_FD );
- if( ulSpeed == SPEED_100 )
- {
- if( ulDuplex == DUPLEX_FULL )
- {
- /* 100 Full Duplex */
- AT91C_BASE_EMAC->EMAC_NCFGR = ulMACCfg | AT91C_EMAC_SPD | AT91C_EMAC_FD;
- }
- else
- {
- /* 100 Half Duplex */
- AT91C_BASE_EMAC->EMAC_NCFGR = ulMACCfg | AT91C_EMAC_SPD;
- }
- }
- else
- {
- if (ulDuplex == DUPLEX_FULL)
- {
- /* 10 Full Duplex */
- AT91C_BASE_EMAC->EMAC_NCFGR = ulMACCfg | AT91C_EMAC_FD;
- }
- else
- {
- /* 10 Half Duplex */
- AT91C_BASE_EMAC->EMAC_NCFGR = ulMACCfg;
- }
- }
-
- /* End of code supplied by Atmel ------------------------*/
-
- return pdPASS;
-}
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/SAM7_EMAC.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/SAM7_EMAC.h
deleted file mode 100644
index 9df66495d..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/SAM7_EMAC.h
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-#ifndef SAM_7_EMAC_H
-#define SAM_7_EMAC_H
-
-
-/*
- * Initialise the EMAC driver. If successful a semaphore is returned that
- * is used by the EMAC ISR to indicate that Rx packets have been received.
- * If the initialisation fails then NULL is returned.
- */
-SemaphoreHandle_t xEMACInit( void );
-
-/*
- * Send the current uIP buffer. This copies the uIP buffer to one of the
- * EMAC Tx buffers, then indicates to the EMAC that the buffer is ready.
- */
-long lEMACSend( void );
-
-/*
- * Called in response to an EMAC Rx interrupt. Copies the received frame
- * into the uIP buffer.
- */
-unsigned long ulEMACPoll( void );
-
-#endif
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/clock-arch.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/clock-arch.h
deleted file mode 100644
index cde657b62..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/clock-arch.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2006, Swedish Institute of Computer Science.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the Institute nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * This file is part of the uIP TCP/IP stack
- *
- * $Id: clock-arch.h,v 1.2 2006/06/12 08:00:31 adam Exp $
- */
-
-#ifndef __CLOCK_ARCH_H__
-#define __CLOCK_ARCH_H__
-
-#include "FreeRTOS.h"
-
-typedef unsigned long clock_time_t;
-#define CLOCK_CONF_SECOND configTICK_RATE_HZ
-
-#endif /* __CLOCK_ARCH_H__ */
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/emac_atmel.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/emac_atmel.h
deleted file mode 100644
index 7551a3648..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/emac_atmel.h
+++ /dev/null
@@ -1,195 +0,0 @@
-//*----------------------------------------------------------------------------
-//* ATMEL Microcontroller Software Support - ROUSSET -
-//*----------------------------------------------------------------------------
-//* The software is delivered "AS IS" without warranty or condition of any
-//* kind, either express, implied or statutory. This includes without
-//* limitation any warranty or condition with respect to merchantability or
-//* fitness for any particular purpose, or against the infringements of
-//* intellectual property rights of others.
-//*----------------------------------------------------------------------------
-//* File Name : Emac.h
-//* Object : Emac header file
-//* Creation : Hi 11/18/2002
-//*
-//*----------------------------------------------------------------------------
-#ifndef AT91C_EMAC_H
-#define AT91C_EMAC_H
-
-
-//* Allows to display all IP header in the main.c
-//* If not defined, only ICMP packets are displayed
-#define AT91C_DISPLAY_ALL_IPHEADER 0
-
-#define NB_RX_BUFFERS 25 //* Number of receive buffers
-#define ETH_RX_BUFFER_SIZE 128 //*
-
-#define NB_TX_BUFFERS 2 //* Number of Transmit buffers
-#define ETH_TX_BUFFER_SIZE UIP_BUFSIZE //*
-
-#define AT91C_NO_IPPACKET 0
-#define AT91C_IPPACKET 1
-
-#define ARP_REQUEST 0x0001
-#define ARP_REPLY 0x0002
-#define PROT_ARP 0x0806
-#define PROT_IP 0x0800
-#define PROT_ICMP 0x01
-#define ICMP_ECHO_REQUEST 0x08
-#define ICMP_ECHO_REPLY 0x00
-
-#define AT91C_EMAC_CLKEN 0x2
-#define SWAP16(x) (((x & 0xff) << 8) | (x >> 8))
-
-#if 0
-//* Transfer descriptor structure
-typedef struct _AT91S_TdDescriptor {
- unsigned int addr;
- unsigned int status;
-}AT91S_TdDescriptor, *AT91PS_TdDescriptor;
-#endif
-
-//* Receive Transfer descriptor structure
-typedef struct _AT91S_RxTdDescriptor {
- unsigned int addr;
- union
- {
- unsigned int status;
- struct {
- unsigned int Length:11;
- unsigned int Res0:1;
- unsigned int Rxbuf_off:2;
- unsigned int StartOfFrame:1;
- unsigned int EndOfFrame:1;
- unsigned int Cfi:1;
- unsigned int VlanPriority:3;
- unsigned int PriorityTag:1;
- unsigned int VlanTag:1;
- unsigned int TypeID:1;
- unsigned int Sa4Match:1;
- unsigned int Sa3Match:1;
- unsigned int Sa2Match:1;
- unsigned int Sa1Match:1;
- unsigned int Res1:1;
- unsigned int ExternalAdd:1;
- unsigned int UniCast:1;
- unsigned int MultiCast:1;
- unsigned int BroadCast:1;
- }S_Status;
- }U_Status;
-}AT91S_RxTdDescriptor, *AT91PS_RxTdDescriptor;
-
-
-//* Transmit Transfer descriptor structure
-typedef struct _AT91S_TxTdDescriptor {
- unsigned int addr;
- union
- {
- unsigned int status;
- struct {
- unsigned int Length:11;
- unsigned int Res0:4;
- unsigned int LastBuff:1;
- unsigned int NoCrc:1;
- unsigned int Res1:10;
- unsigned int BufExhausted:1;
- unsigned int TransmitUnderrun:1;
- unsigned int TransmitError:1;
- unsigned int Wrap:1;
- unsigned int BuffUsed:1;
- }S_Status;
- }U_Status;
-}AT91S_TxTdDescriptor, *AT91PS_TxTdDescriptor;
-
-#define AT91C_OWNERSHIP_BIT 0x00000001
-
-/* Receive status defintion */
-#define AT91C_BROADCAST_ADDR ((unsigned int) (1 << 31)) //* Broadcat address detected
-#define AT91C_MULTICAST_HASH ((unsigned int) (1 << 30)) //* MultiCast hash match
-#define AT91C_UNICAST_HASH ((unsigned int) (1 << 29)) //* UniCast hash match
-#define AT91C_EXTERNAL_ADDR ((unsigned int) (1 << 28)) //* External Address match
-#define AT91C_SA1_ADDR ((unsigned int) (1 << 26)) //* Specific address 1 match
-#define AT91C_SA2_ADDR ((unsigned int) (1 << 25)) //* Specific address 2 match
-#define AT91C_SA3_ADDR ((unsigned int) (1 << 24)) //* Specific address 3 match
-#define AT91C_SA4_ADDR ((unsigned int) (1 << 23)) //* Specific address 4 match
-#define AT91C_TYPE_ID ((unsigned int) (1 << 22)) //* Type ID match
-#define AT91C_VLAN_TAG ((unsigned int) (1 << 21)) //* VLAN tag detected
-#define AT91C_PRIORITY_TAG ((unsigned int) (1 << 20)) //* PRIORITY tag detected
-#define AT91C_VLAN_PRIORITY ((unsigned int) (7 << 17)) //* PRIORITY Mask
-#define AT91C_CFI_IND ((unsigned int) (1 << 16)) //* CFI indicator
-#define AT91C_EOF ((unsigned int) (1 << 15)) //* EOF
-#define AT91C_SOF ((unsigned int) (1 << 14)) //* SOF
-#define AT91C_RBF_OFFSET ((unsigned int) (3 << 12)) //* Receive Buffer Offset Mask
-#define AT91C_LENGTH_FRAME ((unsigned int) 0x07FF) //* Length of frame
-
-/* Transmit Status definition */
-#define AT91C_TRANSMIT_OK ((unsigned int) (1 << 31)) //*
-#define AT91C_TRANSMIT_WRAP ((unsigned int) (1 << 30)) //* Wrap bit: mark the last descriptor
-#define AT91C_TRANSMIT_ERR ((unsigned int) (1 << 29)) //* RLE:transmit error
-#define AT91C_TRANSMIT_UND ((unsigned int) (1 << 28)) //* Transmit Underrun
-#define AT91C_BUF_EX ((unsigned int) (1 << 27)) //* Buffers exhausted in mid frame
-#define AT91C_TRANSMIT_NO_CRC ((unsigned int) (1 << 16)) //* No CRC will be appended to the current frame
-#define AT91C_LAST_BUFFER ((unsigned int) (1 << 15)) //*
-
-#define ARP_ETHER 1 /* Ethernet hardware address */
-#define ARPOP_REQUEST 1 /* Request to resolve address */
-#define ARPOP_REPLY 2 /* Response to previous request */
-#define RARPOP_REQUEST 3 /* Request to resolve address */
-#define RARPOP_REPLY 4 /* Response to previous request */
-
-
-typedef struct _AT91S_EthHdr
-{
- unsigned char et_dest[6]; /* Destination node */
- unsigned char et_src[6]; /* Source node */
- unsigned short et_protlen; /* Protocol or length */
-} AT91S_EthHdr, *AT91PS_EthHdr;
-
-typedef struct _AT91S_ArpHdr
-{
- unsigned short ar_hrd; /* Format of hardware address */
- unsigned short ar_pro; /* Format of protocol address */
- unsigned char ar_hln; /* Length of hardware address */
- unsigned char ar_pln; /* Length of protocol address */
- unsigned short ar_op; /* Operation */
- unsigned char ar_sha[6]; /* Sender hardware address */
- unsigned char ar_spa[4]; /* Sender protocol address */
- unsigned char ar_tha[6]; /* Target hardware address */
- unsigned char ar_tpa[4]; /* Target protocol address */
-} AT91S_ArpHdr, *AT91PS_ArpHdr;
-
-//* IP Header structure
-typedef struct _AT91S_IPheader {
- unsigned char ip_hl_v; /* header length and version */
- unsigned char ip_tos; /* type of service */
- unsigned short ip_len; /* total length */
- unsigned short ip_id; /* identification */
- unsigned short ip_off; /* fragment offset field */
- unsigned char ip_ttl; /* time to live */
- unsigned char ip_p; /* protocol */
- unsigned short ip_sum; /* checksum */
- unsigned char ip_src[4]; /* Source IP address */
- unsigned char ip_dst[4]; /* Destination IP address */
- unsigned short udp_src; /* UDP source port */
- unsigned short udp_dst; /* UDP destination port */
- unsigned short udp_len; /* Length of UDP packet */
- unsigned short udp_xsum; /* Checksum */
-} AT91S_IPheader, *AT91PS_IPheader;
-
-//* ICMP echo header structure
-typedef struct _AT91S_IcmpEchoHdr {
- unsigned char type; /* type of message */
- unsigned char code; /* type subcode */
- unsigned short cksum; /* ones complement cksum of struct */
- unsigned short id; /* identifier */
- unsigned short seq; /* sequence number */
-}AT91S_IcmpEchoHdr, *AT91PS_IcmpEchoHdr;
-
-
-typedef struct _AT91S_EthPack
-{
- AT91S_EthHdr EthHdr;
- AT91S_ArpHdr ArpHdr;
-} AT91S_EthPack, *AT91PS_EthPack;
-
-
-#endif //* AT91C_EMAC_H
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/http-strings b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/http-strings
deleted file mode 100644
index 0d3c30cdd..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/http-strings
+++ /dev/null
@@ -1,35 +0,0 @@
-http_http "http://"
-http_200 "200 "
-http_301 "301 "
-http_302 "302 "
-http_get "GET "
-http_10 "HTTP/1.0"
-http_11 "HTTP/1.1"
-http_content_type "content-type: "
-http_texthtml "text/html"
-http_location "location: "
-http_host "host: "
-http_crnl "\r\n"
-http_index_html "/index.html"
-http_404_html "/404.html"
-http_referer "Referer:"
-http_header_200 "HTTP/1.0 200 OK\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n"
-http_header_404 "HTTP/1.0 404 Not found\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n"
-http_content_type_plain "Content-type: text/plain\r\n\r\n"
-http_content_type_html "Content-type: text/html\r\n\r\n"
-http_content_type_css "Content-type: text/css\r\n\r\n"
-http_content_type_text "Content-type: text/text\r\n\r\n"
-http_content_type_png "Content-type: image/png\r\n\r\n"
-http_content_type_gif "Content-type: image/gif\r\n\r\n"
-http_content_type_jpg "Content-type: image/jpeg\r\n\r\n"
-http_content_type_binary "Content-type: application/octet-stream\r\n\r\n"
-http_html ".html"
-http_shtml ".shtml"
-http_htm ".htm"
-http_css ".css"
-http_png ".png"
-http_gif ".gif"
-http_jpg ".jpg"
-http_text ".txt"
-http_txt ".txt"
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/http-strings.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/http-strings.c
deleted file mode 100644
index ef7a41c7d..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/http-strings.c
+++ /dev/null
@@ -1,102 +0,0 @@
-const char http_http[8] =
-/* "http://" */
-{0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, };
-const char http_200[5] =
-/* "200 " */
-{0x32, 0x30, 0x30, 0x20, };
-const char http_301[5] =
-/* "301 " */
-{0x33, 0x30, 0x31, 0x20, };
-const char http_302[5] =
-/* "302 " */
-{0x33, 0x30, 0x32, 0x20, };
-const char http_get[5] =
-/* "GET " */
-{0x47, 0x45, 0x54, 0x20, };
-const char http_10[9] =
-/* "HTTP/1.0" */
-{0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, };
-const char http_11[9] =
-/* "HTTP/1.1" */
-{0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, };
-const char http_content_type[15] =
-/* "content-type: " */
-{0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, };
-const char http_texthtml[10] =
-/* "text/html" */
-{0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, 0x6c, };
-const char http_location[11] =
-/* "location: " */
-{0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, };
-const char http_host[7] =
-/* "host: " */
-{0x68, 0x6f, 0x73, 0x74, 0x3a, 0x20, };
-const char http_crnl[3] =
-/* "\r\n" */
-{0xd, 0xa, };
-const char http_index_html[12] =
-/* "/index.html" */
-{0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, };
-const char http_404_html[10] =
-/* "/404.html" */
-{0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, };
-const char http_referer[9] =
-/* "Referer:" */
-{0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x72, 0x3a, };
-const char http_header_200[84] =
-/* "HTTP/1.0 200 OK\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n" */
-{0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4f, 0x4b, 0xd, 0xa, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3a, 0x20, 0x75, 0x49, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x73, 0x65, 0x2f, 0x7e, 0x61, 0x64, 0x61, 0x6d, 0x2f, 0x75, 0x69, 0x70, 0x2f, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0xd, 0xa, };
-const char http_header_404[91] =
-/* "HTTP/1.0 404 Not found\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n" */
-{0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x34, 0x30, 0x34, 0x20, 0x4e, 0x6f, 0x74, 0x20, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0xd, 0xa, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3a, 0x20, 0x75, 0x49, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x73, 0x65, 0x2f, 0x7e, 0x61, 0x64, 0x61, 0x6d, 0x2f, 0x75, 0x69, 0x70, 0x2f, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0xd, 0xa, };
-const char http_content_type_plain[29] =
-/* "Content-type: text/plain\r\n\r\n" */
-{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0xd, 0xa, 0xd, 0xa, };
-const char http_content_type_html[28] =
-/* "Content-type: text/html\r\n\r\n" */
-{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0xd, 0xa, 0xd, 0xa, };
-const char http_content_type_css [27] =
-/* "Content-type: text/css\r\n\r\n" */
-{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x63, 0x73, 0x73, 0xd, 0xa, 0xd, 0xa, };
-const char http_content_type_text[28] =
-/* "Content-type: text/text\r\n\r\n" */
-{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x74, 0x65, 0x78, 0x74, 0xd, 0xa, 0xd, 0xa, };
-const char http_content_type_png [28] =
-/* "Content-type: image/png\r\n\r\n" */
-{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x6e, 0x67, 0xd, 0xa, 0xd, 0xa, };
-const char http_content_type_gif [28] =
-/* "Content-type: image/gif\r\n\r\n" */
-{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x67, 0x69, 0x66, 0xd, 0xa, 0xd, 0xa, };
-const char http_content_type_jpg [29] =
-/* "Content-type: image/jpeg\r\n\r\n" */
-{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x6a, 0x70, 0x65, 0x67, 0xd, 0xa, 0xd, 0xa, };
-const char http_content_type_binary[43] =
-/* "Content-type: application/octet-stream\r\n\r\n" */
-{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6f, 0x63, 0x74, 0x65, 0x74, 0x2d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xd, 0xa, 0xd, 0xa, };
-const char http_html[6] =
-/* ".html" */
-{0x2e, 0x68, 0x74, 0x6d, 0x6c, };
-const char http_shtml[7] =
-/* ".shtml" */
-{0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, };
-const char http_htm[5] =
-/* ".htm" */
-{0x2e, 0x68, 0x74, 0x6d, };
-const char http_css[5] =
-/* ".css" */
-{0x2e, 0x63, 0x73, 0x73, };
-const char http_png[5] =
-/* ".png" */
-{0x2e, 0x70, 0x6e, 0x67, };
-const char http_gif[5] =
-/* ".gif" */
-{0x2e, 0x67, 0x69, 0x66, };
-const char http_jpg[5] =
-/* ".jpg" */
-{0x2e, 0x6a, 0x70, 0x67, };
-const char http_text[5] =
-/* ".txt" */
-{0x2e, 0x74, 0x78, 0x74, };
-const char http_txt[5] =
-/* ".txt" */
-{0x2e, 0x74, 0x78, 0x74, };
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/http-strings.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/http-strings.h
deleted file mode 100644
index acbe7e17f..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/http-strings.h
+++ /dev/null
@@ -1,34 +0,0 @@
-extern const char http_http[8];
-extern const char http_200[5];
-extern const char http_301[5];
-extern const char http_302[5];
-extern const char http_get[5];
-extern const char http_10[9];
-extern const char http_11[9];
-extern const char http_content_type[15];
-extern const char http_texthtml[10];
-extern const char http_location[11];
-extern const char http_host[7];
-extern const char http_crnl[3];
-extern const char http_index_html[12];
-extern const char http_404_html[10];
-extern const char http_referer[9];
-extern const char http_header_200[84];
-extern const char http_header_404[91];
-extern const char http_content_type_plain[29];
-extern const char http_content_type_html[28];
-extern const char http_content_type_css [27];
-extern const char http_content_type_text[28];
-extern const char http_content_type_png [28];
-extern const char http_content_type_gif [28];
-extern const char http_content_type_jpg [29];
-extern const char http_content_type_binary[43];
-extern const char http_html[6];
-extern const char http_shtml[7];
-extern const char http_htm[5];
-extern const char http_css[5];
-extern const char http_png[5];
-extern const char http_gif[5];
-extern const char http_jpg[5];
-extern const char http_text[5];
-extern const char http_txt[5];
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-cgi.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-cgi.c
deleted file mode 100644
index f9ce05516..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-cgi.c
+++ /dev/null
@@ -1,268 +0,0 @@
-/**
- * \addtogroup httpd
- * @{
- */
-
-/**
- * \file
- * Web server script interface
- * \author
- * Adam Dunkels
- *
- */
-
-/*
- * Copyright (c) 2001-2006, Adam Dunkels.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote
- * products derived from this software without specific prior
- * written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This file is part of the uIP TCP/IP stack.
- *
- * $Id: httpd-cgi.c,v 1.2 2006/06/11 21:46:37 adam Exp $
- *
- */
-
-#include "uip.h"
-#include "psock.h"
-#include "httpd.h"
-#include "httpd-cgi.h"
-#include "httpd-fs.h"
-
-#include
-#include
-
-HTTPD_CGI_CALL(file, "file-stats", file_stats);
-HTTPD_CGI_CALL(tcp, "tcp-connections", tcp_stats);
-HTTPD_CGI_CALL(net, "net-stats", net_stats);
-HTTPD_CGI_CALL(rtos, "rtos-stats", rtos_stats );
-HTTPD_CGI_CALL(io, "led-io", led_io );
-
-
-static const struct httpd_cgi_call * const calls[] = { &file, &tcp, &net, &rtos, &io, NULL };
-
-/*---------------------------------------------------------------------------*/
-static
-PT_THREAD(nullfunction(struct httpd_state *s, char *ptr))
-{
- PSOCK_BEGIN(&s->sout);
- PSOCK_END(&s->sout);
-}
-/*---------------------------------------------------------------------------*/
-httpd_cgifunction
-httpd_cgi(char *name)
-{
- const struct httpd_cgi_call **f;
-
- /* Find the matching name in the table, return the function. */
- for(f = calls; *f != NULL; ++f) {
- if(strncmp((*f)->name, name, strlen((*f)->name)) == 0) {
- return (*f)->function;
- }
- }
- return nullfunction;
-}
-/*---------------------------------------------------------------------------*/
-static unsigned short
-generate_file_stats(void *arg)
-{
- char *f = (char *)arg;
- return snprintf((char *)uip_appdata, UIP_APPDATA_SIZE, "%5u", httpd_fs_count(f));
-}
-/*---------------------------------------------------------------------------*/
-static
-PT_THREAD(file_stats(struct httpd_state *s, char *ptr))
-{
- PSOCK_BEGIN(&s->sout);
-
- PSOCK_GENERATOR_SEND(&s->sout, generate_file_stats, strchr(ptr, ' ') + 1);
-
- PSOCK_END(&s->sout);
-}
-/*---------------------------------------------------------------------------*/
-static const char closed[] = /* "CLOSED",*/
-{0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0};
-static const char syn_rcvd[] = /* "SYN-RCVD",*/
-{0x53, 0x59, 0x4e, 0x2d, 0x52, 0x43, 0x56,
- 0x44, 0};
-static const char syn_sent[] = /* "SYN-SENT",*/
-{0x53, 0x59, 0x4e, 0x2d, 0x53, 0x45, 0x4e,
- 0x54, 0};
-static const char established[] = /* "ESTABLISHED",*/
-{0x45, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x49, 0x53, 0x48,
- 0x45, 0x44, 0};
-static const char fin_wait_1[] = /* "FIN-WAIT-1",*/
-{0x46, 0x49, 0x4e, 0x2d, 0x57, 0x41, 0x49,
- 0x54, 0x2d, 0x31, 0};
-static const char fin_wait_2[] = /* "FIN-WAIT-2",*/
-{0x46, 0x49, 0x4e, 0x2d, 0x57, 0x41, 0x49,
- 0x54, 0x2d, 0x32, 0};
-static const char closing[] = /* "CLOSING",*/
-{0x43, 0x4c, 0x4f, 0x53, 0x49,
- 0x4e, 0x47, 0};
-static const char time_wait[] = /* "TIME-WAIT,"*/
-{0x54, 0x49, 0x4d, 0x45, 0x2d, 0x57, 0x41,
- 0x49, 0x54, 0};
-static const char last_ack[] = /* "LAST-ACK"*/
-{0x4c, 0x41, 0x53, 0x54, 0x2d, 0x41, 0x43,
- 0x4b, 0};
-
-static const char *states[] = {
- closed,
- syn_rcvd,
- syn_sent,
- established,
- fin_wait_1,
- fin_wait_2,
- closing,
- time_wait,
- last_ack};
-
-
-static unsigned short
-generate_tcp_stats(void *arg)
-{
- struct uip_conn *conn;
- struct httpd_state *s = (struct httpd_state *)arg;
-
- conn = &uip_conns[s->count];
- return snprintf((char *)uip_appdata, UIP_APPDATA_SIZE,
- "
",
- pcStatus );
-
- return strlen( uip_appdata );
-}
-
-static PT_THREAD(led_io(struct httpd_state *s, char *ptr))
-{
- PSOCK_BEGIN(&s->sout);
- PSOCK_GENERATOR_SEND(&s->sout, generate_io_state, NULL);
- PSOCK_END(&s->sout);
-}
-
-/** @} */
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-cgi.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-cgi.h
deleted file mode 100644
index 7ae928321..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-cgi.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * \addtogroup httpd
- * @{
- */
-
-/**
- * \file
- * Web server script interface header file
- * \author
- * Adam Dunkels
- *
- */
-
-
-
-/*
- * Copyright (c) 2001, Adam Dunkels.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote
- * products derived from this software without specific prior
- * written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This file is part of the uIP TCP/IP stack.
- *
- * $Id: httpd-cgi.h,v 1.2 2006/06/11 21:46:38 adam Exp $
- *
- */
-
-#ifndef __HTTPD_CGI_H__
-#define __HTTPD_CGI_H__
-
-#include "psock.h"
-#include "httpd.h"
-
-typedef PT_THREAD((* httpd_cgifunction)(struct httpd_state *, char *));
-
-httpd_cgifunction httpd_cgi(char *name);
-
-struct httpd_cgi_call {
- const char *name;
- const httpd_cgifunction function;
-};
-
-/**
- * \brief HTTPD CGI function declaration
- * \param name The C variable name of the function
- * \param str The string name of the function, used in the script file
- * \param function A pointer to the function that implements it
- *
- * This macro is used for declaring a HTTPD CGI
- * function. This function is then added to the list of
- * HTTPD CGI functions with the httpd_cgi_add() function.
- *
- * \hideinitializer
- */
-#define HTTPD_CGI_CALL(name, str, function) \
-static PT_THREAD(function(struct httpd_state *, char *)); \
-static const struct httpd_cgi_call name = {str, function}
-
-void httpd_cgi_init(void);
-#endif /* __HTTPD_CGI_H__ */
-
-/** @} */
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-fs.c b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-fs.c
deleted file mode 100644
index dc4aef011..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-fs.c
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- * Copyright (c) 2001, Swedish Institute of Computer Science.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the Institute nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * This file is part of the lwIP TCP/IP stack.
- *
- * Author: Adam Dunkels
- *
- * $Id: httpd-fs.c,v 1.1 2006/06/07 09:13:08 adam Exp $
- */
-
-#include "httpd.h"
-#include "httpd-fs.h"
-#include "httpd-fsdata.h"
-
-#ifndef NULL
-#define NULL 0
-#endif /* NULL */
-
-#include "httpd-fsdata.c"
-
-#if HTTPD_FS_STATISTICS
-static u16_t count[HTTPD_FS_NUMFILES];
-#endif /* HTTPD_FS_STATISTICS */
-
-/*-----------------------------------------------------------------------------------*/
-static u8_t
-httpd_fs_strcmp(const char *str1, const char *str2)
-{
- u8_t i;
- i = 0;
- loop:
-
- if(str2[i] == 0 ||
- str1[i] == '\r' ||
- str1[i] == '\n') {
- return 0;
- }
-
- if(str1[i] != str2[i]) {
- return 1;
- }
-
-
- ++i;
- goto loop;
-}
-/*-----------------------------------------------------------------------------------*/
-int
-httpd_fs_open(const char *name, struct httpd_fs_file *file)
-{
-#if HTTPD_FS_STATISTICS
- u16_t i = 0;
-#endif /* HTTPD_FS_STATISTICS */
- struct httpd_fsdata_file_noconst *f;
-
- for(f = (struct httpd_fsdata_file_noconst *)HTTPD_FS_ROOT;
- f != NULL;
- f = (struct httpd_fsdata_file_noconst *)f->next) {
-
- if(httpd_fs_strcmp(name, f->name) == 0) {
- file->data = f->data;
- file->len = f->len;
-#if HTTPD_FS_STATISTICS
- ++count[i];
-#endif /* HTTPD_FS_STATISTICS */
- return 1;
- }
-#if HTTPD_FS_STATISTICS
- ++i;
-#endif /* HTTPD_FS_STATISTICS */
-
- }
- return 0;
-}
-/*-----------------------------------------------------------------------------------*/
-void
-httpd_fs_init(void)
-{
-#if HTTPD_FS_STATISTICS
- u16_t i;
- for(i = 0; i < HTTPD_FS_NUMFILES; i++) {
- count[i] = 0;
- }
-#endif /* HTTPD_FS_STATISTICS */
-}
-/*-----------------------------------------------------------------------------------*/
-#if HTTPD_FS_STATISTICS
-u16_t httpd_fs_count
-(char *name)
-{
- struct httpd_fsdata_file_noconst *f;
- u16_t i;
-
- i = 0;
- for(f = (struct httpd_fsdata_file_noconst *)HTTPD_FS_ROOT;
- f != NULL;
- f = (struct httpd_fsdata_file_noconst *)f->next) {
-
- if(httpd_fs_strcmp(name, f->name) == 0) {
- return count[i];
- }
- ++i;
- }
- return 0;
-}
-#endif /* HTTPD_FS_STATISTICS */
-/*-----------------------------------------------------------------------------------*/
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-fs.h b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-fs.h
deleted file mode 100644
index b594eea56..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-fs.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2001, Swedish Institute of Computer Science.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the Institute nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * This file is part of the lwIP TCP/IP stack.
- *
- * Author: Adam Dunkels
- *
- * $Id: httpd-fs.h,v 1.1 2006/06/07 09:13:08 adam Exp $
- */
-#ifndef __HTTPD_FS_H__
-#define __HTTPD_FS_H__
-
-#define HTTPD_FS_STATISTICS 1
-
-struct httpd_fs_file {
- char *data;
- int len;
-};
-
-/* file must be allocated by caller and will be filled in
- by the function. */
-int httpd_fs_open(const char *name, struct httpd_fs_file *file);
-
-#ifdef HTTPD_FS_STATISTICS
-#if HTTPD_FS_STATISTICS == 1
-u16_t httpd_fs_count(char *name);
-#endif /* HTTPD_FS_STATISTICS */
-#endif /* HTTPD_FS_STATISTICS */
-
-void httpd_fs_init(void);
-
-#endif /* __HTTPD_FS_H__ */
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-fs/404.html b/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-fs/404.html
deleted file mode 100644
index 43e7f4cad..000000000
--- a/FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/httpd-fs/404.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-IP Packets dropped
- Packets received
- Packets sent
-IP errors IP version/header length
- IP length, high byte
- IP length, low byte
- IP fragments
- Header checksum
- Wrong protocol
-ICMP Packets dropped
- Packets received
- Packets sent
- Type errors
-TCP Packets dropped
- Packets received
- Packets sent
- Checksum errors
- Data packets without ACKs
- Resets
- Retransmissions
- No connection avaliable
- Connection attempts to closed ports
-
Refresh count = %d", lRefreshCount );
- vTaskGetRunTimeStats( ( char * ) uip_appdata );
- strcat( uip_appdata, cCountBuf );
-
- return strlen( uip_appdata );
-}
-/*---------------------------------------------------------------------------*/
-
-
-static
-PT_THREAD(run_time(struct httpd_state *s, char *ptr))
-{
- PSOCK_BEGIN(&s->sout);
- PSOCK_GENERATOR_SEND(&s->sout, generate_runtime_stats, NULL);
- PSOCK_END(&s->sout);
-}
-/*---------------------------------------------------------------------------*/
-
-static PT_THREAD(led_io(struct httpd_state *s, char *ptr))
-{
- PSOCK_BEGIN(&s->sout);
- PSOCK_GENERATOR_SEND(&s->sout, generate_io_state, NULL);
- PSOCK_END(&s->sout);
-}
-
-/** @} */
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-cgi.h b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-cgi.h
deleted file mode 100644
index 7ae928321..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-cgi.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * \addtogroup httpd
- * @{
- */
-
-/**
- * \file
- * Web server script interface header file
- * \author
- * Adam Dunkels
- *
- */
-
-
-
-/*
- * Copyright (c) 2001, Adam Dunkels.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote
- * products derived from this software without specific prior
- * written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This file is part of the uIP TCP/IP stack.
- *
- * $Id: httpd-cgi.h,v 1.2 2006/06/11 21:46:38 adam Exp $
- *
- */
-
-#ifndef __HTTPD_CGI_H__
-#define __HTTPD_CGI_H__
-
-#include "psock.h"
-#include "httpd.h"
-
-typedef PT_THREAD((* httpd_cgifunction)(struct httpd_state *, char *));
-
-httpd_cgifunction httpd_cgi(char *name);
-
-struct httpd_cgi_call {
- const char *name;
- const httpd_cgifunction function;
-};
-
-/**
- * \brief HTTPD CGI function declaration
- * \param name The C variable name of the function
- * \param str The string name of the function, used in the script file
- * \param function A pointer to the function that implements it
- *
- * This macro is used for declaring a HTTPD CGI
- * function. This function is then added to the list of
- * HTTPD CGI functions with the httpd_cgi_add() function.
- *
- * \hideinitializer
- */
-#define HTTPD_CGI_CALL(name, str, function) \
-static PT_THREAD(function(struct httpd_state *, char *)); \
-static const struct httpd_cgi_call name = {str, function}
-
-void httpd_cgi_init(void);
-#endif /* __HTTPD_CGI_H__ */
-
-/** @} */
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs.c b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs.c
deleted file mode 100644
index dc4aef011..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs.c
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- * Copyright (c) 2001, Swedish Institute of Computer Science.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the Institute nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * This file is part of the lwIP TCP/IP stack.
- *
- * Author: Adam Dunkels
- *
- * $Id: httpd-fs.c,v 1.1 2006/06/07 09:13:08 adam Exp $
- */
-
-#include "httpd.h"
-#include "httpd-fs.h"
-#include "httpd-fsdata.h"
-
-#ifndef NULL
-#define NULL 0
-#endif /* NULL */
-
-#include "httpd-fsdata.c"
-
-#if HTTPD_FS_STATISTICS
-static u16_t count[HTTPD_FS_NUMFILES];
-#endif /* HTTPD_FS_STATISTICS */
-
-/*-----------------------------------------------------------------------------------*/
-static u8_t
-httpd_fs_strcmp(const char *str1, const char *str2)
-{
- u8_t i;
- i = 0;
- loop:
-
- if(str2[i] == 0 ||
- str1[i] == '\r' ||
- str1[i] == '\n') {
- return 0;
- }
-
- if(str1[i] != str2[i]) {
- return 1;
- }
-
-
- ++i;
- goto loop;
-}
-/*-----------------------------------------------------------------------------------*/
-int
-httpd_fs_open(const char *name, struct httpd_fs_file *file)
-{
-#if HTTPD_FS_STATISTICS
- u16_t i = 0;
-#endif /* HTTPD_FS_STATISTICS */
- struct httpd_fsdata_file_noconst *f;
-
- for(f = (struct httpd_fsdata_file_noconst *)HTTPD_FS_ROOT;
- f != NULL;
- f = (struct httpd_fsdata_file_noconst *)f->next) {
-
- if(httpd_fs_strcmp(name, f->name) == 0) {
- file->data = f->data;
- file->len = f->len;
-#if HTTPD_FS_STATISTICS
- ++count[i];
-#endif /* HTTPD_FS_STATISTICS */
- return 1;
- }
-#if HTTPD_FS_STATISTICS
- ++i;
-#endif /* HTTPD_FS_STATISTICS */
-
- }
- return 0;
-}
-/*-----------------------------------------------------------------------------------*/
-void
-httpd_fs_init(void)
-{
-#if HTTPD_FS_STATISTICS
- u16_t i;
- for(i = 0; i < HTTPD_FS_NUMFILES; i++) {
- count[i] = 0;
- }
-#endif /* HTTPD_FS_STATISTICS */
-}
-/*-----------------------------------------------------------------------------------*/
-#if HTTPD_FS_STATISTICS
-u16_t httpd_fs_count
-(char *name)
-{
- struct httpd_fsdata_file_noconst *f;
- u16_t i;
-
- i = 0;
- for(f = (struct httpd_fsdata_file_noconst *)HTTPD_FS_ROOT;
- f != NULL;
- f = (struct httpd_fsdata_file_noconst *)f->next) {
-
- if(httpd_fs_strcmp(name, f->name) == 0) {
- return count[i];
- }
- ++i;
- }
- return 0;
-}
-#endif /* HTTPD_FS_STATISTICS */
-/*-----------------------------------------------------------------------------------*/
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs.h b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs.h
deleted file mode 100644
index b594eea56..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2001, Swedish Institute of Computer Science.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the Institute nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * This file is part of the lwIP TCP/IP stack.
- *
- * Author: Adam Dunkels
- *
- * $Id: httpd-fs.h,v 1.1 2006/06/07 09:13:08 adam Exp $
- */
-#ifndef __HTTPD_FS_H__
-#define __HTTPD_FS_H__
-
-#define HTTPD_FS_STATISTICS 1
-
-struct httpd_fs_file {
- char *data;
- int len;
-};
-
-/* file must be allocated by caller and will be filled in
- by the function. */
-int httpd_fs_open(const char *name, struct httpd_fs_file *file);
-
-#ifdef HTTPD_FS_STATISTICS
-#if HTTPD_FS_STATISTICS == 1
-u16_t httpd_fs_count(char *name);
-#endif /* HTTPD_FS_STATISTICS */
-#endif /* HTTPD_FS_STATISTICS */
-
-void httpd_fs_init(void);
-
-#endif /* __HTTPD_FS_H__ */
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/404.html b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/404.html
deleted file mode 100644
index 43e7f4cad..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/404.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/index.html b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/index.html
deleted file mode 100644
index 4937dc69a..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/index.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- FreeRTOS.org uIP WEB server demo
-
-
-
-Loading index.shtml. Click here if not automatically redirected.
-
-
-
-
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/index.shtml b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/index.shtml
deleted file mode 100644
index 29d242c05..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/index.shtml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- FreeRTOS.org uIP WEB server demo
-
-
-
-Task Stats|Run Time Stats|TCP Stats|Connections|FreeRTOS.org Homepage|IO
-
-
-
-
Task statistics
-Page will refresh every 2 seconds.
-
Task State Priority Stack # ************************************************
-%! rtos-stats
-
-
-
-
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/io.shtml b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/io.shtml
deleted file mode 100644
index fd0697d2a..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/io.shtml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
- FreeRTOS.org uIP WEB server demo
-
-
-
-Task Stats|Run Time Stats|TCP Stats|Connections|FreeRTOS.org Homepage|IO
-
-
-LED and LCD IO
-
-
-
-Use the check box to turn on or off the LED, enter text to display on the OLED display, then click "Update IO".
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/runtime.shtml b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/runtime.shtml
deleted file mode 100644
index 67cae4657..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/runtime.shtml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- FreeRTOS.org uIP WEB server demo
-
-
-
-Task Stats|Run Time Stats|TCP Stats|Connections|FreeRTOS.org Homepage|IO
-
-
-
-
Run-time statistics
-Page will refresh every 2 seconds.
-
Task Abs Time % Time ****************************************
-%! run-time
-
-
-
-
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/stats.shtml b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/stats.shtml
deleted file mode 100644
index d95a69340..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/stats.shtml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
- FreeRTOS.org uIP WEB server demo
-
-
-
-Task Stats|Run Time Stats|TCP Stats|Connections|FreeRTOS.org Homepage|IO
-
-
-
-
Network statistics
-
-
-IP Packets dropped
- Packets received
- Packets sent
-IP errors IP version/header length
- IP length, high byte
- IP length, low byte
- IP fragments
- Header checksum
- Wrong protocol
-ICMP Packets dropped
- Packets received
- Packets sent
- Type errors
-TCP Packets dropped
- Packets received
- Packets sent
- Checksum errors
- Data packets without ACKs
- Resets
- Retransmissions
- No connection avaliable
- Connection attempts to closed ports
-
%! net-stats
-
-
-
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/tcp.shtml b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/tcp.shtml
deleted file mode 100644
index 41053679d..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fs/tcp.shtml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
- FreeRTOS.org uIP WEB server demo
-
-
-
-Task Stats|Run Time Stats|TCP Stats|Connections|FreeRTOS.org Homepage|IO
-
-
-
-
Network connections
-
-
-
Local
Remote
State
Retransmissions
Timer
Flags
-%! tcp-connections
-
-
-
-
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fsdata.c b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fsdata.c
deleted file mode 100644
index 7348902e7..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fsdata.c
+++ /dev/null
@@ -1,557 +0,0 @@
-static const unsigned char data_404_html[] = {
- /* /404.html */
- 0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0,
- 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0x20, 0x20, 0x3c,
- 0x62, 0x6f, 0x64, 0x79, 0x20, 0x62, 0x67, 0x63, 0x6f, 0x6c,
- 0x6f, 0x72, 0x3d, 0x22, 0x77, 0x68, 0x69, 0x74, 0x65, 0x22,
- 0x3e, 0xa, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x63, 0x65, 0x6e,
- 0x74, 0x65, 0x72, 0x3e, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x3c, 0x68, 0x31, 0x3e, 0x34, 0x30, 0x34, 0x20, 0x2d,
- 0x20, 0x66, 0x69, 0x6c, 0x65, 0x20, 0x6e, 0x6f, 0x74, 0x20,
- 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x3c, 0x2f, 0x68, 0x31, 0x3e,
- 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x68, 0x33,
- 0x3e, 0x47, 0x6f, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65,
- 0x66, 0x3d, 0x22, 0x2f, 0x22, 0x3e, 0x68, 0x65, 0x72, 0x65,
- 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x65,
- 0x61, 0x64, 0x2e, 0x3c, 0x2f, 0x68, 0x33, 0x3e, 0xa, 0x20,
- 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x63, 0x65, 0x6e, 0x74, 0x65,
- 0x72, 0x3e, 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x62, 0x6f, 0x64,
- 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e,
-0};
-
-static const unsigned char data_index_html[] = {
- /* /index.html */
- 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0,
- 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20,
- 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49,
- 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f,
- 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20,
- 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45,
- 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f,
- 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72,
- 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34,
- 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64,
- 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa,
- 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20,
- 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f,
- 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42,
- 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65,
- 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x20, 0x6f,
- 0x6e, 0x4c, 0x6f, 0x61, 0x64, 0x3d, 0x22, 0x77, 0x69, 0x6e,
- 0x64, 0x6f, 0x77, 0x2e, 0x73, 0x65, 0x74, 0x54, 0x69, 0x6d,
- 0x65, 0x6f, 0x75, 0x74, 0x28, 0x26, 0x71, 0x75, 0x6f, 0x74,
- 0x3b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x68, 0x72, 0x65, 0x66, 0x3d, 0x27, 0x69, 0x6e, 0x64, 0x65,
- 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x27, 0x26, 0x71,
- 0x75, 0x6f, 0x74, 0x3b, 0x2c, 0x31, 0x30, 0x30, 0x29, 0x22,
- 0x3e, 0xa, 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61,
- 0x63, 0x65, 0x3d, 0x22, 0x61, 0x72, 0x69, 0x61, 0x6c, 0x22,
- 0x3e, 0xa, 0x4c, 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x20,
- 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d,
- 0x6c, 0x2e, 0x20, 0x20, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x20,
- 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69,
- 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c,
- 0x22, 0x3e, 0x68, 0x65, 0x72, 0x65, 0x3c, 0x2f, 0x61, 0x3e,
- 0x20, 0x69, 0x66, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x61, 0x75,
- 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x6c,
- 0x79, 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
- 0x65, 0x64, 0x2e, 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74,
- 0x3e, 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa,
- 0x3c, 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f,
- 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0xa, 0};
-
-static const unsigned char data_index_shtml[] = {
- /* /index.shtml */
- 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
- 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20,
- 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49,
- 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f,
- 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20,
- 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45,
- 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f,
- 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72,
- 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34,
- 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64,
- 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa,
- 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20,
- 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f,
- 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42,
- 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65,
- 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x20, 0x6f,
- 0x6e, 0x4c, 0x6f, 0x61, 0x64, 0x3d, 0x22, 0x77, 0x69, 0x6e,
- 0x64, 0x6f, 0x77, 0x2e, 0x73, 0x65, 0x74, 0x54, 0x69, 0x6d,
- 0x65, 0x6f, 0x75, 0x74, 0x28, 0x26, 0x71, 0x75, 0x6f, 0x74,
- 0x3b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x68, 0x72, 0x65, 0x66, 0x3d, 0x27, 0x69, 0x6e, 0x64, 0x65,
- 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x27, 0x26, 0x71,
- 0x75, 0x6f, 0x74, 0x3b, 0x2c, 0x32, 0x30, 0x30, 0x30, 0x29,
- 0x22, 0x3e, 0xa, 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66,
- 0x61, 0x63, 0x65, 0x3d, 0x22, 0x61, 0x72, 0x69, 0x61, 0x6c,
- 0x22, 0x3e, 0xa, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66,
- 0x3d, 0x22, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68,
- 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x54, 0x61, 0x73, 0x6b, 0x20,
- 0x53, 0x74, 0x61, 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20,
- 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c,
- 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x72, 0x75,
- 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x73, 0x68, 0x74, 0x6d,
- 0x6c, 0x22, 0x3e, 0x52, 0x75, 0x6e, 0x20, 0x54, 0x69, 0x6d,
- 0x65, 0x20, 0x53, 0x74, 0x61, 0x74, 0x73, 0x3c, 0x2f, 0x61,
- 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e,
- 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22,
- 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d,
- 0x6c, 0x22, 0x3e, 0x54, 0x43, 0x50, 0x20, 0x53, 0x74, 0x61,
- 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e,
- 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68,
- 0x72, 0x65, 0x66, 0x3d, 0x22, 0x74, 0x63, 0x70, 0x2e, 0x73,
- 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x43, 0x6f, 0x6e, 0x6e,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3c, 0x2f, 0x61,
- 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e,
- 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22,
- 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77,
- 0x2e, 0x66, 0x72, 0x65, 0x65, 0x72, 0x74, 0x6f, 0x73, 0x2e,
- 0x6f, 0x72, 0x67, 0x2f, 0x22, 0x3e, 0x46, 0x72, 0x65, 0x65,
- 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f, 0x72, 0x67, 0x20, 0x48,
- 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x3c, 0x2f, 0x61,
- 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e,
- 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22,
- 0x69, 0x6f, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e,
- 0x49, 0x4f, 0x3c, 0x2f, 0x61, 0x3e, 0xa, 0x3c, 0x62, 0x72,
- 0x3e, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x68, 0x72, 0x3e, 0xa,
- 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x68,
- 0x32, 0x3e, 0x54, 0x61, 0x73, 0x6b, 0x20, 0x73, 0x74, 0x61,
- 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x3c, 0x2f, 0x68,
- 0x32, 0x3e, 0xa, 0x50, 0x61, 0x67, 0x65, 0x20, 0x77, 0x69,
- 0x6c, 0x6c, 0x20, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
- 0x20, 0x65, 0x76, 0x65, 0x72, 0x79, 0x20, 0x32, 0x20, 0x73,
- 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x2e, 0x3c, 0x70, 0x3e,
- 0xa, 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61, 0x63,
- 0x65, 0x3d, 0x22, 0x63, 0x6f, 0x75, 0x72, 0x69, 0x65, 0x72,
- 0x22, 0x3e, 0x3c, 0x70, 0x72, 0x65, 0x3e, 0x54, 0x61, 0x73,
- 0x6b, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x53, 0x74, 0x61, 0x74, 0x65, 0x20, 0x20, 0x50, 0x72,
- 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x20, 0x20, 0x53, 0x74,
- 0x61, 0x63, 0x6b, 0x9, 0x23, 0x3c, 0x62, 0x72, 0x3e, 0x2a,
- 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a,
- 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a,
- 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a,
- 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a,
- 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x3c, 0x62, 0x72,
- 0x3e, 0xa, 0x25, 0x21, 0x20, 0x72, 0x74, 0x6f, 0x73, 0x2d,
- 0x73, 0x74, 0x61, 0x74, 0x73, 0xa, 0x3c, 0x2f, 0x70, 0x72,
- 0x65, 0x3e, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa,
- 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa, 0x3c, 0x2f,
- 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74,
- 0x6d, 0x6c, 0x3e, 0xa, 0xa, 0};
-
-static const unsigned char data_io_shtml[] = {
- /* /io.shtml */
- 0x2f, 0x69, 0x6f, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
- 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20,
- 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49,
- 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f,
- 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20,
- 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45,
- 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f,
- 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72,
- 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34,
- 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64,
- 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa,
- 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20,
- 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f,
- 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42,
- 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65,
- 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x3e, 0xa,
- 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61, 0x63, 0x65,
- 0x3d, 0x22, 0x61, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x3e, 0xa,
- 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69,
- 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c,
- 0x22, 0x3e, 0x54, 0x61, 0x73, 0x6b, 0x20, 0x53, 0x74, 0x61,
- 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e,
- 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68,
- 0x72, 0x65, 0x66, 0x3d, 0x22, 0x72, 0x75, 0x6e, 0x74, 0x69,
- 0x6d, 0x65, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e,
- 0x52, 0x75, 0x6e, 0x20, 0x54, 0x69, 0x6d, 0x65, 0x20, 0x53,
- 0x74, 0x61, 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x73, 0x74, 0x61,
- 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e,
- 0x54, 0x43, 0x50, 0x20, 0x53, 0x74, 0x61, 0x74, 0x73, 0x3c,
- 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f,
- 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66,
- 0x3d, 0x22, 0x74, 0x63, 0x70, 0x2e, 0x73, 0x68, 0x74, 0x6d,
- 0x6c, 0x22, 0x3e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x68, 0x74, 0x74,
- 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x66, 0x72,
- 0x65, 0x65, 0x72, 0x74, 0x6f, 0x73, 0x2e, 0x6f, 0x72, 0x67,
- 0x2f, 0x22, 0x3e, 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f,
- 0x53, 0x2e, 0x6f, 0x72, 0x67, 0x20, 0x48, 0x6f, 0x6d, 0x65,
- 0x70, 0x61, 0x67, 0x65, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69, 0x6f, 0x2e,
- 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x49, 0x4f, 0x3c,
- 0x2f, 0x61, 0x3e, 0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70,
- 0x3e, 0xa, 0x3c, 0x68, 0x72, 0x3e, 0xa, 0x3c, 0x62, 0x3e,
- 0x4c, 0x45, 0x44, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x4c, 0x43,
- 0x44, 0x20, 0x49, 0x4f, 0x3c, 0x2f, 0x62, 0x3e, 0x3c, 0x62,
- 0x72, 0x3e, 0xa, 0xa, 0x3c, 0x70, 0x3e, 0xa, 0xa, 0x55,
- 0x73, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x68, 0x65,
- 0x63, 0x6b, 0x20, 0x62, 0x6f, 0x78, 0x20, 0x74, 0x6f, 0x20,
- 0x74, 0x75, 0x72, 0x6e, 0x20, 0x6f, 0x6e, 0x20, 0x6f, 0x72,
- 0x20, 0x6f, 0x66, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4c,
- 0x45, 0x44, 0x2c, 0x20, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x20,
- 0x74, 0x65, 0x78, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x64, 0x69,
- 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x6f, 0x6e, 0x20, 0x74,
- 0x68, 0x65, 0x20, 0x4f, 0x4c, 0x45, 0x44, 0x20, 0x64, 0x69,
- 0x73, 0x70, 0x6c, 0x61, 0x79, 0x2c, 0x20, 0x74, 0x68, 0x65,
- 0x6e, 0x20, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x20, 0x22, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x49, 0x4f, 0x22, 0x2e,
- 0xa, 0xa, 0xa, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x66, 0x6f,
- 0x72, 0x6d, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61,
- 0x46, 0x6f, 0x72, 0x6d, 0x22, 0x20, 0x61, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x3d, 0x22, 0x2f, 0x69, 0x6f, 0x2e, 0x73, 0x68,
- 0x74, 0x6d, 0x6c, 0x22, 0x20, 0x6d, 0x65, 0x74, 0x68, 0x6f,
- 0x64, 0x3d, 0x22, 0x67, 0x65, 0x74, 0x22, 0x3e, 0xa, 0x25,
- 0x21, 0x20, 0x6c, 0x65, 0x64, 0x2d, 0x69, 0x6f, 0xa, 0x3c,
- 0x70, 0x3e, 0xa, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20,
- 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x73, 0x75, 0x62, 0x6d,
- 0x69, 0x74, 0x22, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d,
- 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x49, 0x4f,
- 0x22, 0x3e, 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x72, 0x6d, 0x3e,
- 0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70, 0x3e, 0xa, 0x3c,
- 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa, 0x3c, 0x2f, 0x62,
- 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74, 0x6d,
- 0x6c, 0x3e, 0xa, 0xa, 0};
-
-static const unsigned char data_runtime_shtml[] = {
- /* /runtime.shtml */
- 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
- 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20,
- 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49,
- 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f,
- 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20,
- 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45,
- 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f,
- 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72,
- 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34,
- 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64,
- 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa,
- 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20,
- 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f,
- 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42,
- 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65,
- 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x20, 0x6f,
- 0x6e, 0x4c, 0x6f, 0x61, 0x64, 0x3d, 0x22, 0x77, 0x69, 0x6e,
- 0x64, 0x6f, 0x77, 0x2e, 0x73, 0x65, 0x74, 0x54, 0x69, 0x6d,
- 0x65, 0x6f, 0x75, 0x74, 0x28, 0x26, 0x71, 0x75, 0x6f, 0x74,
- 0x3b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x68, 0x72, 0x65, 0x66, 0x3d, 0x27, 0x72, 0x75, 0x6e, 0x74,
- 0x69, 0x6d, 0x65, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x27,
- 0x26, 0x71, 0x75, 0x6f, 0x74, 0x3b, 0x2c, 0x32, 0x30, 0x30,
- 0x30, 0x29, 0x22, 0x3e, 0xa, 0x3c, 0x66, 0x6f, 0x6e, 0x74,
- 0x20, 0x66, 0x61, 0x63, 0x65, 0x3d, 0x22, 0x61, 0x72, 0x69,
- 0x61, 0x6c, 0x22, 0x3e, 0xa, 0x3c, 0x61, 0x20, 0x68, 0x72,
- 0x65, 0x66, 0x3d, 0x22, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e,
- 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x54, 0x61, 0x73,
- 0x6b, 0x20, 0x53, 0x74, 0x61, 0x74, 0x73, 0x3c, 0x2f, 0x61,
- 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e,
- 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22,
- 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x73, 0x68,
- 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x52, 0x75, 0x6e, 0x20, 0x54,
- 0x69, 0x6d, 0x65, 0x20, 0x53, 0x74, 0x61, 0x74, 0x73, 0x3c,
- 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f,
- 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66,
- 0x3d, 0x22, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, 0x68,
- 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x54, 0x43, 0x50, 0x20, 0x53,
- 0x74, 0x61, 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x74, 0x63, 0x70,
- 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x43, 0x6f,
- 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3c,
- 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f,
- 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66,
- 0x3d, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77,
- 0x77, 0x77, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x72, 0x74, 0x6f,
- 0x73, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x22, 0x3e, 0x46, 0x72,
- 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f, 0x72, 0x67,
- 0x20, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x3c,
- 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f,
- 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66,
- 0x3d, 0x22, 0x69, 0x6f, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c,
- 0x22, 0x3e, 0x49, 0x4f, 0x3c, 0x2f, 0x61, 0x3e, 0xa, 0x3c,
- 0x62, 0x72, 0x3e, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x68, 0x72,
- 0x3e, 0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70, 0x3e, 0xa,
- 0x3c, 0x68, 0x32, 0x3e, 0x54, 0x61, 0x73, 0x6b, 0x20, 0x73,
- 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x3c,
- 0x2f, 0x68, 0x32, 0x3e, 0xa, 0x50, 0x61, 0x67, 0x65, 0x20,
- 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x72, 0x65, 0x66, 0x72, 0x65,
- 0x73, 0x68, 0x20, 0x65, 0x76, 0x65, 0x72, 0x79, 0x20, 0x32,
- 0x20, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x2e, 0x3c,
- 0x70, 0x3e, 0xa, 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66,
- 0x61, 0x63, 0x65, 0x3d, 0x22, 0x63, 0x6f, 0x75, 0x72, 0x69,
- 0x65, 0x72, 0x22, 0x3e, 0x3c, 0x70, 0x72, 0x65, 0x3e, 0x54,
- 0x61, 0x73, 0x6b, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x41, 0x62, 0x73, 0x20, 0x54,
- 0x69, 0x6d, 0x65, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x25,
- 0x20, 0x54, 0x69, 0x6d, 0x65, 0x3c, 0x62, 0x72, 0x3e, 0x2a,
- 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a,
- 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a,
- 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a,
- 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x3c,
- 0x62, 0x72, 0x3e, 0xa, 0x25, 0x21, 0x20, 0x72, 0x75, 0x6e,
- 0x2d, 0x74, 0x69, 0x6d, 0x65, 0xa, 0x3c, 0x2f, 0x70, 0x72,
- 0x65, 0x3e, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa,
- 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa, 0x3c, 0x2f,
- 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74,
- 0x6d, 0x6c, 0x3e, 0xa, 0xa, 0};
-
-static const unsigned char data_stats_shtml[] = {
- /* /stats.shtml */
- 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
- 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20,
- 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49,
- 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f,
- 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20,
- 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45,
- 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f,
- 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72,
- 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34,
- 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64,
- 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa,
- 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20,
- 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f,
- 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42,
- 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65,
- 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x3e, 0xa,
- 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61, 0x63, 0x65,
- 0x3d, 0x22, 0x61, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x3e, 0xa,
- 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69,
- 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c,
- 0x22, 0x3e, 0x54, 0x61, 0x73, 0x6b, 0x20, 0x53, 0x74, 0x61,
- 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e,
- 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68,
- 0x72, 0x65, 0x66, 0x3d, 0x22, 0x72, 0x75, 0x6e, 0x74, 0x69,
- 0x6d, 0x65, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e,
- 0x52, 0x75, 0x6e, 0x20, 0x54, 0x69, 0x6d, 0x65, 0x20, 0x53,
- 0x74, 0x61, 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x73, 0x74, 0x61,
- 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e,
- 0x54, 0x43, 0x50, 0x20, 0x53, 0x74, 0x61, 0x74, 0x73, 0x3c,
- 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f,
- 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66,
- 0x3d, 0x22, 0x74, 0x63, 0x70, 0x2e, 0x73, 0x68, 0x74, 0x6d,
- 0x6c, 0x22, 0x3e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x68, 0x74, 0x74,
- 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x66, 0x72,
- 0x65, 0x65, 0x72, 0x74, 0x6f, 0x73, 0x2e, 0x6f, 0x72, 0x67,
- 0x2f, 0x22, 0x3e, 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f,
- 0x53, 0x2e, 0x6f, 0x72, 0x67, 0x20, 0x48, 0x6f, 0x6d, 0x65,
- 0x70, 0x61, 0x67, 0x65, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69, 0x6f, 0x2e,
- 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x49, 0x4f, 0x3c,
- 0x2f, 0x61, 0x3e, 0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70,
- 0x3e, 0xa, 0x3c, 0x68, 0x72, 0x3e, 0xa, 0x3c, 0x62, 0x72,
- 0x3e, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x68, 0x32, 0x3e, 0x4e,
- 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x20, 0x73, 0x74, 0x61,
- 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x3c, 0x2f, 0x68,
- 0x32, 0x3e, 0xa, 0x3c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x20,
- 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x22, 0x33, 0x30, 0x30,
- 0x22, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3d, 0x22,
- 0x30, 0x22, 0x3e, 0xa, 0x3c, 0x74, 0x72, 0x3e, 0x3c, 0x74,
- 0x64, 0x20, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3d, 0x22, 0x6c,
- 0x65, 0x66, 0x74, 0x22, 0x3e, 0x3c, 0x66, 0x6f, 0x6e, 0x74,
- 0x20, 0x66, 0x61, 0x63, 0x65, 0x3d, 0x22, 0x63, 0x6f, 0x75,
- 0x72, 0x69, 0x65, 0x72, 0x22, 0x3e, 0x3c, 0x70, 0x72, 0x65,
- 0x3e, 0xa, 0x49, 0x50, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65,
- 0x74, 0x73, 0x20, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64,
- 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
- 0x73, 0x20, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64,
- 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
- 0x73, 0x20, 0x73, 0x65, 0x6e, 0x74, 0xa, 0x49, 0x50, 0x20,
- 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x20, 0x20, 0x20, 0x20,
- 0x49, 0x50, 0x20, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
- 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x20, 0x6c, 0x65,
- 0x6e, 0x67, 0x74, 0x68, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x49, 0x50,
- 0x20, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x2c, 0x20, 0x68,
- 0x69, 0x67, 0x68, 0x20, 0x62, 0x79, 0x74, 0x65, 0xa, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x49, 0x50, 0x20, 0x6c, 0x65, 0x6e, 0x67, 0x74,
- 0x68, 0x2c, 0x20, 0x6c, 0x6f, 0x77, 0x20, 0x62, 0x79, 0x74,
- 0x65, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x49, 0x50, 0x20, 0x66, 0x72,
- 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0xa, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x20, 0x63, 0x68,
- 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0xa, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x57, 0x72, 0x6f, 0x6e, 0x67, 0x20, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x63, 0x6f, 0x6c, 0xa, 0x49, 0x43, 0x4d, 0x50, 0x9,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65,
- 0x74, 0x73, 0x20, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64,
- 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
- 0x73, 0x20, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64,
- 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
- 0x73, 0x20, 0x73, 0x65, 0x6e, 0x74, 0xa, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x54, 0x79, 0x70, 0x65, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72,
- 0x73, 0xa, 0x54, 0x43, 0x50, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65,
- 0x74, 0x73, 0x20, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64,
- 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
- 0x73, 0x20, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64,
- 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
- 0x73, 0x20, 0x73, 0x65, 0x6e, 0x74, 0xa, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x20, 0x65,
- 0x72, 0x72, 0x6f, 0x72, 0x73, 0xa, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x44,
- 0x61, 0x74, 0x61, 0x20, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74,
- 0x73, 0x20, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x20,
- 0x41, 0x43, 0x4b, 0x73, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x52, 0x65,
- 0x73, 0x65, 0x74, 0x73, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x52, 0x65,
- 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0xa, 0x9, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x4e, 0x6f, 0x20, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x76, 0x61, 0x6c, 0x69, 0x61,
- 0x62, 0x6c, 0x65, 0xa, 0x9, 0x20, 0x20, 0x20, 0x20, 0x20,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x20, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x20,
- 0x74, 0x6f, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x20,
- 0x70, 0x6f, 0x72, 0x74, 0x73, 0xa, 0x3c, 0x2f, 0x70, 0x72,
- 0x65, 0x3e, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0x3c,
- 0x2f, 0x74, 0x64, 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x70,
- 0x72, 0x65, 0x3e, 0x25, 0x21, 0x20, 0x6e, 0x65, 0x74, 0x2d,
- 0x73, 0x74, 0x61, 0x74, 0x73, 0xa, 0x3c, 0x2f, 0x70, 0x72,
- 0x65, 0x3e, 0x3c, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3e,
- 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa, 0x3c,
- 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68,
- 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0};
-
-static const unsigned char data_tcp_shtml[] = {
- /* /tcp.shtml */
- 0x2f, 0x74, 0x63, 0x70, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
- 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20,
- 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49,
- 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f,
- 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20,
- 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45,
- 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f,
- 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72,
- 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34,
- 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64,
- 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa,
- 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20,
- 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f,
- 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42,
- 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65,
- 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e,
- 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x3e, 0xa,
- 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61, 0x63, 0x65,
- 0x3d, 0x22, 0x61, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x3e, 0xa,
- 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69,
- 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c,
- 0x22, 0x3e, 0x54, 0x61, 0x73, 0x6b, 0x20, 0x53, 0x74, 0x61,
- 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e,
- 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68,
- 0x72, 0x65, 0x66, 0x3d, 0x22, 0x72, 0x75, 0x6e, 0x74, 0x69,
- 0x6d, 0x65, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e,
- 0x52, 0x75, 0x6e, 0x20, 0x54, 0x69, 0x6d, 0x65, 0x20, 0x53,
- 0x74, 0x61, 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x73, 0x74, 0x61,
- 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e,
- 0x54, 0x43, 0x50, 0x20, 0x53, 0x74, 0x61, 0x74, 0x73, 0x3c,
- 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f,
- 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66,
- 0x3d, 0x22, 0x74, 0x63, 0x70, 0x2e, 0x73, 0x68, 0x74, 0x6d,
- 0x6c, 0x22, 0x3e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x68, 0x74, 0x74,
- 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x66, 0x72,
- 0x65, 0x65, 0x72, 0x74, 0x6f, 0x73, 0x2e, 0x6f, 0x72, 0x67,
- 0x2f, 0x22, 0x3e, 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f,
- 0x53, 0x2e, 0x6f, 0x72, 0x67, 0x20, 0x48, 0x6f, 0x6d, 0x65,
- 0x70, 0x61, 0x67, 0x65, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c,
- 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61,
- 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69, 0x6f, 0x2e,
- 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x49, 0x4f, 0x3c,
- 0x2f, 0x61, 0x3e, 0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70,
- 0x3e, 0xa, 0x3c, 0x68, 0x72, 0x3e, 0xa, 0x3c, 0x62, 0x72,
- 0x3e, 0xa, 0x3c, 0x68, 0x32, 0x3e, 0x4e, 0x65, 0x74, 0x77,
- 0x6f, 0x72, 0x6b, 0x20, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3c, 0x2f, 0x68, 0x32, 0x3e,
- 0xa, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x74, 0x61, 0x62, 0x6c,
- 0x65, 0x3e, 0xa, 0x3c, 0x74, 0x72, 0x3e, 0x3c, 0x74, 0x68,
- 0x3e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x3c, 0x2f, 0x74, 0x68,
- 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x52, 0x65, 0x6d, 0x6f, 0x74,
- 0x65, 0x3c, 0x2f, 0x74, 0x68, 0x3e, 0x3c, 0x74, 0x68, 0x3e,
- 0x53, 0x74, 0x61, 0x74, 0x65, 0x3c, 0x2f, 0x74, 0x68, 0x3e,
- 0x3c, 0x74, 0x68, 0x3e, 0x52, 0x65, 0x74, 0x72, 0x61, 0x6e,
- 0x73, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3c,
- 0x2f, 0x74, 0x68, 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x54, 0x69,
- 0x6d, 0x65, 0x72, 0x3c, 0x2f, 0x74, 0x68, 0x3e, 0x3c, 0x74,
- 0x68, 0x3e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x3c, 0x2f, 0x74,
- 0x68, 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, 0xa, 0x25, 0x21,
- 0x20, 0x74, 0x63, 0x70, 0x2d, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xa, 0x3c, 0x2f, 0x70,
- 0x72, 0x65, 0x3e, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e,
- 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa, 0x3c,
- 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68,
- 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0xa, 0};
-
-const struct httpd_fsdata_file file_404_html[] = {{NULL, data_404_html, data_404_html + 10, sizeof(data_404_html) - 10}};
-
-const struct httpd_fsdata_file file_index_html[] = {{file_404_html, data_index_html, data_index_html + 12, sizeof(data_index_html) - 12}};
-
-const struct httpd_fsdata_file file_index_shtml[] = {{file_index_html, data_index_shtml, data_index_shtml + 13, sizeof(data_index_shtml) - 13}};
-
-const struct httpd_fsdata_file file_io_shtml[] = {{file_index_shtml, data_io_shtml, data_io_shtml + 10, sizeof(data_io_shtml) - 10}};
-
-const struct httpd_fsdata_file file_runtime_shtml[] = {{file_io_shtml, data_runtime_shtml, data_runtime_shtml + 15, sizeof(data_runtime_shtml) - 15}};
-
-const struct httpd_fsdata_file file_stats_shtml[] = {{file_runtime_shtml, data_stats_shtml, data_stats_shtml + 13, sizeof(data_stats_shtml) - 13}};
-
-const struct httpd_fsdata_file file_tcp_shtml[] = {{file_stats_shtml, data_tcp_shtml, data_tcp_shtml + 11, sizeof(data_tcp_shtml) - 11}};
-
-#define HTTPD_FS_ROOT file_tcp_shtml
-
-#define HTTPD_FS_NUMFILES 7
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fsdata.h b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fsdata.h
deleted file mode 100644
index 52d35c265..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd-fsdata.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2001, Swedish Institute of Computer Science.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the Institute nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * This file is part of the lwIP TCP/IP stack.
- *
- * Author: Adam Dunkels
- *
- * $Id: httpd-fsdata.h,v 1.1 2006/06/07 09:13:08 adam Exp $
- */
-#ifndef __HTTPD_FSDATA_H__
-#define __HTTPD_FSDATA_H__
-
-#include "uip.h"
-
-struct httpd_fsdata_file {
- const struct httpd_fsdata_file *next;
- const char *name;
- const char *data;
- const int len;
-#ifdef HTTPD_FS_STATISTICS
-#if HTTPD_FS_STATISTICS == 1
- u16_t count;
-#endif /* HTTPD_FS_STATISTICS */
-#endif /* HTTPD_FS_STATISTICS */
-};
-
-struct httpd_fsdata_file_noconst {
- struct httpd_fsdata_file *next;
- char *name;
- char *data;
- int len;
-#ifdef HTTPD_FS_STATISTICS
-#if HTTPD_FS_STATISTICS == 1
- u16_t count;
-#endif /* HTTPD_FS_STATISTICS */
-#endif /* HTTPD_FS_STATISTICS */
-};
-
-#endif /* __HTTPD_FSDATA_H__ */
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd.c b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd.c
deleted file mode 100644
index 644cf16b7..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd.c
+++ /dev/null
@@ -1,346 +0,0 @@
-/**
- * \addtogroup apps
- * @{
- */
-
-/**
- * \defgroup httpd Web server
- * @{
- * The uIP web server is a very simplistic implementation of an HTTP
- * server. It can serve web pages and files from a read-only ROM
- * filesystem, and provides a very small scripting language.
-
- */
-
-/**
- * \file
- * Web server
- * \author
- * Adam Dunkels
- */
-
-
-/*
- * Copyright (c) 2004, Adam Dunkels.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the Institute nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * This file is part of the uIP TCP/IP stack.
- *
- * Author: Adam Dunkels
- *
- * $Id: httpd.c,v 1.2 2006/06/11 21:46:38 adam Exp $
- */
-
-#include "uip.h"
-#include "httpd.h"
-#include "httpd-fs.h"
-#include "httpd-cgi.h"
-#include "http-strings.h"
-
-#include
-
-#define STATE_WAITING 0
-#define STATE_OUTPUT 1
-
-#define ISO_nl 0x0a
-#define ISO_space 0x20
-#define ISO_bang 0x21
-#define ISO_percent 0x25
-#define ISO_period 0x2e
-#define ISO_slash 0x2f
-#define ISO_colon 0x3a
-
-
-/*---------------------------------------------------------------------------*/
-static unsigned short
-generate_part_of_file(void *state)
-{
- struct httpd_state *s = (struct httpd_state *)state;
-
- if(s->file.len > uip_mss()) {
- s->len = uip_mss();
- } else {
- s->len = s->file.len;
- }
- memcpy(uip_appdata, s->file.data, s->len);
-
- return s->len;
-}
-/*---------------------------------------------------------------------------*/
-static
-PT_THREAD(send_file(struct httpd_state *s))
-{
- PSOCK_BEGIN(&s->sout);
-
- do {
- PSOCK_GENERATOR_SEND(&s->sout, generate_part_of_file, s);
- s->file.len -= s->len;
- s->file.data += s->len;
- } while(s->file.len > 0);
-
- PSOCK_END(&s->sout);
-}
-/*---------------------------------------------------------------------------*/
-static
-PT_THREAD(send_part_of_file(struct httpd_state *s))
-{
- PSOCK_BEGIN(&s->sout);
-
- PSOCK_SEND(&s->sout, s->file.data, s->len);
-
- PSOCK_END(&s->sout);
-}
-/*---------------------------------------------------------------------------*/
-static void
-next_scriptstate(struct httpd_state *s)
-{
- char *p;
- p = strchr(s->scriptptr, ISO_nl) + 1;
- s->scriptlen -= (unsigned short)(p - s->scriptptr);
- s->scriptptr = p;
-}
-/*---------------------------------------------------------------------------*/
-static
-PT_THREAD(handle_script(struct httpd_state *s))
-{
- char *ptr;
-
- PT_BEGIN(&s->scriptpt);
-
-
- while(s->file.len > 0) {
-
- /* Check if we should start executing a script. */
- if(*s->file.data == ISO_percent &&
- *(s->file.data + 1) == ISO_bang) {
- s->scriptptr = s->file.data + 3;
- s->scriptlen = s->file.len - 3;
- if(*(s->scriptptr - 1) == ISO_colon) {
- httpd_fs_open(s->scriptptr + 1, &s->file);
- PT_WAIT_THREAD(&s->scriptpt, send_file(s));
- } else {
- PT_WAIT_THREAD(&s->scriptpt,
- httpd_cgi(s->scriptptr)(s, s->scriptptr));
- }
- next_scriptstate(s);
-
- /* The script is over, so we reset the pointers and continue
- sending the rest of the file. */
- s->file.data = s->scriptptr;
- s->file.len = s->scriptlen;
- } else {
- /* See if we find the start of script marker in the block of HTML
- to be sent. */
-
- if(s->file.len > uip_mss()) {
- s->len = uip_mss();
- } else {
- s->len = s->file.len;
- }
-
- if(*s->file.data == ISO_percent) {
- ptr = strchr(s->file.data + 1, ISO_percent);
- } else {
- ptr = strchr(s->file.data, ISO_percent);
- }
- if(ptr != NULL &&
- ptr != s->file.data) {
- s->len = (int)(ptr - s->file.data);
- if(s->len >= uip_mss()) {
- s->len = uip_mss();
- }
- }
- PT_WAIT_THREAD(&s->scriptpt, send_part_of_file(s));
- s->file.data += s->len;
- s->file.len -= s->len;
-
- }
- }
-
- PT_END(&s->scriptpt);
-}
-/*---------------------------------------------------------------------------*/
-static
-PT_THREAD(send_headers(struct httpd_state *s, const char *statushdr))
-{
- char *ptr;
-
- PSOCK_BEGIN(&s->sout);
-
- PSOCK_SEND_STR(&s->sout, statushdr);
-
- ptr = strrchr(s->filename, ISO_period);
- if(ptr == NULL) {
- PSOCK_SEND_STR(&s->sout, http_content_type_binary);
- } else if(strncmp(http_html, ptr, 5) == 0 ||
- strncmp(http_shtml, ptr, 6) == 0) {
- PSOCK_SEND_STR(&s->sout, http_content_type_html);
- } else if(strncmp(http_css, ptr, 4) == 0) {
- PSOCK_SEND_STR(&s->sout, http_content_type_css);
- } else if(strncmp(http_png, ptr, 4) == 0) {
- PSOCK_SEND_STR(&s->sout, http_content_type_png);
- } else if(strncmp(http_gif, ptr, 4) == 0) {
- PSOCK_SEND_STR(&s->sout, http_content_type_gif);
- } else if(strncmp(http_jpg, ptr, 4) == 0) {
- PSOCK_SEND_STR(&s->sout, http_content_type_jpg);
- } else {
- PSOCK_SEND_STR(&s->sout, http_content_type_plain);
- }
- PSOCK_END(&s->sout);
-}
-/*---------------------------------------------------------------------------*/
-static
-PT_THREAD(handle_output(struct httpd_state *s))
-{
- char *ptr;
-
- PT_BEGIN(&s->outputpt);
-
- if(!httpd_fs_open(s->filename, &s->file)) {
- httpd_fs_open(http_404_html, &s->file);
- strcpy(s->filename, http_404_html);
- PT_WAIT_THREAD(&s->outputpt,
- send_headers(s,
- http_header_404));
- PT_WAIT_THREAD(&s->outputpt,
- send_file(s));
- } else {
- PT_WAIT_THREAD(&s->outputpt,
- send_headers(s,
- http_header_200));
- ptr = strchr(s->filename, ISO_period);
- if(ptr != NULL && strncmp(ptr, http_shtml, 6) == 0) {
- PT_INIT(&s->scriptpt);
- PT_WAIT_THREAD(&s->outputpt, handle_script(s));
- } else {
- PT_WAIT_THREAD(&s->outputpt,
- send_file(s));
- }
- }
- PSOCK_CLOSE(&s->sout);
- PT_END(&s->outputpt);
-}
-/*---------------------------------------------------------------------------*/
-static
-PT_THREAD(handle_input(struct httpd_state *s))
-{
- PSOCK_BEGIN(&s->sin);
-
- PSOCK_READTO(&s->sin, ISO_space);
-
-
- if(strncmp(s->inputbuf, http_get, 4) != 0) {
- PSOCK_CLOSE_EXIT(&s->sin);
- }
- PSOCK_READTO(&s->sin, ISO_space);
-
- if(s->inputbuf[0] != ISO_slash) {
- PSOCK_CLOSE_EXIT(&s->sin);
- }
-
- if(s->inputbuf[1] == ISO_space) {
- strncpy(s->filename, http_index_html, sizeof(s->filename));
- } else {
-
- s->inputbuf[PSOCK_DATALEN(&s->sin) - 1] = 0;
-
- /* Process any form input being sent to the server. */
- {
- extern void vApplicationProcessFormInput( char *pcInputString, long xInputLength );
- vApplicationProcessFormInput( s->inputbuf, PSOCK_DATALEN(&s->sin) );
- }
-
- strncpy(s->filename, &s->inputbuf[0], sizeof(s->filename));
- }
-
- /* httpd_log_file(uip_conn->ripaddr, s->filename);*/
-
- s->state = STATE_OUTPUT;
-
- while(1) {
- PSOCK_READTO(&s->sin, ISO_nl);
-
- if(strncmp(s->inputbuf, http_referer, 8) == 0) {
- s->inputbuf[PSOCK_DATALEN(&s->sin) - 2] = 0;
- /* httpd_log(&s->inputbuf[9]);*/
- }
- }
-
- PSOCK_END(&s->sin);
-}
-/*---------------------------------------------------------------------------*/
-static void
-handle_connection(struct httpd_state *s)
-{
- handle_input(s);
- if(s->state == STATE_OUTPUT) {
- handle_output(s);
- }
-}
-/*---------------------------------------------------------------------------*/
-void
-httpd_appcall(void)
-{
- struct httpd_state *s = (struct httpd_state *)&(uip_conn->appstate);
-
- if(uip_closed() || uip_aborted() || uip_timedout()) {
- } else if(uip_connected()) {
- PSOCK_INIT(&s->sin, s->inputbuf, sizeof(s->inputbuf) - 1);
- PSOCK_INIT(&s->sout, s->inputbuf, sizeof(s->inputbuf) - 1);
- PT_INIT(&s->outputpt);
- s->state = STATE_WAITING;
- /* timer_set(&s->timer, CLOCK_SECOND * 100);*/
- s->timer = 0;
- handle_connection(s);
- } else if(s != NULL) {
- if(uip_poll()) {
- ++s->timer;
- if(s->timer >= 20) {
- uip_abort();
- }
- } else {
- s->timer = 0;
- }
- handle_connection(s);
- } else {
- uip_abort();
- }
-}
-/*---------------------------------------------------------------------------*/
-/**
- * \brief Initialize the web server
- *
- * This function initializes the web server and should be
- * called at system boot-up.
- */
-void
-httpd_init(void)
-{
- uip_listen(HTONS(80));
-}
-/*---------------------------------------------------------------------------*/
-/** @} */
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd.h b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd.h
deleted file mode 100644
index 7f7a6666e..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/httpd.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2001-2005, Adam Dunkels.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote
- * products derived from this software without specific prior
- * written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This file is part of the uIP TCP/IP stack.
- *
- * $Id: httpd.h,v 1.2 2006/06/11 21:46:38 adam Exp $
- *
- */
-
-#ifndef __HTTPD_H__
-#define __HTTPD_H__
-
-#include "psock.h"
-#include "httpd-fs.h"
-
-struct httpd_state {
- unsigned char timer;
- struct psock sin, sout;
- struct pt outputpt, scriptpt;
- char inputbuf[50];
- char filename[20];
- char state;
- struct httpd_fs_file file;
- int len;
- char *scriptptr;
- int scriptlen;
-
- unsigned short count;
-};
-
-void httpd_init(void);
-void httpd_appcall(void);
-
-void httpd_log(char *msg);
-void httpd_log_file(u16_t *requester, char *file);
-
-#endif /* __HTTPD_H__ */
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/makefsdata b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/makefsdata
deleted file mode 100644
index 8d2715a8a..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/makefsdata
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/usr/bin/perl
-
-open(OUTPUT, "> httpd-fsdata.c");
-
-chdir("httpd-fs");
-
-opendir(DIR, ".");
-@files = grep { !/^\./ && !/(CVS|~)/ } readdir(DIR);
-closedir(DIR);
-
-foreach $file (@files) {
-
- if(-d $file && $file !~ /^\./) {
- print "Processing directory $file\n";
- opendir(DIR, $file);
- @newfiles = grep { !/^\./ && !/(CVS|~)/ } readdir(DIR);
- closedir(DIR);
- printf "Adding files @newfiles\n";
- @files = (@files, map { $_ = "$file/$_" } @newfiles);
- next;
- }
-}
-
-foreach $file (@files) {
- if(-f $file) {
-
- print "Adding file $file\n";
-
- open(FILE, $file) || die "Could not open file $file\n";
-
- $file =~ s-^-/-;
- $fvar = $file;
- $fvar =~ s-/-_-g;
- $fvar =~ s-\.-_-g;
- # for AVR, add PROGMEM here
- print(OUTPUT "static const unsigned char data".$fvar."[] = {\n");
- print(OUTPUT "\t/* $file */\n\t");
- for($j = 0; $j < length($file); $j++) {
- printf(OUTPUT "%#02x, ", unpack("C", substr($file, $j, 1)));
- }
- printf(OUTPUT "0,\n");
-
-
- $i = 0;
- while(read(FILE, $data, 1)) {
- if($i == 0) {
- print(OUTPUT "\t");
- }
- printf(OUTPUT "%#02x, ", unpack("C", $data));
- $i++;
- if($i == 10) {
- print(OUTPUT "\n");
- $i = 0;
- }
- }
- print(OUTPUT "0};\n\n");
- close(FILE);
- push(@fvars, $fvar);
- push(@pfiles, $file);
- }
-}
-
-for($i = 0; $i < @fvars; $i++) {
- $file = $pfiles[$i];
- $fvar = $fvars[$i];
-
- if($i == 0) {
- $prevfile = "NULL";
- } else {
- $prevfile = "file" . $fvars[$i - 1];
- }
- print(OUTPUT "const struct httpd_fsdata_file file".$fvar."[] = {{$prevfile, data$fvar, ");
- print(OUTPUT "data$fvar + ". (length($file) + 1) .", ");
- print(OUTPUT "sizeof(data$fvar) - ". (length($file) + 1) ."}};\n\n");
-}
-
-print(OUTPUT "#define HTTPD_FS_ROOT file$fvars[$i - 1]\n\n");
-print(OUTPUT "#define HTTPD_FS_NUMFILES $i\n");
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/makestrings b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/makestrings
deleted file mode 100644
index 8a13c6d29..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/makestrings
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/perl
-
-
-sub stringify {
- my $name = shift(@_);
- open(OUTPUTC, "> $name.c");
- open(OUTPUTH, "> $name.h");
-
- open(FILE, "$name");
-
- while() {
- if(/(.+) "(.+)"/) {
- $var = $1;
- $data = $2;
-
- $datan = $data;
- $datan =~ s/\\r/\r/g;
- $datan =~ s/\\n/\n/g;
- $datan =~ s/\\01/\01/g;
- $datan =~ s/\\0/\0/g;
-
- printf(OUTPUTC "const char $var\[%d] = \n", length($datan) + 1);
- printf(OUTPUTC "/* \"$data\" */\n");
- printf(OUTPUTC "{");
- for($j = 0; $j < length($datan); $j++) {
- printf(OUTPUTC "%#02x, ", unpack("C", substr($datan, $j, 1)));
- }
- printf(OUTPUTC "};\n");
-
- printf(OUTPUTH "extern const char $var\[%d];\n", length($datan) + 1);
-
- }
- }
- close(OUTPUTC);
- close(OUTPUTH);
-}
-stringify("http-strings");
-
-exit 0;
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c
deleted file mode 100644
index dd617dad3..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c
+++ /dev/null
@@ -1,342 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-/* Standard includes. */
-#include
-
-/* Scheduler includes. */
-#include "FreeRTOS.h"
-#include "task.h"
-#include "semphr.h"
-
-#include "lcd_message.h"
-
-/* uip includes. */
-#include "hw_types.h"
-
-#include "uip.h"
-#include "uip_arp.h"
-#include "httpd.h"
-#include "timer.h"
-#include "clock-arch.h"
-#include "hw_ethernet.h"
-#include "ethernet.h"
-#include "hw_memmap.h"
-#include "lmi_flash.h"
-#include "sysctl.h"
-
-/* Demo includes. */
-#include "emac.h"
-#include "partest.h"
-
-/*-----------------------------------------------------------*/
-
-/* IP address configuration. */
-#define uipIP_ADDR0 172
-#define uipIP_ADDR1 25
-#define uipIP_ADDR2 218
-#define uipIP_ADDR3 19
-
-/* How long to wait before attempting to connect the MAC again. */
-#define uipINIT_WAIT 100
-
-/* Shortcut to the header within the Rx buffer. */
-#define xHeader ((struct uip_eth_hdr *) &uip_buf[ 0 ])
-
-/* Standard constant. */
-#define uipTOTAL_FRAME_HEADER_SIZE 54
-
-/*-----------------------------------------------------------*/
-
-/*
- * Send the uIP buffer to the MAC.
- */
-static void prvENET_Send(void);
-
-/*
- * Setup the MAC address in the MAC itself, and in the uIP stack.
- */
-static void prvSetMACAddress( void );
-
-/*
- * Port functions required by the uIP stack.
- */
-void clock_init( void );
-clock_time_t clock_time( void );
-
-/*-----------------------------------------------------------*/
-
-/* The semaphore used by the ISR to wake the uIP task. */
-extern SemaphoreHandle_t xEMACSemaphore;
-
-/*-----------------------------------------------------------*/
-
-void clock_init(void)
-{
- /* This is done when the scheduler starts. */
-}
-/*-----------------------------------------------------------*/
-
-clock_time_t clock_time( void )
-{
- return xTaskGetTickCount();
-}
-
-
-void vuIP_Task( void *pvParameters )
-{
-portBASE_TYPE i;
-uip_ipaddr_t xIPAddr;
-struct timer periodic_timer, arp_timer;
-extern void ( vEMAC_ISR )( void );
-
- /* Enable/Reset the Ethernet Controller */
- SysCtlPeripheralEnable( SYSCTL_PERIPH_ETH );
- SysCtlPeripheralReset( SYSCTL_PERIPH_ETH );
-
- /* Create the semaphore used by the ISR to wake this task. */
- vSemaphoreCreateBinary( xEMACSemaphore );
-
- /* Initialise the uIP stack. */
- timer_set( &periodic_timer, configTICK_RATE_HZ / 2 );
- timer_set( &arp_timer, configTICK_RATE_HZ * 10 );
- uip_init();
- uip_ipaddr( xIPAddr, uipIP_ADDR0, uipIP_ADDR1, uipIP_ADDR2, uipIP_ADDR3 );
- uip_sethostaddr( xIPAddr );
- httpd_init();
-
- while( vInitEMAC() != pdPASS )
- {
- vTaskDelay( uipINIT_WAIT );
- }
- prvSetMACAddress();
-
-
- for( ;; )
- {
- /* Is there received data ready to be processed? */
- uip_len = uiGetEMACRxData( uip_buf );
-
- if( uip_len > 0 )
- {
- /* Standard uIP loop taken from the uIP manual. */
-
- if( xHeader->type == htons( UIP_ETHTYPE_IP ) )
- {
- uip_arp_ipin();
- uip_input();
-
- /* If the above function invocation resulted in data that
- should be sent out on the network, the global variable
- uip_len is set to a value > 0. */
- if( uip_len > 0 )
- {
- uip_arp_out();
- prvENET_Send();
- }
- }
- else if( xHeader->type == htons( UIP_ETHTYPE_ARP ) )
- {
- uip_arp_arpin();
-
- /* If the above function invocation resulted in data that
- should be sent out on the network, the global variable
- uip_len is set to a value > 0. */
- if( uip_len > 0 )
- {
- prvENET_Send();
- }
- }
- }
- else
- {
- if( timer_expired( &periodic_timer ) )
- {
- timer_reset( &periodic_timer );
- for( i = 0; i < UIP_CONNS; i++ )
- {
- uip_periodic( i );
-
- /* If the above function invocation resulted in data that
- should be sent out on the network, the global variable
- uip_len is set to a value > 0. */
- if( uip_len > 0 )
- {
- uip_arp_out();
- prvENET_Send();
- }
- }
-
- /* Call the ARP timer function every 10 seconds. */
- if( timer_expired( &arp_timer ) )
- {
- timer_reset( &arp_timer );
- uip_arp_timer();
- }
- }
- else
- {
- /* We did not receive a packet, and there was no periodic
- processing to perform. Block for a fixed period. If a packet
- is received during this period we will be woken by the ISR
- giving us the Semaphore. */
- xSemaphoreTake( xEMACSemaphore, configTICK_RATE_HZ / 2 );
- }
- }
- }
-}
-/*-----------------------------------------------------------*/
-
-static void prvENET_Send(void)
-{
- vInitialiseSend();
- vIncrementTxLength( uip_len );
- vSendBufferToMAC();
-}
-/*-----------------------------------------------------------*/
-
-static void prvSetMACAddress( void )
-{
-unsigned long ulUser0, ulUser1;
-unsigned char pucMACArray[8];
-struct uip_eth_addr xAddr;
-
- /* Get the device MAC address from flash */
- FlashUserGet(&ulUser0, &ulUser1);
-
- /* Convert the MAC address from flash into sequence of bytes. */
- pucMACArray[0] = ((ulUser0 >> 0) & 0xff);
- pucMACArray[1] = ((ulUser0 >> 8) & 0xff);
- pucMACArray[2] = ((ulUser0 >> 16) & 0xff);
- pucMACArray[3] = ((ulUser1 >> 0) & 0xff);
- pucMACArray[4] = ((ulUser1 >> 8) & 0xff);
- pucMACArray[5] = ((ulUser1 >> 16) & 0xff);
-
- /* Program the MAC address. */
- EthernetMACAddrSet(ETH_BASE, pucMACArray);
-
- xAddr.addr[ 0 ] = pucMACArray[0];
- xAddr.addr[ 1 ] = pucMACArray[1];
- xAddr.addr[ 2 ] = pucMACArray[2];
- xAddr.addr[ 3 ] = pucMACArray[3];
- xAddr.addr[ 4 ] = pucMACArray[4];
- xAddr.addr[ 5 ] = pucMACArray[5];
- uip_setethaddr( xAddr );
-}
-/*-----------------------------------------------------------*/
-
-void vApplicationProcessFormInput( char *pcInputString, portBASE_TYPE xInputLength )
-{
-char *c, *pcText;
-static char cMessageForDisplay[ 32 ];
-extern QueueHandle_t xOLEDQueue;
-xOLEDMessage xOLEDMessage;
-
- /* Process the form input sent by the IO page of the served HTML. */
-
- c = strstr( pcInputString, "?" );
-
- if( c )
- {
- /* Turn LED's on or off in accordance with the check box status. */
- if( strstr( c, "LED0=1" ) != NULL )
- {
- vParTestSetLED( 0, 1 );
- }
- else
- {
- vParTestSetLED( 0, 0 );
- }
-
- /* Find the start of the text to be displayed on the LCD. */
- pcText = strstr( c, "LCD=" );
- pcText += strlen( "LCD=" );
-
- /* Terminate the file name for further processing within uIP. */
- *c = 0x00;
-
- /* Terminate the LCD string. */
- c = strstr( pcText, " " );
- if( c != NULL )
- {
- *c = 0x00;
- }
-
- /* Add required spaces. */
- while( ( c = strstr( pcText, "+" ) ) != NULL )
- {
- *c = ' ';
- }
-
- /* Write the message to the LCD. */
- strcpy( cMessageForDisplay, pcText );
- xOLEDMessage.pcMessage = cMessageForDisplay;
- xQueueSend( xOLEDQueue, &xOLEDMessage, portMAX_DELAY );
- }
-}
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uip-conf.h b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uip-conf.h
deleted file mode 100644
index 664077d89..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uip-conf.h
+++ /dev/null
@@ -1,159 +0,0 @@
-/**
- * \addtogroup uipopt
- * @{
- */
-
-/**
- * \name Project-specific configuration options
- * @{
- *
- * uIP has a number of configuration options that can be overridden
- * for each project. These are kept in a project-specific uip-conf.h
- * file and all configuration names have the prefix UIP_CONF.
- */
-
-/*
- * Copyright (c) 2006, Swedish Institute of Computer Science.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the Institute nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * This file is part of the uIP TCP/IP stack
- *
- * $Id: uip-conf.h,v 1.6 2006/06/12 08:00:31 adam Exp $
- */
-
-/**
- * \file
- * An example uIP configuration file
- * \author
- * Adam Dunkels
- */
-
-#ifndef __UIP_CONF_H__
-#define __UIP_CONF_H__
-
-#include
-
-/**
- * 8 bit datatype
- *
- * This typedef defines the 8-bit type used throughout uIP.
- *
- * \hideinitializer
- */
-typedef uint8_t u8_t;
-
-/**
- * 16 bit datatype
- *
- * This typedef defines the 16-bit type used throughout uIP.
- *
- * \hideinitializer
- */
-typedef uint16_t u16_t;
-
-/**
- * Statistics datatype
- *
- * This typedef defines the dataype used for keeping statistics in
- * uIP.
- *
- * \hideinitializer
- */
-typedef unsigned short uip_stats_t;
-
-/**
- * Maximum number of TCP connections.
- *
- * \hideinitializer
- */
-#define UIP_CONF_MAX_CONNECTIONS 40
-
-/**
- * Maximum number of listening TCP ports.
- *
- * \hideinitializer
- */
-#define UIP_CONF_MAX_LISTENPORTS 40
-
-/**
- * uIP buffer size.
- *
- * \hideinitializer
- */
-#define UIP_CONF_BUFFER_SIZE 1500
-
-/**
- * CPU byte order.
- *
- * \hideinitializer
- */
-#define UIP_CONF_BYTE_ORDER LITTLE_ENDIAN
-
-/**
- * Logging on or off
- *
- * \hideinitializer
- */
-#define UIP_CONF_LOGGING 0
-
-/**
- * UDP support on or off
- *
- * \hideinitializer
- */
-#define UIP_CONF_UDP 0
-
-/**
- * UDP checksums on or off
- *
- * \hideinitializer
- */
-#define UIP_CONF_UDP_CHECKSUMS 1
-
-/**
- * uIP statistics on or off
- *
- * \hideinitializer
- */
-#define UIP_CONF_STATISTICS 1
-
-/* Here we include the header file for the application(s) we use in
- our project. */
-/*#include "smtp.h"*/
-/*#include "hello-world.h"*/
-/*#include "telnetd.h"*/
-#include "webserver.h"
-/*#include "dhcpc.h"*/
-/*#include "resolv.h"*/
-/*#include "webclient.h"*/
-
-#define UIP_CONF_EXTERNAL_BUFFER
-
-#endif /* __UIP_CONF_H__ */
-
-/** @} */
-/** @} */
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/webserver.h b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/webserver.h
deleted file mode 100644
index 1acb290b8..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/webserver.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2002, Adam Dunkels.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials provided
- * with the distribution.
- * 3. The name of the author may not be used to endorse or promote
- * products derived from this software without specific prior
- * written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This file is part of the uIP TCP/IP stack
- *
- * $Id: webserver.h,v 1.2 2006/06/11 21:46:38 adam Exp $
- *
- */
-#ifndef __WEBSERVER_H__
-#define __WEBSERVER_H__
-
-#include "httpd.h"
-
-typedef struct httpd_state uip_tcp_appstate_t;
-/* UIP_APPCALL: the name of the application function. This function
- must return void and take no arguments (i.e., C type "void
- appfunc(void)"). */
-#ifndef UIP_APPCALL
-#define UIP_APPCALL httpd_appcall
-#endif
-
-
-#endif /* __WEBSERVER_H__ */
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/ReadMe.txt b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/ReadMe.txt
new file mode 100644
index 000000000..ad84b2770
--- /dev/null
+++ b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/ReadMe.txt
@@ -0,0 +1,3 @@
+If you need the demo that used to be in this directory then download FreeRTOS V8.2.3
+from http://sourceforge.net/projects/freertos/files/FreeRTOS/
+
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/fury_ft2232.cfg b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/fury_ft2232.cfg
deleted file mode 100644
index 8f2b3ed1e..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/fury_ft2232.cfg
+++ /dev/null
@@ -1,28 +0,0 @@
-#daemon configuration
-telnet_port 4444
-gdb_port 3333
-
-#interface
-interface ft2232
-ft2232_device_desc "Stellaris Evaluation Board A"
-ft2232_layout evb_lm3s811
-ft2232_vid_pid 0x0403 0xbcd9
-jtag_speed 40
-#LM3S811 Evaluation Board has only srst
-reset_config srst_only separate
-
-#jtag scan chain
-#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
-jtag_device 4 0x1 0xf 0xe
-
-#target configuration
-daemon_startup attach
-#target
-#target arm7tdmi
-target cortex_m3 little run_and_halt 0
-# 4k working area at base of ram
-working_area 0 0x20000800 0x1200 nobackup
-#target_script 0 reset ../doc/scripts/evb_lm3s811_test.script
-
-#flash configuration
-flash bank stellaris 0 0 0 0 0
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/fury_ft2232_flash.cfg b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/fury_ft2232_flash.cfg
deleted file mode 100644
index 28ffaea9e..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/fury_ft2232_flash.cfg
+++ /dev/null
@@ -1,34 +0,0 @@
-#daemon configuration
-telnet_port 4444
-gdb_port 3333
-
-#interface
-interface ft2232
-ft2232_device_desc "Stellaris Evaluation Board A"
-ft2232_layout evb_lm3s811
-ft2232_vid_pid 0x0403 0xbcd9
-jtag_speed 40
-#LM3S811 Evaluation Board has only srst
-reset_config srst_only separate
-
-#jtag scan chain
-#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
-jtag_device 4 0x1 0xf 0xe
-
-#target configuration
-daemon_startup reset
-#target
-#target arm7tdmi
-target cortex_m3 little run_and_init 0
-# 4k working area at base of ram
-working_area 0 0x20000800 0x1200 nobackup
-#target_script 0 reset ../doc/scripts/evb_lm3s811_test.script
-
-target_script 0 reset program.script
-
-
-#flash configuration
-flash bank stellaris 0 0 0 0 0
-
-
-
diff --git a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/program.script b/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/program.script
deleted file mode 100644
index 314624b33..000000000
--- a/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/program.script
+++ /dev/null
@@ -1,17 +0,0 @@
-halt
-sleep 200
-wait_halt
-flash probe 0
-#sleep 500
-flash info 0
-#sleep 500
-#flash protect 0 0 31 off
-#sleep 500
-flash erase 0 0 255
-sleep 200
-flash write 0 ./RTOSDemo/RTOSDemo.bin 0
-sleep 200
-reset run
-shutdown
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.mylyn/repositories.xml.zip b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.mylyn/repositories.xml.zip
deleted file mode 100644
index 13c44b315..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.mylyn/repositories.xml.zip and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.core/shareddefaults.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.core/shareddefaults.xml
deleted file mode 100644
index c4b91cfab..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.core/shareddefaults.xml
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/RTOSDemo.sc b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/RTOSDemo.sc
deleted file mode 100644
index de82d03f9..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/RTOSDemo.sc
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
deleted file mode 100644
index 8b1378917..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp
deleted file mode 100644
index 8b1378917..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.ui/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.ui/dialog_settings.xml
deleted file mode 100644
index 9e62c4bb5..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.make.ui/dialog_settings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml
deleted file mode 100644
index 0f4312f5b..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/5e/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/5e/properties.index
deleted file mode 100644
index 55b693cd1..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/5e/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/e7/74/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/e7/74/properties.index
deleted file mode 100644
index 65b23da54..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/e7/74/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/e7/a1/history.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/e7/a1/history.index
deleted file mode 100644
index 963b1e7d5..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/e7/a1/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/e7/a1/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/e7/a1/properties.index
deleted file mode 100644
index b5730191d..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/5b/e7/a1/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/a8/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/a8/properties.index
deleted file mode 100644
index abbc37d64..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/a8/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/history.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/history.index
deleted file mode 100644
index c5cf41111..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/properties.index
deleted file mode 100644
index bf577a131..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/18/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/b3/history.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/b3/history.index
deleted file mode 100644
index ba20cd86e..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/b3/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/b3/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/b3/properties.index
deleted file mode 100644
index 2c03dd8d6..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/b3/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/c/history.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/c/history.index
deleted file mode 100644
index 49cdc0bf2..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/c/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/c/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/c/properties.index
deleted file mode 100644
index 590bd1ed0..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/c/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/c7/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/c7/properties.index
deleted file mode 100644
index 233042ab4..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/c7/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/29/7f/99/81/ce/1e/history.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/29/7f/99/81/ce/1e/history.index
deleted file mode 100644
index c2260f711..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/29/7f/99/81/ce/1e/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/29/7f/99/81/ce/1e/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/29/7f/99/81/ce/1e/properties.index
deleted file mode 100644
index a110cd1e9..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/29/7f/99/81/ce/1e/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/29/7f/e4/1a/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/29/7f/e4/1a/properties.index
deleted file mode 100644
index db1ed28b1..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/29/7f/e4/1a/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/7f/history.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/7f/history.index
deleted file mode 100644
index 9c3b710f6..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/7f/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/7f/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/7f/properties.index
deleted file mode 100644
index 8a3c2d269..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/7f/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/a8/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/a8/properties.index
deleted file mode 100644
index 15210a180..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/f7/a8/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/history.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/history.index
deleted file mode 100644
index 3dc96638d..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/history.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/properties.index
deleted file mode 100644
index df1bd1c00..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.indexes/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.markers b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.markers
deleted file mode 100644
index 8d2a7b7f2..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/RTOSDemo/.markers and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
deleted file mode 100644
index 25cb955ba..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index
deleted file mode 100644
index 568dd1812..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
deleted file mode 100644
index 6b2aaa764..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/33.tree b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/33.tree
deleted file mode 100644
index 8caa082d4..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/33.tree and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
deleted file mode 100644
index 6b7a59eb1..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prefs
deleted file mode 100644
index 22fce9ee3..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 05 14:13:37 BST 2008
-eclipse.preferences.version=1
-environment/workspace=\r\n\r\n
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-RTOSDemo.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-RTOSDemo.prefs
deleted file mode 100644
index 60f85b642..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-RTOSDemo.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 05 11:49:38 BST 2008
-eclipse.preferences.version=1
-indexer/preferenceScope=0
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs
deleted file mode 100644
index 48eda0600..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 05 11:54:06 BST 2008
-org.eclipse.cdt.debug.core.cDebug.common_source_containers=\r\n\r\n\r\n\r\n
-eclipse.preferences.version=1
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.ui.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.ui.prefs
deleted file mode 100644
index 5ddd9a153..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.ui.prefs
+++ /dev/null
@@ -1,10 +0,0 @@
-#Fri Aug 08 13:44:18 BST 2008
-org.eclipse.debug.ui.DebugView.org.eclipse.cdt.debug.ui.cDebug.show_full_paths=true
-columnOrderKeyEXE=0,1,2,3,4,5
-visibleColumnsKeySF=1,1,0,0,0,0
-org.eclipse.debug.ui.BreakpointView.org.eclipse.cdt.debug.ui.cDebug.show_full_paths=true
-visibleColumnsKeyEXE=1,1,1,0,0,0
-columnSortDirectionKeyEXE=128
-eclipse.preferences.version=1
-columnOrderKeySF=0,1,2,3,4,5
-columnSortDirectionKeySF=128
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.managedbuilder.core.prefs
deleted file mode 100644
index 7fc729c02..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.managedbuilder.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Thu Aug 14 13:44:43 BST 2008
-eclipse.preferences.version=1
-properties/RTOSDemo.null.38326818/0.1348192838=\#\r\n\#Thu Aug 14 13\:44\:43 BST 2008\r\norg.eclipse.cdt.build.core.settings.holder.1053974197\=\\\#\\r\\n\\\#Thu Aug 14 13\\\:44\\\:43 BST 2008\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.804763436\=\\\#\\r\\n\\\#Thu Aug 14 13\\\:44\\\:43 BST 2008\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.libs.1997217404\=\\\#\\r\\n\\\#Thu Aug 14 13\\\:44\\\:43 BST 2008\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.99587291\=\\\#\\r\\n\\\#Thu Aug 14 13\\\:44\\\:43 BST 2008\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.prefbase.toolchain.1423010524\=\\\#\\r\\n\\\#Thu Aug 14 13\\\:44\\\:43 BST 2008\\r\\nrebuildState\\\=false\\r\\n\r\n0.1348192838\=\\\#\\r\\n\\\#Thu Aug 14 13\\\:44\\\:43 BST 2008\\r\\nrcState\\\=0\\r\\nrebuildState\\\=false\\r\\n\r\n
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.mylyn.ui.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.mylyn.ui.prefs
deleted file mode 100644
index 9a9fd0caf..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.mylyn.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 05 17:26:23 BST 2008
-org.eclipse.mylyn.ui.first.run.0_4_9=false
-eclipse.preferences.version=1
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs
deleted file mode 100644
index d4bb8bce5..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs
+++ /dev/null
@@ -1,14 +0,0 @@
-#Tue Aug 05 14:13:37 BST 2008
-useQuickDiffPrefPage=true
-closeBrackets=false
-useAnnotationsPrefPage=true
-spelling_locale=en_GB
-sourceHoverBackgroundColor=255,255,225
-org.eclipse.cdt.ui.text.custom_code_templates=
-closeAngularBrackets=false
-spelling_locale_initialized=true
-eclipse.preferences.version=1
-org.eclipse.cdt.ui.text.templates.custom=
-content_assist_disabled_computers=org.eclipse.cdt.ui.cdtNoTypeProposalCategory\u0000org.eclipse.cdt.ui.cdtTypeProposalCategory\u0000org.eclipse.cdt.ui.textProposalCategory\u0000org.eclipse.cdt.ui.templateProposalCategory\u0000
-closeBraces=false
-closeStrings=false
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index dcbdbb866..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,5 +0,0 @@
-#Wed Aug 06 16:58:53 BST 2008
-version=1
-eclipse.preferences.version=1
-pathvariable.FREERTOS_ROOT=C\:/E/Dev/FreeRTOS/WorkingCopy2
-description.autobuilding=false
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs
deleted file mode 100644
index c49debf46..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Thu Aug 14 12:45:14 BST 2008
-prefWatchExpressions=\r\n\r\n
-eclipse.preferences.version=1
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
deleted file mode 100644
index b6e710942..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-#Thu Aug 14 13:47:55 BST 2008
-org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=\r\n\r\n
-pref_state_memento.org.eclipse.debug.ui.VariableView=\r\n\r\n\r\n
-pref_state_memento.org.eclipse.debug.ui.RegisterView=\r\n\r\n\r\n\r\n\r\n
-org.eclipse.debug.ui.memory.columnSize\:org.eclipse.cdt.debug.core=4
-pref_state_memento.org.eclipse.debug.ui.ExpressionView=\r\n
-preferredDetailPanes=DefaultDetailPane\:DefaultDetailPane|
-org.eclipse.debug.ui.switch_perspective_on_suspend=always
-eclipse.preferences.version=1
-org.eclipse.debug.ui.memory.rowSize\:org.eclipse.cdt.debug.core=16
-org.eclipse.debug.ui.user_view_bindings=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.equinox.p2.ui.sdk.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.equinox.p2.ui.sdk.prefs
deleted file mode 100644
index bd32f34f8..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.equinox.p2.ui.sdk.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 05 11:47:31 BST 2008
-eclipse.preferences.version=1
-autoUpdateInit=true
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0af70e2ad..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 05 11:54:43 BST 2008
-eclipse.preferences.version=1
-org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.debug.ui.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.debug.ui.prefs
deleted file mode 100644
index 279c3abae..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.debug.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Mon Aug 11 13:09:15 BST 2008
-org.eclipse.debug.ui.VariableView.org.eclipse.jdt.debug.ui.show_null_entries=true
-eclipse.preferences.version=1
-org.eclipse.debug.ui.ExpressionView.org.eclipse.jdt.debug.ui.show_null_entries=true
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 7997d379a..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,17 +0,0 @@
-#Tue Aug 05 13:17:49 BST 2008
-useQuickDiffPrefPage=true
-proposalOrderMigrated=true
-tabWidthPropagated=true
-content_assist_proposals_background=255,255,255
-org.eclipse.jdt.ui.javadoclocations.migrated=true
-useAnnotationsPrefPage=true
-spelling_locale=en_GB
-org.eclipse.jdt.internal.ui.navigator.layout=2
-org.eclipse.jface.textfont=1|Courier New|10.0|0|WINDOWS|1|0|0|0|0|0|0|0|0|1|0|0|0|0|Courier New;
-org.eclipse.jdt.ui.editor.tab.width=
-org.eclipse.jdt.ui.formatterprofiles.version=11
-content_assist_number_of_computers=9
-spelling_locale_initialized=true
-eclipse.preferences.version=1
-content_assist_proposals_foreground=0,0,0
-fontPropagated=true
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs
deleted file mode 100644
index e9db6deb7..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 05 11:47:26 BST 2008
-eclipse.preferences.version=1
-mylyn.attention.migrated=true
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.search.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.search.prefs
deleted file mode 100644
index e251dc918..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.search.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Aug 11 07:30:25 BST 2008
-org.eclipse.search.defaultPerspective=org.eclipse.search.defaultPerspective.none
-eclipse.preferences.version=1
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs
deleted file mode 100644
index 910eb5f65..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Fri Aug 08 13:44:18 BST 2008
-eclipse.preferences.version=1
-org.eclipse.team.ui.first_time=false
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs
deleted file mode 100644
index bb037cd08..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Thu Aug 14 11:07:33 BST 2008
-eclipse.preferences.version=1
-internalWebBrowserHistory=http\://www.eclipse.org/|*|http\://www.eclipse.org|*|C\:\\E\\Dev\\FreeRTOS\\DOC\\CurrentWebSite\\banners\\ColdFire-RTOS-Port-Using-Eclipse.html|*|file\:/C\:/E/Dev/FreeRTOS/DOC/CurrentWebSite/banners/ColdFire-RTOS-Port-Using-Eclipse.html|*|
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
deleted file mode 100644
index 09140114c..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 05 11:56:04 BST 2008
-eclipse.preferences.version=1
-overviewRuler_migration=migrated_3.1
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
deleted file mode 100644
index a90c60463..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
+++ /dev/null
@@ -1,6 +0,0 @@
-#Thu Aug 14 14:16:27 BST 2008
-eclipse.preferences.version=1
-TASKS_FILTERS_MIGRATE=true
-tipsAndTricks=true
-platformState=1218719749090
-PROBLEMS_FILTERS_MIGRATE=true
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
deleted file mode 100644
index 85ba15af6..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Tue Aug 12 16:13:20 BST 2008
-eclipse.preferences.version=1
-showIntro=false
-KEY_CONFIGURATION_ID=org.eclipse.cdt.ui.visualstudio
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
deleted file mode 100644
index b1c839276..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
+++ /dev/null
@@ -1,5 +0,0 @@
-#Tue Aug 12 15:02:23 BST 2008
-resourcetypes=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
-eclipse.preferences.version=1
-editors=\r\n\r\n\r\n\r\n\r\n\r\n
-org.eclipse.ui.commands=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch
deleted file mode 100644
index 2cf87b3a0..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml
deleted file mode 100644
index 32c2d7ffa..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
deleted file mode 100644
index 31ce49359..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
deleted file mode 100644
index 46ba64d91..000000000
Binary files a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat and /dev/null differ
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml
deleted file mode 100644
index 6cd956293..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
deleted file mode 100644
index 8c365b725..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
deleted file mode 100644
index e615779c9..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml
deleted file mode 100644
index 1ef2b05b5..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties
deleted file mode 100644
index f9f37bc35..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-#Cached timestamps
-#Tue Aug 05 11:56:05 BST 2008
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml
deleted file mode 100644
index 54c4e7657..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml
deleted file mode 100644
index 1ef77640b..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml
deleted file mode 100644
index d3014f5c1..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml
deleted file mode 100644
index 3810fce98..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
deleted file mode 100644
index 84cbbbf3c..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
deleted file mode 100644
index 14288dd97..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
+++ /dev/null
@@ -1,401 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
deleted file mode 100644
index a16dd11b7..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/version.ini b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/version.ini
deleted file mode 100644
index c51ff745b..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/.metadata/version.ini
+++ /dev/null
@@ -1 +0,0 @@
-org.eclipse.core.runtime=1
\ No newline at end of file
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject
deleted file mode 100644
index 74792ab2c..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject
+++ /dev/null
@@ -1,218 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.project b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.project
deleted file mode 100644
index 9627c21f8..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.project
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
- RTOSDemo
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
- clean,full,incremental,
-
-
- ?name?
-
-
-
- org.eclipse.cdt.make.core.append_environment
- true
-
-
- org.eclipse.cdt.make.core.autoBuildTarget
- all
-
-
- org.eclipse.cdt.make.core.buildArguments
-
-
-
- org.eclipse.cdt.make.core.buildCommand
- cs-make
-
-
- org.eclipse.cdt.make.core.cleanBuildTarget
- clean
-
-
- org.eclipse.cdt.make.core.contents
- org.eclipse.cdt.make.core.activeConfigSettings
-
-
- org.eclipse.cdt.make.core.enableAutoBuild
- false
-
-
- org.eclipse.cdt.make.core.enableCleanBuild
- true
-
-
- org.eclipse.cdt.make.core.enableFullBuild
- true
-
-
- org.eclipse.cdt.make.core.fullBuildTarget
- all
-
-
- org.eclipse.cdt.make.core.stopOnError
- true
-
-
- org.eclipse.cdt.make.core.useDefaultBuildCmd
- false
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.core.cnature
-
-
-
- Demo_Source
- 2
- FREERTOS_ROOT/Demo/Common
-
-
- FreeRTOS_Source
- 2
- FREERTOS_ROOT/Source
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h
deleted file mode 100644
index d507b4622..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h
+++ /dev/null
@@ -1,127 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-#ifndef FREERTOS_CONFIG_H
-#define FREERTOS_CONFIG_H
-
-#include "MCF5282.h"
-
-/*-----------------------------------------------------------
- * Application specific definitions.
- *
- * These definitions should be adjusted for your particular hardware and
- * application requirements.
- *
- * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
- * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
- *
- * See http://www.freertos.org/a00110.html.
- *----------------------------------------------------------*/
-
-#define configUSE_PREEMPTION 1
-#define configUSE_IDLE_HOOK 0
-#define configUSE_TICK_HOOK 0
-#define configCPU_CLOCK_HZ ( ( unsigned long ) 64000000 )
-#define configTICK_RATE_HZ ( ( TickType_t ) 100 )
-#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 190 )
-#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 40000 ) )
-#define configMAX_TASK_NAME_LEN ( 12 )
-#define configUSE_TRACE_FACILITY 1
-#define configUSE_16_BIT_TICKS 0
-#define configIDLE_SHOULD_YIELD 0
-#define configUSE_CO_ROUTINES 0
-#define configUSE_MUTEXES 1
-#define configCHECK_FOR_STACK_OVERFLOW 1
-#define configUSE_RECURSIVE_MUTEXES 1
-#define configQUEUE_REGISTRY_SIZE 10
-#define configUSE_COUNTING_SEMAPHORES 0
-
-#define configMAX_PRIORITIES ( 6 )
-#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
-
-/* Set the following definitions to 1 to include the API function, or zero
-to exclude the API function. */
-
-#define INCLUDE_vTaskPrioritySet 1
-#define INCLUDE_uxTaskPriorityGet 1
-#define INCLUDE_vTaskDelete 1
-#define INCLUDE_vTaskCleanUpResources 0
-#define INCLUDE_vTaskSuspend 1
-#define INCLUDE_vTaskDelayUntil 1
-#define INCLUDE_vTaskDelay 1
-#define INCLUDE_uxTaskGetStackHighWaterMark 1
-#define INCLUDE_eTaskGetState 1
-
-#define configYIELD_INTERRUPT_VECTOR 16UL
-#define configKERNEL_INTERRUPT_PRIORITY 1
-#define configMAX_SYSCALL_INTERRUPT_PRIORITY 4
-
-void vApplicationSetupInterrupts( void );
-
-#endif /* FREERTOS_CONFIG_H */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c
deleted file mode 100644
index ffa7b70ea..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-#include "FreeRTOS.h"
-#include "task.h"
-
-/* Constants used to configure the interrupts. */
-#define portPRESCALE_VALUE 64
-#define portPRESCALE_REG_SETTING ( 5 << 8 )
-#define portPIT_INTERRUPT_ENABLED ( 0x08 )
-#define configPIT0_INTERRUPT_VECTOR ( 55 )
-
-/*
- * FreeRTOS.org requires two interrupts - a tick interrupt generated from a
- * timer source, and a spare interrupt vector used for context switching.
- * The configuration below uses PIT0 for the former, and vector 16 for the
- * latter. **IF YOUR APPLICATION HAS BOTH OF THESE INTERRUPTS FREE THEN YOU DO
- * NOT NEED TO CHANGE ANY OF THIS CODE** - otherwise instructions are provided
- * here for using alternative interrupt sources.
- *
- * To change the tick interrupt source:
- *
- * 1) Modify vApplicationSetupInterrupts() below to be correct for whichever
- * peripheral is to be used to generate the tick interrupt.
- *
- * 2) Change the name of the function __cs3_isr_interrupt_119() defined within
- * this file to be correct for the interrupt vector used by the timer peripheral.
- * The name of the function should contain the vector number, so by default vector
- * number 119 is being used.
- *
- * 3) Make sure the tick interrupt is cleared within the interrupt handler function.
- * Currently __cs3_isr_interrupt_119() clears the PIT0 interrupt.
- *
- * To change the spare interrupt source:
- *
- * 1) Modify vApplicationSetupInterrupts() below to be correct for whichever
- * interrupt vector is to be used. Make sure you use a spare interrupt on interrupt
- * controller 0, otherwise the register used to request context switches will also
- * require modification. By default vector 16 is used which is free on most MCF52xxx
- * devices.
- *
- * 2) Change the definition of configYIELD_INTERRUPT_VECTOR within FreeRTOSConfig.h
- * to be correct for your chosen interrupt vector.
- *
- * 3) Change the name of the function __cs3_isr_interrupt_80() within portasm.S
- * to be correct for whichever vector number is being used. By default interrupt
- * controller 0 vector number 16 is used, which corresponds to vector number 80.
- */
-void vApplicationSetupInterrupts( void )
-{
-const unsigned short usCompareMatchValue = ( ( configCPU_CLOCK_HZ / portPRESCALE_VALUE ) / configTICK_RATE_HZ );
-
- /* Configure interrupt priority and level and unmask interrupt for PIT0. */
- MCF_INTC0_ICR55 = ( 1 | ( configKERNEL_INTERRUPT_PRIORITY << 3 ) );
- MCF_INTC0_IMRH &= ~( MCF_INTC_IMRH_INT_MASK55 );
-
- /* Do the same for vector 16 (interrupt controller 0). I don't think the
- write to MCF_INTC0_IMRH is actually required here but is included for
- completeness. */
- MCF_INTC0_ICR16 = ( 0 | ( configKERNEL_INTERRUPT_PRIORITY << 3 ) );
- MCF_INTC0_IMRH &= ~( MCF_INTC_IPRL_INT16 );
-
- /* Configure PIT0 to generate the RTOS tick. */
- MCF_PIT0_PCSR |= MCF_PIT_PCSR_PIF;
- MCF_PIT0_PCSR = ( portPRESCALE_REG_SETTING | MCF_PIT_PCSR_PIE | MCF_PIT_PCSR_RLD | MCF_PIT_PCSR_EN );
- MCF_PIT0_PMR = usCompareMatchValue;
-}
-/*-----------------------------------------------------------*/
-
-void __attribute__ ((interrupt)) __cs3_isr_interrupt_119( void )
-{
-unsigned long ulSavedInterruptMask;
-
- /* Clear the PIT0 interrupt. */
- MCF_PIT0_PCSR |= MCF_PIT_PCSR_PIF;
-
- /* Increment the RTOS tick. */
- ulSavedInterruptMask = portSET_INTERRUPT_MASK_FROM_ISR();
- if( xTaskIncrementTick() != pdFALSE )
- {
- taskYIELD();
- }
- portCLEAR_INTERRUPT_MASK_FROM_ISR( ulSavedInterruptMask );
-}
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.c b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.c
deleted file mode 100644
index e86d9e567..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.c
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-#include "FreeRTOS.h"
-#include "IntQueueTimer.h"
-#include "IntQueue.h"
-
-#define timerINTERRUPT1_FREQUENCY ( 2000UL )
-#define timerINTERRUPT2_FREQUENCY ( 2001UL )
-#define timerPRESCALE_VALUE ( 2 )
-
-void vInitialiseTimerForIntQueueTest( void )
-{
-const unsigned short usCompareMatchValue1 = ( unsigned short ) ( ( configCPU_CLOCK_HZ / timerPRESCALE_VALUE ) / timerINTERRUPT1_FREQUENCY );
-const unsigned short usCompareMatchValue2 = ( unsigned short ) ( ( configCPU_CLOCK_HZ / timerPRESCALE_VALUE ) / timerINTERRUPT2_FREQUENCY );
-
- /* Configure interrupt priority and level and unmask interrupt. */
- MCF_INTC0_ICR56 = ( ( configMAX_SYSCALL_INTERRUPT_PRIORITY - 1 ) << 3 );
- MCF_INTC0_IMRH &= ~( MCF_INTC_IMRH_INT_MASK56 );
-
- MCF_PIT1_PCSR |= MCF_PIT_PCSR_PIF;
- MCF_PIT1_PCSR = ( MCF_PIT_PCSR_PIE | MCF_PIT_PCSR_RLD | MCF_PIT_PCSR_EN );
- MCF_PIT1_PMR = usCompareMatchValue1;
-
- MCF_INTC0_ICR57 = ( configMAX_SYSCALL_INTERRUPT_PRIORITY << 3 );
- MCF_INTC0_IMRH &= ~( MCF_INTC_IMRH_INT_MASK57 );
-
- MCF_PIT2_PCSR |= MCF_PIT_PCSR_PIF;
- MCF_PIT2_PCSR = ( MCF_PIT_PCSR_PIE | MCF_PIT_PCSR_RLD | MCF_PIT_PCSR_EN );
- MCF_PIT2_PMR = usCompareMatchValue2;
-}
-/*-----------------------------------------------------------*/
-
-void __attribute__ ((interrupt)) __cs3_isr_interrupt_120( void )
-{
- MCF_PIT1_PCSR |= MCF_PIT_PCSR_PIF;
- portEND_SWITCHING_ISR( xFirstTimerHandler() );
-}
-/*-----------------------------------------------------------*/
-
-void __attribute__ ((interrupt)) __cs3_isr_interrupt_121( void )
-{
- MCF_PIT2_PCSR |= MCF_PIT_PCSR_PIF;
- portEND_SWITCHING_ISR( xSecondTimerHandler() );
-}
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.h
deleted file mode 100644
index e69cbcdab..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-#ifndef INT_QUEUE_TIMER_H
-#define INT_QUEUE_TIMER_H
-
-void vInitialiseTimerForIntQueueTest( void );
-portBASE_TYPE xTimer0Handler( void );
-portBASE_TYPE xTimer1Handler( void );
-
-#endif
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282.h
deleted file mode 100644
index 66b874cb4..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282.h
+++ /dev/null
@@ -1,111 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_H__
-#define __MCF5282_H__
-
-
-/********************************************************************/
-/*
- * The basic data types
- */
-
-typedef unsigned char uint8; /* 8 bits */
-typedef unsigned short int uint16; /* 16 bits */
-typedef unsigned long int uint32; /* 32 bits */
-
-typedef signed char int8; /* 8 bits */
-typedef signed short int int16; /* 16 bits */
-typedef signed long int int32; /* 32 bits */
-
-typedef volatile uint8 vuint8; /* 8 bits */
-typedef volatile uint16 vuint16; /* 16 bits */
-typedef volatile uint32 vuint32; /* 32 bits */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#if 0
-#pragma define_section system ".system" far_absolute RW
-
-/***
- * MCF5282 Derivative Memory map definitions from linker command files:
- * __IPSBAR, __FLASHBAR, __FLASHBAR_SIZE, __RAMBAR, __RAMBAR_SIZE
- * linker symbols must be defined in the linker command file.
- */
-
-extern __declspec(system) uint8 __IPSBAR[];
-extern __declspec(system) uint8 __FLASHBAR[];
-extern __declspec(system) uint8 __FLASHBAR_SIZE[];
-extern __declspec(system) uint8 __RAMBAR[];
-extern __declspec(system) uint8 __RAMBAR_SIZE[];
-#endif
-
-#define __IPSBAR ((uint8*)0x40000000)
-
-#define IPSBAR_ADDRESS (uint32)__IPSBAR
-#define FLASHBAR_ADDRESS (uint32)__FLASHBAR
-#define FLASHBAR_SIZE (uint32)__FLASHBAR_SIZE
-#define RAMBAR_ADDRESS (uint32)__RAMBAR
-#define RAMBAR_SIZE (uint32)__RAMBAR_SIZE
-
-
-#include "MCF5282_SCM.h"
-#include "MCF5282_SDRAMC.h"
-#include "MCF5282_CS.h"
-#include "MCF5282_DMA.h"
-#include "MCF5282_UART.h"
-#include "MCF5282_I2C.h"
-#include "MCF5282_QSPI.h"
-#include "MCF5282_DTIM.h"
-#include "MCF5282_INTC.h"
-#include "MCF5282_GIACR.h"
-#include "MCF5282_FEC.h"
-#include "MCF5282_GPIO.h"
-#include "MCF5282_PAD.h"
-#include "MCF5282_RCM.h"
-#include "MCF5282_PMM.h"
-#include "MCF5282_CCM.h"
-#include "MCF5282_CLOCK.h"
-#include "MCF5282_EPORT.h"
-#include "MCF5282_WTM.h"
-#include "MCF5282_PIT.h"
-#include "MCF5282_QADC.h"
-#include "MCF5282_GPTA.h"
-#include "MCF5282_GPTB.h"
-#include "MCF5282_FlexCAN.h"
-#include "MCF5282_CFM.h"
-
-#ifdef __cplusplus
-}
-#endif
-
-#define MCF5XXX_CACR_CENB (0x80000000)
-#define MCF5XXX_CACR_CPDI (0x10000000)
-#define MCF5XXX_CACR_CPD (0x10000000)
-#define MCF5XXX_CACR_CFRZ (0x08000000)
-#define MCF5XXX_CACR_CINV (0x01000000)
-#define MCF5XXX_CACR_DIDI (0x00800000)
-#define MCF5XXX_CACR_DISD (0x00400000)
-#define MCF5XXX_CACR_INVI (0x00200000)
-#define MCF5XXX_CACR_INVD (0x00100000)
-#define MCF5XXX_CACR_CEIB (0x00000400)
-#define MCF5XXX_CACR_DCM_WR (0x00000000)
-#define MCF5XXX_CACR_DCM_CB (0x00000100)
-#define MCF5XXX_CACR_DCM_IP (0x00000200)
-#define MCF5XXX_CACR_DCM (0x00000200)
-#define MCF5XXX_CACR_DCM_II (0x00000300)
-#define MCF5XXX_CACR_DBWE (0x00000100)
-#define MCF5XXX_CACR_DWP (0x00000020)
-#define MCF5XXX_CACR_EUST (0x00000010)
-#define MCF5XXX_CACR_CLNF_00 (0x00000000)
-#define MCF5XXX_CACR_CLNF_01 (0x00000002)
-#define MCF5XXX_CACR_CLNF_10 (0x00000004)
-#define MCF5XXX_CACR_CLNF_11 (0x00000006)
-
-#endif /* __MCF5282_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CCM.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CCM.h
deleted file mode 100644
index 8d55b6932..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CCM.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_CCM_H__
-#define __MCF5282_CCM_H__
-
-
-/*********************************************************************
-*
-* Chip Configuration Module (CCM)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_CCM_CCR (*(vuint16*)(&__IPSBAR[0x110004]))
-#define MCF_CCM_RCON (*(vuint16*)(&__IPSBAR[0x110008]))
-#define MCF_CCM_CIR (*(vuint16*)(&__IPSBAR[0x11000A]))
-
-
-/* Bit definitions and macros for MCF_CCM_CCR */
-#define MCF_CCM_CCR_BMT(x) (((x)&0x7)<<0)
-#define MCF_CCM_CCR_BMT_65536 (0)
-#define MCF_CCM_CCR_BMT_32768 (0x1)
-#define MCF_CCM_CCR_BMT_16384 (0x2)
-#define MCF_CCM_CCR_BMT_8192 (0x3)
-#define MCF_CCM_CCR_BMT_4096 (0x4)
-#define MCF_CCM_CCR_BMT_2048 (0x5)
-#define MCF_CCM_CCR_BMT_1024 (0x6)
-#define MCF_CCM_CCR_BMT_512 (0x7)
-#define MCF_CCM_CCR_BME (0x8)
-#define MCF_CCM_CCR_PSTEN (0x20)
-#define MCF_CCM_CCR_SZEN (0x40)
-#define MCF_CCM_CCR_MODE(x) (((x)&0x7)<<0x8)
-#define MCF_CCM_CCR_LOAD (0x8000)
-
-/* Bit definitions and macros for MCF_CCM_RCON */
-#define MCF_CCM_RCON_MODE (0x1)
-#define MCF_CCM_RCON_BOOTSEL (0x4)
-#define MCF_CCM_RCON_BOOTPS(x) (((x)&0x3)<<0x3)
-#define MCF_CCM_RCON_RLOAD (0x20)
-#define MCF_CCM_RCON_RPLLREF (0x40)
-#define MCF_CCM_RCON_RPLLSEL (0x80)
-#define MCF_CCM_RCON_RCSC(x) (((x)&0x3)<<0x8)
-
-/* Bit definitions and macros for MCF_CCM_CIR */
-#define MCF_CCM_CIR_PRN(x) (((x)&0xFF)<<0)
-#define MCF_CCM_CIR_PIN(x) (((x)&0xFF)<<0x8)
-
-
-#endif /* __MCF5282_CCM_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CFM.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CFM.h
deleted file mode 100644
index f7d1c5e8b..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CFM.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_CFM_H__
-#define __MCF5282_CFM_H__
-
-
-/*********************************************************************
-*
-* ColdFire Flash Module (CFM)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_CFM_CFMMCR (*(vuint16*)(&__IPSBAR[0x1D0000]))
-#define MCF_CFM_CFMCLKD (*(vuint8 *)(&__IPSBAR[0x1D0002]))
-#define MCF_CFM_CFMSEC (*(vuint32*)(&__IPSBAR[0x1D0008]))
-#define MCF_CFM_CFMPROT (*(vuint32*)(&__IPSBAR[0x1D0010]))
-#define MCF_CFM_CFMSACC (*(vuint32*)(&__IPSBAR[0x1D0014]))
-#define MCF_CFM_CFMDACC (*(vuint32*)(&__IPSBAR[0x1D0018]))
-#define MCF_CFM_CFMUSTAT (*(vuint8 *)(&__IPSBAR[0x1D0020]))
-#define MCF_CFM_CFMCMD (*(vuint8 *)(&__IPSBAR[0x1D0024]))
-
-
-/* Bit definitions and macros for MCF_CFM_CFMMCR */
-#define MCF_CFM_CFMMCR_KEYACC (0x20)
-#define MCF_CFM_CFMMCR_CCIE (0x40)
-#define MCF_CFM_CFMMCR_CBEIE (0x80)
-#define MCF_CFM_CFMMCR_AEIE (0x100)
-#define MCF_CFM_CFMMCR_PVIE (0x200)
-#define MCF_CFM_CFMMCR_LOCK (0x400)
-
-/* Bit definitions and macros for MCF_CFM_CFMCLKD */
-#define MCF_CFM_CFMCLKD_DIV(x) (((x)&0x3F)<<0)
-#define MCF_CFM_CFMCLKD_PRDIV8 (0x40)
-#define MCF_CFM_CFMCLKD_DIVLD (0x80)
-
-/* Bit definitions and macros for MCF_CFM_CFMSEC */
-#define MCF_CFM_CFMSEC_SEC(x) (((x)&0xFFFF)<<0)
-#define MCF_CFM_CFMSEC_SECSTAT (0x40000000)
-#define MCF_CFM_CFMSEC_KEYEN (0x80000000)
-
-/* Bit definitions and macros for MCF_CFM_CFMPROT */
-#define MCF_CFM_CFMPROT_PROT(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_CFM_CFMSACC */
-#define MCF_CFM_CFMSACC_SUPV(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_CFM_CFMDACC */
-#define MCF_CFM_CFMDACC_DATA(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_CFM_CFMUSTAT */
-#define MCF_CFM_CFMUSTAT_BLANK (0x4)
-#define MCF_CFM_CFMUSTAT_ACCERR (0x10)
-#define MCF_CFM_CFMUSTAT_PVIOL (0x20)
-#define MCF_CFM_CFMUSTAT_CCIF (0x40)
-#define MCF_CFM_CFMUSTAT_CBEIF (0x80)
-
-/* Bit definitions and macros for MCF_CFM_CFMCMD */
-#define MCF_CFM_CFMCMD_CMD(x) (((x)&0x7F)<<0)
-#define MCF_CFM_CFMCMD_BLANK_CHECK (0x5)
-#define MCF_CFM_CFMCMD_PAGE_ERASE_VERIFY (0x6)
-#define MCF_CFM_CFMCMD_WORD_PROGRAM (0x20)
-#define MCF_CFM_CFMCMD_PAGE_ERASE (0x40)
-#define MCF_CFM_CFMCMD_MASS_ERASE (0x41)
-
-
-#endif /* __MCF5282_CFM_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CLOCK.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CLOCK.h
deleted file mode 100644
index 5522724c8..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CLOCK.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_CLOCK_H__
-#define __MCF5282_CLOCK_H__
-
-
-/*********************************************************************
-*
-* Clock Module (CLOCK)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_CLOCK_SYNCR (*(vuint16*)(&__IPSBAR[0x120000]))
-#define MCF_CLOCK_SYNSR (*(vuint8 *)(&__IPSBAR[0x120002]))
-
-
-/* Bit definitions and macros for MCF_CLOCK_SYNCR */
-#define MCF_CLOCK_SYNCR_STPMD0 (0x4)
-#define MCF_CLOCK_SYNCR_STPMD1 (0x8)
-#define MCF_CLOCK_SYNCR_FWKUP (0x20)
-#define MCF_CLOCK_SYNCR_DISCLK (0x40)
-#define MCF_CLOCK_SYNCR_LOCEN (0x80)
-#define MCF_CLOCK_SYNCR_RFD(x) (((x)&0x7)<<0x8)
-#define MCF_CLOCK_SYNCR_LOCRE (0x800)
-#define MCF_CLOCK_SYNCR_MFD(x) (((x)&0x7)<<0xC)
-#define MCF_CLOCK_SYNCR_LOLRE (0x8000)
-
-/* Bit definitions and macros for MCF_CLOCK_SYNSR */
-#define MCF_CLOCK_SYNSR_LOCS (0x4)
-#define MCF_CLOCK_SYNSR_LOCK (0x8)
-#define MCF_CLOCK_SYNSR_LOCKS (0x10)
-#define MCF_CLOCK_SYNSR_PLLREF (0x20)
-#define MCF_CLOCK_SYNSR_PLLSEL (0x40)
-#define MCF_CLOCK_SYNSR_PLLMODE (0x80)
-
-
-#endif /* __MCF5282_CLOCK_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CS.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CS.h
deleted file mode 100644
index 239e7a7bd..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CS.h
+++ /dev/null
@@ -1,97 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_CS_H__
-#define __MCF5282_CS_H__
-
-
-/*********************************************************************
-*
-* Chip Select Module (CS)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_CS0_CSAR (*(vuint16*)(&__IPSBAR[0x80]))
-#define MCF_CS0_CSMR (*(vuint32*)(&__IPSBAR[0x84]))
-#define MCF_CS0_CSCR (*(vuint16*)(&__IPSBAR[0x8A]))
-
-#define MCF_CS1_CSAR (*(vuint16*)(&__IPSBAR[0x8C]))
-#define MCF_CS1_CSMR (*(vuint32*)(&__IPSBAR[0x90]))
-#define MCF_CS1_CSCR (*(vuint16*)(&__IPSBAR[0x96]))
-
-#define MCF_CS2_CSAR (*(vuint16*)(&__IPSBAR[0x98]))
-#define MCF_CS2_CSMR (*(vuint32*)(&__IPSBAR[0x9C]))
-#define MCF_CS2_CSCR (*(vuint16*)(&__IPSBAR[0xA2]))
-
-#define MCF_CS3_CSAR (*(vuint16*)(&__IPSBAR[0xA4]))
-#define MCF_CS3_CSMR (*(vuint32*)(&__IPSBAR[0xA8]))
-#define MCF_CS3_CSCR (*(vuint16*)(&__IPSBAR[0xAE]))
-
-#define MCF_CS4_CSAR (*(vuint16*)(&__IPSBAR[0xB0]))
-#define MCF_CS4_CSMR (*(vuint32*)(&__IPSBAR[0xB4]))
-#define MCF_CS4_CSCR (*(vuint16*)(&__IPSBAR[0xBA]))
-
-#define MCF_CS5_CSAR (*(vuint16*)(&__IPSBAR[0xBC]))
-#define MCF_CS5_CSMR (*(vuint32*)(&__IPSBAR[0xC0]))
-#define MCF_CS5_CSCR (*(vuint16*)(&__IPSBAR[0xC6]))
-
-#define MCF_CS6_CSAR (*(vuint16*)(&__IPSBAR[0xC8]))
-#define MCF_CS6_CSMR (*(vuint32*)(&__IPSBAR[0xCC]))
-#define MCF_CS6_CSCR (*(vuint16*)(&__IPSBAR[0xD2]))
-
-#define MCF_CS_CSAR(x) (*(vuint16*)(&__IPSBAR[0x80 + ((x)*0xC)]))
-#define MCF_CS_CSMR(x) (*(vuint32*)(&__IPSBAR[0x84 + ((x)*0xC)]))
-#define MCF_CS_CSCR(x) (*(vuint16*)(&__IPSBAR[0x8A + ((x)*0xC)]))
-
-
-/* Bit definitions and macros for MCF_CS_CSAR */
-#define MCF_CS_CSAR_BA(x) (vuint16)(((x)&0xFFFF0000)>>0x10)
-
-/* Bit definitions and macros for MCF_CS_CSMR */
-#define MCF_CS_CSMR_V (0x1)
-#define MCF_CS_CSMR_UD (0x2)
-#define MCF_CS_CSMR_UC (0x4)
-#define MCF_CS_CSMR_SD (0x8)
-#define MCF_CS_CSMR_SC (0x10)
-#define MCF_CS_CSMR_CI (0x20)
-#define MCF_CS_CSMR_AM (0x40)
-#define MCF_CS_CSMR_WP (0x100)
-#define MCF_CS_CSMR_BAM(x) (((x)&0xFFFF)<<0x10)
-#define MCF_CS_CSMR_BAM_4G (0xFFFF0000)
-#define MCF_CS_CSMR_BAM_2G (0x7FFF0000)
-#define MCF_CS_CSMR_BAM_1G (0x3FFF0000)
-#define MCF_CS_CSMR_BAM_1024M (0x3FFF0000)
-#define MCF_CS_CSMR_BAM_512M (0x1FFF0000)
-#define MCF_CS_CSMR_BAM_256M (0xFFF0000)
-#define MCF_CS_CSMR_BAM_128M (0x7FF0000)
-#define MCF_CS_CSMR_BAM_64M (0x3FF0000)
-#define MCF_CS_CSMR_BAM_32M (0x1FF0000)
-#define MCF_CS_CSMR_BAM_16M (0xFF0000)
-#define MCF_CS_CSMR_BAM_8M (0x7F0000)
-#define MCF_CS_CSMR_BAM_4M (0x3F0000)
-#define MCF_CS_CSMR_BAM_2M (0x1F0000)
-#define MCF_CS_CSMR_BAM_1M (0xF0000)
-#define MCF_CS_CSMR_BAM_1024K (0xF0000)
-#define MCF_CS_CSMR_BAM_512K (0x70000)
-#define MCF_CS_CSMR_BAM_256K (0x30000)
-#define MCF_CS_CSMR_BAM_128K (0x10000)
-#define MCF_CS_CSMR_BAM_64K (0)
-
-/* Bit definitions and macros for MCF_CS_CSCR */
-#define MCF_CS_CSCR_BSTW (0x8)
-#define MCF_CS_CSCR_BSTR (0x10)
-#define MCF_CS_CSCR_BEM (0x20)
-#define MCF_CS_CSCR_PS(x) (((x)&0x3)<<0x6)
-#define MCF_CS_CSCR_PS_32 (0)
-#define MCF_CS_CSCR_PS_8 (0x40)
-#define MCF_CS_CSCR_PS_16 (0x80)
-#define MCF_CS_CSCR_AA (0x100)
-#define MCF_CS_CSCR_WS(x) (((x)&0xF)<<0xA)
-
-
-#endif /* __MCF5282_CS_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DMA.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DMA.h
deleted file mode 100644
index 10f33c50a..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DMA.h
+++ /dev/null
@@ -1,97 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_DMA_H__
-#define __MCF5282_DMA_H__
-
-
-/*********************************************************************
-*
-* DMA Controller (DMA)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_DMA0_SAR (*(vuint32*)(&__IPSBAR[0x100]))
-#define MCF_DMA0_DAR (*(vuint32*)(&__IPSBAR[0x104]))
-#define MCF_DMA0_DCR (*(vuint32*)(&__IPSBAR[0x108]))
-#define MCF_DMA0_BCR (*(vuint32*)(&__IPSBAR[0x10C]))
-#define MCF_DMA0_DSR (*(vuint8 *)(&__IPSBAR[0x110]))
-
-#define MCF_DMA1_SAR (*(vuint32*)(&__IPSBAR[0x140]))
-#define MCF_DMA1_DAR (*(vuint32*)(&__IPSBAR[0x144]))
-#define MCF_DMA1_DCR (*(vuint32*)(&__IPSBAR[0x148]))
-#define MCF_DMA1_BCR (*(vuint32*)(&__IPSBAR[0x14C]))
-#define MCF_DMA1_DSR (*(vuint8 *)(&__IPSBAR[0x150]))
-
-#define MCF_DMA2_SAR (*(vuint32*)(&__IPSBAR[0x180]))
-#define MCF_DMA2_DAR (*(vuint32*)(&__IPSBAR[0x184]))
-#define MCF_DMA2_DCR (*(vuint32*)(&__IPSBAR[0x188]))
-#define MCF_DMA2_BCR (*(vuint32*)(&__IPSBAR[0x18C]))
-#define MCF_DMA2_DSR (*(vuint8 *)(&__IPSBAR[0x190]))
-
-#define MCF_DMA3_SAR (*(vuint32*)(&__IPSBAR[0x1C0]))
-#define MCF_DMA3_DAR (*(vuint32*)(&__IPSBAR[0x1C4]))
-#define MCF_DMA3_DCR (*(vuint32*)(&__IPSBAR[0x1C8]))
-#define MCF_DMA3_BCR (*(vuint32*)(&__IPSBAR[0x1CC]))
-#define MCF_DMA3_DSR (*(vuint8 *)(&__IPSBAR[0x1D0]))
-
-#define MCF_DMA_SAR(x) (*(vuint32*)(&__IPSBAR[0x100 + ((x)*0x40)]))
-#define MCF_DMA_DAR(x) (*(vuint32*)(&__IPSBAR[0x104 + ((x)*0x40)]))
-#define MCF_DMA_DCR(x) (*(vuint32*)(&__IPSBAR[0x108 + ((x)*0x40)]))
-#define MCF_DMA_BCR(x) (*(vuint32*)(&__IPSBAR[0x10C + ((x)*0x40)]))
-#define MCF_DMA_DSR(x) (*(vuint8 *)(&__IPSBAR[0x110 + ((x)*0x40)]))
-
-
-/* Bit definitions and macros for MCF_DMA_SAR */
-#define MCF_DMA_SAR_SAR(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_DMA_DAR */
-#define MCF_DMA_DAR_DAR(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_DMA_DCR */
-#define MCF_DMA_DCR_AT (0x8000)
-#define MCF_DMA_DCR_START (0x10000)
-#define MCF_DMA_DCR_DSIZE(x) (((x)&0x3)<<0x11)
-#define MCF_DMA_DCR_DSIZE_LONG (0)
-#define MCF_DMA_DCR_DSIZE_BYTE (0x1)
-#define MCF_DMA_DCR_DSIZE_WORD (0x2)
-#define MCF_DMA_DCR_DSIZE_LINE (0x3)
-#define MCF_DMA_DCR_DINC (0x80000)
-#define MCF_DMA_DCR_SSIZE(x) (((x)&0x3)<<0x14)
-#define MCF_DMA_DCR_SSIZE_LONG (0)
-#define MCF_DMA_DCR_SSIZE_BYTE (0x1)
-#define MCF_DMA_DCR_SSIZE_WORD (0x2)
-#define MCF_DMA_DCR_SSIZE_LINE (0x3)
-#define MCF_DMA_DCR_SINC (0x400000)
-#define MCF_DMA_DCR_BWC(x) (((x)&0x7)<<0x19)
-#define MCF_DMA_DCR_AA (0x10000000)
-#define MCF_DMA_DCR_CS (0x20000000)
-#define MCF_DMA_DCR_EEXT (0x40000000)
-#define MCF_DMA_DCR_INT (0x80000000)
-#define MCF_DMA_DCR_BWC_DMA (0)
-#define MCF_DMA_DCR_BWC_512 (0x2000000)
-#define MCF_DMA_DCR_BWC_1024 (0x4000000)
-#define MCF_DMA_DCR_BWC_2048 (0x6000000)
-#define MCF_DMA_DCR_BWC_4096 (0x8000000)
-#define MCF_DMA_DCR_BWC_8192 (0xA000000)
-#define MCF_DMA_DCR_BWC_16384 (0xC000000)
-#define MCF_DMA_DCR_BWC_32768 (0xE000000)
-
-/* Bit definitions and macros for MCF_DMA_BCR */
-#define MCF_DMA_BCR_BCR(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_DMA_DSR */
-#define MCF_DMA_DSR_DONE (0x1)
-#define MCF_DMA_DSR_BSY (0x2)
-#define MCF_DMA_DSR_REQ (0x4)
-#define MCF_DMA_DSR_BED (0x10)
-#define MCF_DMA_DSR_BES (0x20)
-#define MCF_DMA_DSR_CE (0x40)
-
-
-#endif /* __MCF5282_DMA_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DTIM.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DTIM.h
deleted file mode 100644
index eceacc1e9..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DTIM.h
+++ /dev/null
@@ -1,90 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_DTIM_H__
-#define __MCF5282_DTIM_H__
-
-
-/*********************************************************************
-*
-* DMA Timers (DTIM)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_DTIM0_DTMR (*(vuint16*)(&__IPSBAR[0x400]))
-#define MCF_DTIM0_DTXMR (*(vuint8 *)(&__IPSBAR[0x402]))
-#define MCF_DTIM0_DTER (*(vuint8 *)(&__IPSBAR[0x403]))
-#define MCF_DTIM0_DTRR (*(vuint32*)(&__IPSBAR[0x404]))
-#define MCF_DTIM0_DTCR (*(vuint32*)(&__IPSBAR[0x408]))
-#define MCF_DTIM0_DTCN (*(vuint32*)(&__IPSBAR[0x40C]))
-
-#define MCF_DTIM1_DTMR (*(vuint16*)(&__IPSBAR[0x440]))
-#define MCF_DTIM1_DTXMR (*(vuint8 *)(&__IPSBAR[0x442]))
-#define MCF_DTIM1_DTER (*(vuint8 *)(&__IPSBAR[0x443]))
-#define MCF_DTIM1_DTRR (*(vuint32*)(&__IPSBAR[0x444]))
-#define MCF_DTIM1_DTCR (*(vuint32*)(&__IPSBAR[0x448]))
-#define MCF_DTIM1_DTCN (*(vuint32*)(&__IPSBAR[0x44C]))
-
-#define MCF_DTIM2_DTMR (*(vuint16*)(&__IPSBAR[0x480]))
-#define MCF_DTIM2_DTXMR (*(vuint8 *)(&__IPSBAR[0x482]))
-#define MCF_DTIM2_DTER (*(vuint8 *)(&__IPSBAR[0x483]))
-#define MCF_DTIM2_DTRR (*(vuint32*)(&__IPSBAR[0x484]))
-#define MCF_DTIM2_DTCR (*(vuint32*)(&__IPSBAR[0x488]))
-#define MCF_DTIM2_DTCN (*(vuint32*)(&__IPSBAR[0x48C]))
-
-#define MCF_DTIM3_DTMR (*(vuint16*)(&__IPSBAR[0x4C0]))
-#define MCF_DTIM3_DTXMR (*(vuint8 *)(&__IPSBAR[0x4C2]))
-#define MCF_DTIM3_DTER (*(vuint8 *)(&__IPSBAR[0x4C3]))
-#define MCF_DTIM3_DTRR (*(vuint32*)(&__IPSBAR[0x4C4]))
-#define MCF_DTIM3_DTCR (*(vuint32*)(&__IPSBAR[0x4C8]))
-#define MCF_DTIM3_DTCN (*(vuint32*)(&__IPSBAR[0x4CC]))
-
-#define MCF_DTIM_DTMR(x) (*(vuint16*)(&__IPSBAR[0x400 + ((x)*0x40)]))
-#define MCF_DTIM_DTXMR(x) (*(vuint8 *)(&__IPSBAR[0x402 + ((x)*0x40)]))
-#define MCF_DTIM_DTER(x) (*(vuint8 *)(&__IPSBAR[0x403 + ((x)*0x40)]))
-#define MCF_DTIM_DTRR(x) (*(vuint32*)(&__IPSBAR[0x404 + ((x)*0x40)]))
-#define MCF_DTIM_DTCR(x) (*(vuint32*)(&__IPSBAR[0x408 + ((x)*0x40)]))
-#define MCF_DTIM_DTCN(x) (*(vuint32*)(&__IPSBAR[0x40C + ((x)*0x40)]))
-
-
-/* Bit definitions and macros for MCF_DTIM_DTMR */
-#define MCF_DTIM_DTMR_RST (0x1)
-#define MCF_DTIM_DTMR_CLK(x) (((x)&0x3)<<0x1)
-#define MCF_DTIM_DTMR_CLK_STOP (0)
-#define MCF_DTIM_DTMR_CLK_DIV1 (0x2)
-#define MCF_DTIM_DTMR_CLK_DIV16 (0x4)
-#define MCF_DTIM_DTMR_CLK_DTIN (0x6)
-#define MCF_DTIM_DTMR_FRR (0x8)
-#define MCF_DTIM_DTMR_ORRI (0x10)
-#define MCF_DTIM_DTMR_OM (0x20)
-#define MCF_DTIM_DTMR_CE(x) (((x)&0x3)<<0x6)
-#define MCF_DTIM_DTMR_CE_NONE (0)
-#define MCF_DTIM_DTMR_CE_RISE (0x40)
-#define MCF_DTIM_DTMR_CE_FALL (0x80)
-#define MCF_DTIM_DTMR_CE_ANY (0xC0)
-#define MCF_DTIM_DTMR_PS(x) (((x)&0xFF)<<0x8)
-
-/* Bit definitions and macros for MCF_DTIM_DTXMR */
-#define MCF_DTIM_DTXMR_MODE16 (0x1)
-#define MCF_DTIM_DTXMR_DMAEN (0x80)
-
-/* Bit definitions and macros for MCF_DTIM_DTER */
-#define MCF_DTIM_DTER_CAP (0x1)
-#define MCF_DTIM_DTER_REF (0x2)
-
-/* Bit definitions and macros for MCF_DTIM_DTRR */
-#define MCF_DTIM_DTRR_REF(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_DTIM_DTCR */
-#define MCF_DTIM_DTCR_CAP(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_DTIM_DTCN */
-#define MCF_DTIM_DTCN_CNT(x) (((x)&0xFFFFFFFF)<<0)
-
-
-#endif /* __MCF5282_DTIM_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_EPORT.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_EPORT.h
deleted file mode 100644
index 943802c78..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_EPORT.h
+++ /dev/null
@@ -1,115 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_EPORT_H__
-#define __MCF5282_EPORT_H__
-
-
-/*********************************************************************
-*
-* Edge Port Module (EPORT)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_EPORT_EPPAR (*(vuint16*)(&__IPSBAR[0x130000]))
-#define MCF_EPORT_EPDDR (*(vuint8 *)(&__IPSBAR[0x130002]))
-#define MCF_EPORT_EPIER (*(vuint8 *)(&__IPSBAR[0x130003]))
-#define MCF_EPORT_EPDR (*(vuint8 *)(&__IPSBAR[0x130004]))
-#define MCF_EPORT_EPPDR (*(vuint8 *)(&__IPSBAR[0x130005]))
-#define MCF_EPORT_EPFR (*(vuint8 *)(&__IPSBAR[0x130006]))
-
-
-
-/* Bit definitions and macros for MCF_EPORT_EPPAR */
-#define MCF_EPORT_EPPAR_EPPA1(x) (((x)&0x3)<<0x2)
-#define MCF_EPORT_EPPAR_EPPA1_LEVEL (0)
-#define MCF_EPORT_EPPAR_EPPA1_RISING (0x4)
-#define MCF_EPORT_EPPAR_EPPA1_FALLING (0x8)
-#define MCF_EPORT_EPPAR_EPPA1_BOTH (0xC)
-#define MCF_EPORT_EPPAR_EPPA2(x) (((x)&0x3)<<0x4)
-#define MCF_EPORT_EPPAR_EPPA2_LEVEL (0)
-#define MCF_EPORT_EPPAR_EPPA2_RISING (0x10)
-#define MCF_EPORT_EPPAR_EPPA2_FALLING (0x20)
-#define MCF_EPORT_EPPAR_EPPA2_BOTH (0x30)
-#define MCF_EPORT_EPPAR_EPPA3(x) (((x)&0x3)<<0x6)
-#define MCF_EPORT_EPPAR_EPPA3_LEVEL (0)
-#define MCF_EPORT_EPPAR_EPPA3_RISING (0x40)
-#define MCF_EPORT_EPPAR_EPPA3_FALLING (0x80)
-#define MCF_EPORT_EPPAR_EPPA3_BOTH (0xC0)
-#define MCF_EPORT_EPPAR_EPPA4(x) (((x)&0x3)<<0x8)
-#define MCF_EPORT_EPPAR_EPPA4_LEVEL (0)
-#define MCF_EPORT_EPPAR_EPPA4_RISING (0x100)
-#define MCF_EPORT_EPPAR_EPPA4_FALLING (0x200)
-#define MCF_EPORT_EPPAR_EPPA4_BOTH (0x300)
-#define MCF_EPORT_EPPAR_EPPA5(x) (((x)&0x3)<<0xA)
-#define MCF_EPORT_EPPAR_EPPA5_LEVEL (0)
-#define MCF_EPORT_EPPAR_EPPA5_RISING (0x400)
-#define MCF_EPORT_EPPAR_EPPA5_FALLING (0x800)
-#define MCF_EPORT_EPPAR_EPPA5_BOTH (0xC00)
-#define MCF_EPORT_EPPAR_EPPA6(x) (((x)&0x3)<<0xC)
-#define MCF_EPORT_EPPAR_EPPA6_LEVEL (0)
-#define MCF_EPORT_EPPAR_EPPA6_RISING (0x1000)
-#define MCF_EPORT_EPPAR_EPPA6_FALLING (0x2000)
-#define MCF_EPORT_EPPAR_EPPA6_BOTH (0x3000)
-#define MCF_EPORT_EPPAR_EPPA7(x) (((x)&0x3)<<0xE)
-#define MCF_EPORT_EPPAR_EPPA7_LEVEL (0)
-#define MCF_EPORT_EPPAR_EPPA7_RISING (0x4000)
-#define MCF_EPORT_EPPAR_EPPA7_FALLING (0x8000)
-#define MCF_EPORT_EPPAR_EPPA7_BOTH (0xC000)
-#define MCF_EPORT_EPPAR_LEVEL (0)
-#define MCF_EPORT_EPPAR_RISING (0x1)
-#define MCF_EPORT_EPPAR_FALLING (0x2)
-#define MCF_EPORT_EPPAR_BOTH (0x3)
-
-/* Bit definitions and macros for MCF_EPORT_EPDDR */
-#define MCF_EPORT_EPDDR_EPDD1 (0x2)
-#define MCF_EPORT_EPDDR_EPDD2 (0x4)
-#define MCF_EPORT_EPDDR_EPDD3 (0x8)
-#define MCF_EPORT_EPDDR_EPDD4 (0x10)
-#define MCF_EPORT_EPDDR_EPDD5 (0x20)
-#define MCF_EPORT_EPDDR_EPDD6 (0x40)
-#define MCF_EPORT_EPDDR_EPDD7 (0x80)
-
-/* Bit definitions and macros for MCF_EPORT_EPIER */
-#define MCF_EPORT_EPIER_EPIE1 (0x2)
-#define MCF_EPORT_EPIER_EPIE2 (0x4)
-#define MCF_EPORT_EPIER_EPIE3 (0x8)
-#define MCF_EPORT_EPIER_EPIE4 (0x10)
-#define MCF_EPORT_EPIER_EPIE5 (0x20)
-#define MCF_EPORT_EPIER_EPIE6 (0x40)
-#define MCF_EPORT_EPIER_EPIE7 (0x80)
-
-/* Bit definitions and macros for MCF_EPORT_EPDR */
-#define MCF_EPORT_EPDR_EPD1 (0x2)
-#define MCF_EPORT_EPDR_EPD2 (0x4)
-#define MCF_EPORT_EPDR_EPD3 (0x8)
-#define MCF_EPORT_EPDR_EPD4 (0x10)
-#define MCF_EPORT_EPDR_EPD5 (0x20)
-#define MCF_EPORT_EPDR_EPD6 (0x40)
-#define MCF_EPORT_EPDR_EPD7 (0x80)
-
-/* Bit definitions and macros for MCF_EPORT_EPPDR */
-#define MCF_EPORT_EPPDR_EPPD1 (0x2)
-#define MCF_EPORT_EPPDR_EPPD2 (0x4)
-#define MCF_EPORT_EPPDR_EPPD3 (0x8)
-#define MCF_EPORT_EPPDR_EPPD4 (0x10)
-#define MCF_EPORT_EPPDR_EPPD5 (0x20)
-#define MCF_EPORT_EPPDR_EPPD6 (0x40)
-#define MCF_EPORT_EPPDR_EPPD7 (0x80)
-
-/* Bit definitions and macros for MCF_EPORT_EPFR */
-#define MCF_EPORT_EPFR_EPF1 (0x2)
-#define MCF_EPORT_EPFR_EPF2 (0x4)
-#define MCF_EPORT_EPFR_EPF3 (0x8)
-#define MCF_EPORT_EPFR_EPF4 (0x10)
-#define MCF_EPORT_EPFR_EPF5 (0x20)
-#define MCF_EPORT_EPFR_EPF6 (0x40)
-#define MCF_EPORT_EPFR_EPF7 (0x80)
-
-
-#endif /* __MCF5282_EPORT_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FEC.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FEC.h
deleted file mode 100644
index 5a76bf50b..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FEC.h
+++ /dev/null
@@ -1,385 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_FEC_H__
-#define __MCF5282_FEC_H__
-
-
-/*********************************************************************
-*
-* Fast Ethernet Controller(FEC)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_FEC_EIR (*(vuint32*)(&__IPSBAR[0x1004]))
-#define MCF_FEC_EIMR (*(vuint32*)(&__IPSBAR[0x1008]))
-#define MCF_FEC_RDAR (*(vuint32*)(&__IPSBAR[0x1010]))
-#define MCF_FEC_TDAR (*(vuint32*)(&__IPSBAR[0x1014]))
-#define MCF_FEC_ECR (*(vuint32*)(&__IPSBAR[0x1024]))
-#define MCF_FEC_MMFR (*(vuint32*)(&__IPSBAR[0x1040]))
-#define MCF_FEC_MSCR (*(vuint32*)(&__IPSBAR[0x1044]))
-#define MCF_FEC_MIBC (*(vuint32*)(&__IPSBAR[0x1064]))
-#define MCF_FEC_RCR (*(vuint32*)(&__IPSBAR[0x1084]))
-#define MCF_FEC_TCR (*(vuint32*)(&__IPSBAR[0x10C4]))
-#define MCF_FEC_PALR (*(vuint32*)(&__IPSBAR[0x10E4]))
-#define MCF_FEC_PAUR (*(vuint32*)(&__IPSBAR[0x10E8]))
-#define MCF_FEC_OPD (*(vuint32*)(&__IPSBAR[0x10EC]))
-#define MCF_FEC_IAUR (*(vuint32*)(&__IPSBAR[0x1118]))
-#define MCF_FEC_IALR (*(vuint32*)(&__IPSBAR[0x111C]))
-#define MCF_FEC_GAUR (*(vuint32*)(&__IPSBAR[0x1120]))
-#define MCF_FEC_GALR (*(vuint32*)(&__IPSBAR[0x1124]))
-#define MCF_FEC_TFWR (*(vuint32*)(&__IPSBAR[0x1144]))
-#define MCF_FEC_FRBR (*(vuint32*)(&__IPSBAR[0x114C]))
-#define MCF_FEC_FRSR (*(vuint32*)(&__IPSBAR[0x1150]))
-#define MCF_FEC_ERDSR (*(vuint32*)(&__IPSBAR[0x1180]))
-#define MCF_FEC_ETSDR (*(vuint32*)(&__IPSBAR[0x1184]))
-#define MCF_FEC_EMRBR (*(vuint32*)(&__IPSBAR[0x1188]))
-#define MCF_FEC_RMON_T_DROP (*(vuint32*)(&__IPSBAR[0x1200]))
-#define MCF_FEC_RMON_T_PACKETS (*(vuint32*)(&__IPSBAR[0x1204]))
-#define MCF_FEC_RMON_T_BC_PKT (*(vuint32*)(&__IPSBAR[0x1208]))
-#define MCF_FEC_RMON_T_MC_PKT (*(vuint32*)(&__IPSBAR[0x120C]))
-#define MCF_FEC_RMON_T_CRC_ALIGN (*(vuint32*)(&__IPSBAR[0x1210]))
-#define MCF_FEC_RMON_T_UNDERSIZE (*(vuint32*)(&__IPSBAR[0x1214]))
-#define MCF_FEC_RMON_T_OVERSIZE (*(vuint32*)(&__IPSBAR[0x1218]))
-#define MCF_FEC_RMON_T_FRAG (*(vuint32*)(&__IPSBAR[0x121C]))
-#define MCF_FEC_RMON_T_JAB (*(vuint32*)(&__IPSBAR[0x1220]))
-#define MCF_FEC_RMON_T_COL (*(vuint32*)(&__IPSBAR[0x1224]))
-#define MCF_FEC_RMON_T_P64 (*(vuint32*)(&__IPSBAR[0x1228]))
-#define MCF_FEC_RMON_T_P65TO127 (*(vuint32*)(&__IPSBAR[0x122C]))
-#define MCF_FEC_RMON_T_P128TO255 (*(vuint32*)(&__IPSBAR[0x1230]))
-#define MCF_FEC_RMON_T_P256TO511 (*(vuint32*)(&__IPSBAR[0x1234]))
-#define MCF_FEC_RMON_T_P512TO1023 (*(vuint32*)(&__IPSBAR[0x1238]))
-#define MCF_FEC_RMON_T_P1024TO2047 (*(vuint32*)(&__IPSBAR[0x123C]))
-#define MCF_FEC_RMON_T_P_GTE2048 (*(vuint32*)(&__IPSBAR[0x1240]))
-#define MCF_FEC_RMON_T_OCTETS (*(vuint32*)(&__IPSBAR[0x1244]))
-#define MCF_FEC_IEEE_T_DROP (*(vuint32*)(&__IPSBAR[0x1248]))
-#define MCF_FEC_IEEE_T_FRAME_OK (*(vuint32*)(&__IPSBAR[0x124C]))
-#define MCF_FEC_IEEE_T_1COL (*(vuint32*)(&__IPSBAR[0x1250]))
-#define MCF_FEC_IEEE_T_MCOL (*(vuint32*)(&__IPSBAR[0x1254]))
-#define MCF_FEC_IEEE_T_DEF (*(vuint32*)(&__IPSBAR[0x1258]))
-#define MCF_FEC_IEEE_T_LCOL (*(vuint32*)(&__IPSBAR[0x125C]))
-#define MCF_FEC_IEEE_T_EXCOL (*(vuint32*)(&__IPSBAR[0x1260]))
-#define MCF_FEC_IEEE_T_MACERR (*(vuint32*)(&__IPSBAR[0x1264]))
-#define MCF_FEC_IEEE_T_CSERR (*(vuint32*)(&__IPSBAR[0x1268]))
-#define MCF_FEC_IEEE_T_SQE (*(vuint32*)(&__IPSBAR[0x126C]))
-#define MCF_FEC_IEEE_T_FDXFC (*(vuint32*)(&__IPSBAR[0x1270]))
-#define MCF_FEC_IEEE_T_OCTETS_OK (*(vuint32*)(&__IPSBAR[0x1274]))
-#define MCF_FEC_RMON_R_PACKETS (*(vuint32*)(&__IPSBAR[0x1284]))
-#define MCF_FEC_RMON_R_BC_PKT (*(vuint32*)(&__IPSBAR[0x1288]))
-#define MCF_FEC_RMON_R_MC_PKT (*(vuint32*)(&__IPSBAR[0x128C]))
-#define MCF_FEC_RMON_R_CRC_ALIGN (*(vuint32*)(&__IPSBAR[0x1290]))
-#define MCF_FEC_RMON_R_UNDERSIZE (*(vuint32*)(&__IPSBAR[0x1294]))
-#define MCF_FEC_RMON_R_OVERSIZE (*(vuint32*)(&__IPSBAR[0x1298]))
-#define MCF_FEC_RMON_R_FRAG (*(vuint32*)(&__IPSBAR[0x129C]))
-#define MCF_FEC_RMON_R_JAB (*(vuint32*)(&__IPSBAR[0x12A0]))
-#define MCF_FEC_RMON_R_RESVD_0 (*(vuint32*)(&__IPSBAR[0x12A4]))
-#define MCF_FEC_RMON_R_P64 (*(vuint32*)(&__IPSBAR[0x12A8]))
-#define MCF_FEC_RMON_R_P65TO127 (*(vuint32*)(&__IPSBAR[0x12AC]))
-#define MCF_FEC_RMON_R_P128TO255 (*(vuint32*)(&__IPSBAR[0x12B0]))
-#define MCF_FEC_RMON_R_P256TO511 (*(vuint32*)(&__IPSBAR[0x12B4]))
-#define MCF_FEC_RMON_R_P512TO1023 (*(vuint32*)(&__IPSBAR[0x12B8]))
-#define MCF_FEC_RMON_R_P1024TO2047 (*(vuint32*)(&__IPSBAR[0x12BC]))
-#define MCF_FEC_RMON_R_P_GTE2048 (*(vuint32*)(&__IPSBAR[0x12C0]))
-#define MCF_FEC_RMON_R_OCTETS (*(vuint32*)(&__IPSBAR[0x12C4]))
-#define MCF_FEC_IEEE_R_DROP (*(vuint32*)(&__IPSBAR[0x12C8]))
-#define MCF_FEC_IEEE_R_FRAME_OK (*(vuint32*)(&__IPSBAR[0x12CC]))
-#define MCF_FEC_IEEE_R_CRC (*(vuint32*)(&__IPSBAR[0x12D0]))
-#define MCF_FEC_IEEE_R_ALIGN (*(vuint32*)(&__IPSBAR[0x12D4]))
-#define MCF_FEC_IEEE_R_MACERR (*(vuint32*)(&__IPSBAR[0x12D8]))
-#define MCF_FEC_IEEE_R_FDXFC (*(vuint32*)(&__IPSBAR[0x12DC]))
-#define MCF_FEC_IEEE_R_OCTETS_OK (*(vuint32*)(&__IPSBAR[0x12E0]))
-
-
-
-/* Bit definitions and macros for MCF_FEC_EIR */
-#define MCF_FEC_EIR_UN (0x80000)
-#define MCF_FEC_EIR_RL (0x100000)
-#define MCF_FEC_EIR_LC (0x200000)
-#define MCF_FEC_EIR_EBERR (0x400000)
-#define MCF_FEC_EIR_MII (0x800000)
-#define MCF_FEC_EIR_RXB (0x1000000)
-#define MCF_FEC_EIR_RXF (0x2000000)
-#define MCF_FEC_EIR_TXB (0x4000000)
-#define MCF_FEC_EIR_TXF (0x8000000)
-#define MCF_FEC_EIR_GRA (0x10000000)
-#define MCF_FEC_EIR_BABT (0x20000000)
-#define MCF_FEC_EIR_BABR (0x40000000)
-#define MCF_FEC_EIR_HBERR (0x80000000)
-#define MCF_FEC_EIR_CLEAR_ALL (0xFFFFFFFF)
-
-/* Bit definitions and macros for MCF_FEC_EIMR */
-#define MCF_FEC_EIMR_UN (0x80000)
-#define MCF_FEC_EIMR_RL (0x100000)
-#define MCF_FEC_EIMR_LC (0x200000)
-#define MCF_FEC_EIMR_EBERR (0x400000)
-#define MCF_FEC_EIMR_MII (0x800000)
-#define MCF_FEC_EIMR_RXB (0x1000000)
-#define MCF_FEC_EIMR_RXF (0x2000000)
-#define MCF_FEC_EIMR_TXB (0x4000000)
-#define MCF_FEC_EIMR_TXF (0x8000000)
-#define MCF_FEC_EIMR_GRA (0x10000000)
-#define MCF_FEC_EIMR_BABT (0x20000000)
-#define MCF_FEC_EIMR_BABR (0x40000000)
-#define MCF_FEC_EIMR_HBERR (0x80000000)
-#define MCF_FEC_EIMR_MASK_ALL (0)
-#define MCF_FEC_EIMR_UNMASK_ALL (0xFFFFFFFF)
-
-/* Bit definitions and macros for MCF_FEC_RDAR */
-#define MCF_FEC_RDAR_R_DES_ACTIVE (0x1000000)
-
-/* Bit definitions and macros for MCF_FEC_TDAR */
-#define MCF_FEC_TDAR_X_DES_ACTIVE (0x1000000)
-
-/* Bit definitions and macros for MCF_FEC_ECR */
-#define MCF_FEC_ECR_RESET (0x1)
-#define MCF_FEC_ECR_ETHER_EN (0x2)
-
-/* Bit definitions and macros for MCF_FEC_MMFR */
-#define MCF_FEC_MMFR_DATA(x) (((x)&0xFFFF)<<0)
-#define MCF_FEC_MMFR_TA(x) (((x)&0x3)<<0x10)
-#define MCF_FEC_MMFR_TA_10 (0x20000)
-#define MCF_FEC_MMFR_RA(x) (((x)&0x1F)<<0x12)
-#define MCF_FEC_MMFR_PA(x) (((x)&0x1F)<<0x17)
-#define MCF_FEC_MMFR_OP(x) (((x)&0x3)<<0x1C)
-#define MCF_FEC_MMFR_OP_READ (0x20000000)
-#define MCF_FEC_MMFR_OP_WRITE (0x10000000)
-#define MCF_FEC_MMFR_ST(x) (((x)&0x3)<<0x1E)
-#define MCF_FEC_MMFR_ST_01 (0x40000000)
-
-/* Bit definitions and macros for MCF_FEC_MSCR */
-#define MCF_FEC_MSCR_MII_SPEED(x) (((x)&0x3F)<<0x1)
-#define MCF_FEC_MSCR_DIS_PREAMBLE (0x80)
-
-/* Bit definitions and macros for MCF_FEC_MIBC */
-#define MCF_FEC_MIBC_MIB_IDLE (0x40000000)
-#define MCF_FEC_MIBC_MIB_DISABLE (0x80000000)
-
-/* Bit definitions and macros for MCF_FEC_RCR */
-#define MCF_FEC_RCR_LOOP (0x1)
-#define MCF_FEC_RCR_DRT (0x2)
-#define MCF_FEC_RCR_MII_MODE (0x4)
-#define MCF_FEC_RCR_PROM (0x8)
-#define MCF_FEC_RCR_BC_REJ (0x10)
-#define MCF_FEC_RCR_FCE (0x20)
-#define MCF_FEC_RCR_MAX_FL(x) (((x)&0x7FF)<<0x10)
-
-/* Bit definitions and macros for MCF_FEC_TCR */
-#define MCF_FEC_TCR_GTS (0x1)
-#define MCF_FEC_TCR_HBC (0x2)
-#define MCF_FEC_TCR_FDEN (0x4)
-#define MCF_FEC_TCR_TFC_PAUSE (0x8)
-#define MCF_FEC_TCR_RFC_PAUSE (0x10)
-
-/* Bit definitions and macros for MCF_FEC_PALR */
-#define MCF_FEC_PALR_PADDR1(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_PAUR */
-#define MCF_FEC_PAUR_TYPE(x) (((x)&0xFFFF)<<0)
-#define MCF_FEC_PAUR_PADDR2(x) (((x)&0xFFFF)<<0x10)
-
-/* Bit definitions and macros for MCF_FEC_OPD */
-#define MCF_FEC_OPD_PAUSE_DUR(x) (((x)&0xFFFF)<<0)
-#define MCF_FEC_OPD_OPCODE(x) (((x)&0xFFFF)<<0x10)
-
-/* Bit definitions and macros for MCF_FEC_IAUR */
-#define MCF_FEC_IAUR_IADDR1(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IALR */
-#define MCF_FEC_IALR_IADDR2(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_GAUR */
-#define MCF_FEC_GAUR_GADDR1(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_GALR */
-#define MCF_FEC_GALR_GADDR2(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_TFWR */
-#define MCF_FEC_TFWR_X_WMRK(x) (((x)&0x3)<<0)
-#define MCF_FEC_TFWR_X_WMRK_64 (0)
-#define MCF_FEC_TFWR_X_WMRK_128 (0x2)
-#define MCF_FEC_TFWR_X_WMRK_192 (0x3)
-
-/* Bit definitions and macros for MCF_FEC_FRBR */
-#define MCF_FEC_FRBR_R_BOUND(x) (((x)&0xFF)<<0x2)
-
-/* Bit definitions and macros for MCF_FEC_FRSR */
-#define MCF_FEC_FRSR_R_FSTART(x) (((x)&0xFF)<<0x2)
-
-/* Bit definitions and macros for MCF_FEC_ERDSR */
-#define MCF_FEC_ERDSR_R_DES_START(x) (((x)&0x3FFFFFFF)<<0x2)
-
-/* Bit definitions and macros for MCF_FEC_ETSDR */
-#define MCF_FEC_ETSDR_X_DES_START(x) (((x)&0x3FFFFFFF)<<0x2)
-
-/* Bit definitions and macros for MCF_FEC_EMRBR */
-#define MCF_FEC_EMRBR_R_BUF_SIZE(x) (((x)&0x7F)<<0x4)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_DROP */
-#define MCF_FEC_RMON_T_DROP_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_PACKETS */
-#define MCF_FEC_RMON_T_PACKETS_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_BC_PKT */
-#define MCF_FEC_RMON_T_BC_PKT_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_MC_PKT */
-#define MCF_FEC_RMON_T_MC_PKT_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_CRC_ALIGN */
-#define MCF_FEC_RMON_T_CRC_ALIGN_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_UNDERSIZE */
-#define MCF_FEC_RMON_T_UNDERSIZE_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_OVERSIZE */
-#define MCF_FEC_RMON_T_OVERSIZE_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_FRAG */
-#define MCF_FEC_RMON_T_FRAG_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_JAB */
-#define MCF_FEC_RMON_T_JAB_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_COL */
-#define MCF_FEC_RMON_T_COL_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_P64 */
-#define MCF_FEC_RMON_T_P64_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_P65TO127 */
-#define MCF_FEC_RMON_T_P65TO127_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_P128TO255 */
-#define MCF_FEC_RMON_T_P128TO255_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_P256TO511 */
-#define MCF_FEC_RMON_T_P256TO511_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_P512TO1023 */
-#define MCF_FEC_RMON_T_P512TO1023_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_P1024TO2047 */
-#define MCF_FEC_RMON_T_P1024TO2047_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_P_GTE2048 */
-#define MCF_FEC_RMON_T_P_GTE2048_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_T_OCTETS */
-#define MCF_FEC_RMON_T_OCTETS_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_DROP */
-#define MCF_FEC_IEEE_T_DROP_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_FRAME_OK */
-#define MCF_FEC_IEEE_T_FRAME_OK_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_1COL */
-#define MCF_FEC_IEEE_T_1COL_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_MCOL */
-#define MCF_FEC_IEEE_T_MCOL_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_DEF */
-#define MCF_FEC_IEEE_T_DEF_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_LCOL */
-#define MCF_FEC_IEEE_T_LCOL_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_EXCOL */
-#define MCF_FEC_IEEE_T_EXCOL_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_MACERR */
-#define MCF_FEC_IEEE_T_MACERR_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_CSERR */
-#define MCF_FEC_IEEE_T_CSERR_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_SQE */
-#define MCF_FEC_IEEE_T_SQE_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_FDXFC */
-#define MCF_FEC_IEEE_T_FDXFC_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_T_OCTETS_OK */
-#define MCF_FEC_IEEE_T_OCTETS_OK_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_PACKETS */
-#define MCF_FEC_RMON_R_PACKETS_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_BC_PKT */
-#define MCF_FEC_RMON_R_BC_PKT_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_MC_PKT */
-#define MCF_FEC_RMON_R_MC_PKT_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_CRC_ALIGN */
-#define MCF_FEC_RMON_R_CRC_ALIGN_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_UNDERSIZE */
-#define MCF_FEC_RMON_R_UNDERSIZE_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_OVERSIZE */
-#define MCF_FEC_RMON_R_OVERSIZE_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_FRAG */
-#define MCF_FEC_RMON_R_FRAG_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_JAB */
-#define MCF_FEC_RMON_R_JAB_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_RESVD_0 */
-#define MCF_FEC_RMON_R_RESVD_0_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_P64 */
-#define MCF_FEC_RMON_R_P64_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_P65TO127 */
-#define MCF_FEC_RMON_R_P65TO127_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_P128TO255 */
-#define MCF_FEC_RMON_R_P128TO255_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_P256TO511 */
-#define MCF_FEC_RMON_R_P256TO511_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_P512TO1023 */
-#define MCF_FEC_RMON_R_P512TO1023_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_P1024TO2047 */
-#define MCF_FEC_RMON_R_P1024TO2047_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_P_GTE2048 */
-#define MCF_FEC_RMON_R_P_GTE2048_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_RMON_R_OCTETS */
-#define MCF_FEC_RMON_R_OCTETS_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_R_DROP */
-#define MCF_FEC_IEEE_R_DROP_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_R_FRAME_OK */
-#define MCF_FEC_IEEE_R_FRAME_OK_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_R_CRC */
-#define MCF_FEC_IEEE_R_CRC_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_R_ALIGN */
-#define MCF_FEC_IEEE_R_ALIGN_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_R_MACERR */
-#define MCF_FEC_IEEE_R_MACERR_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_R_FDXFC */
-#define MCF_FEC_IEEE_R_FDXFC_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FEC_IEEE_R_OCTETS_OK */
-#define MCF_FEC_IEEE_R_OCTETS_OK_Value(x) (((x)&0xFFFFFFFF)<<0)
-
-
-#endif /* __MCF5282_FEC_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FlexCAN.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FlexCAN.h
deleted file mode 100644
index 889047feb..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FlexCAN.h
+++ /dev/null
@@ -1,144 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_FlexCAN_H__
-#define __MCF5282_FlexCAN_H__
-
-
-/*********************************************************************
-*
-* Flex Controller Area Network (FlexCAN)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_FlexCAN_CANMCR (*(vuint16*)(&__IPSBAR[0x1C0000]))
-#define MCF_FlexCAN_CANCTRL0 (*(vuint8 *)(&__IPSBAR[0x1C0006]))
-#define MCF_FlexCAN_CANCTRL1 (*(vuint8 *)(&__IPSBAR[0x1C0007]))
-#define MCF_FlexCAN_PRESDIV (*(vuint8 *)(&__IPSBAR[0x1C0008]))
-#define MCF_FlexCAN_CANCTRL2 (*(vuint8 *)(&__IPSBAR[0x1C0009]))
-#define MCF_FlexCAN_TIMER (*(vuint16*)(&__IPSBAR[0x1C000A]))
-#define MCF_FlexCAN_RXGMASK (*(vuint32*)(&__IPSBAR[0x1C0010]))
-#define MCF_FlexCAN_RX14MASK (*(vuint32*)(&__IPSBAR[0x1C0014]))
-#define MCF_FlexCAN_RX15MASK (*(vuint32*)(&__IPSBAR[0x1C0018]))
-#define MCF_FlexCAN_ESTAT (*(vuint16*)(&__IPSBAR[0x1C0020]))
-#define MCF_FlexCAN_IMASK (*(vuint16*)(&__IPSBAR[0x1C0022]))
-#define MCF_FlexCAN_IFLAG (*(vuint16*)(&__IPSBAR[0x1C0024]))
-#define MCF_FlexCAN_RXECTR (*(vuint8 *)(&__IPSBAR[0x1C0026]))
-#define MCF_FlexCAN_TXECTR (*(vuint8 *)(&__IPSBAR[0x1C0028]))
-
-
-
-/* Bit definitions and macros for MCF_FlexCAN_CANMCR */
-#define MCF_FlexCAN_CANMCR_STOPACK (0x10)
-#define MCF_FlexCAN_CANMCR_APS (0x20)
-#define MCF_FlexCAN_CANMCR_SELFWAKE (0x40)
-#define MCF_FlexCAN_CANMCR_SUPV (0x80)
-#define MCF_FlexCAN_CANMCR_FRZACK (0x100)
-#define MCF_FlexCAN_CANMCR_SOFTRST (0x200)
-#define MCF_FlexCAN_CANMCR_WAKEMSK (0x400)
-#define MCF_FlexCAN_CANMCR_NOTRDY (0x800)
-#define MCF_FlexCAN_CANMCR_HALT (0x1000)
-#define MCF_FlexCAN_CANMCR_FRZ (0x4000)
-#define MCF_FlexCAN_CANMCR_STOP (0x8000)
-
-/* Bit definitions and macros for MCF_FlexCAN_CANCTRL0 */
-#define MCF_FlexCAN_CANCTRL0_TXMODE(x) (((x)&0x3)<<0)
-#define MCF_FlexCAN_CANCTRL0_RXMODE (0x4)
-#define MCF_FlexCAN_CANCTRL0_ERRMSK (0x40)
-#define MCF_FlexCAN_CANCTRL0_BOFFMSK (0x80)
-
-/* Bit definitions and macros for MCF_FlexCAN_CANCTRL1 */
-#define MCF_FlexCAN_CANCTRL1_PROPSEG(x) (((x)&0x7)<<0)
-#define MCF_FlexCAN_CANCTRL1_LOM (0x8)
-#define MCF_FlexCAN_CANCTRL1_LBUF (0x10)
-#define MCF_FlexCAN_CANCTRL1_TSYNC (0x20)
-#define MCF_FlexCAN_CANCTRL1_SAMP (0x80)
-
-/* Bit definitions and macros for MCF_FlexCAN_PRESDIV */
-#define MCF_FlexCAN_PRESDIV_PRES_DIV(x) (((x)&0xFF)<<0)
-
-/* Bit definitions and macros for MCF_FlexCAN_CANCTRL2 */
-#define MCF_FlexCAN_CANCTRL2_PSEG2(x) (((x)&0x7)<<0)
-#define MCF_FlexCAN_CANCTRL2_PSEG1(x) (((x)&0x7)<<0x3)
-#define MCF_FlexCAN_CANCTRL2_RJW(x) (((x)&0x3)<<0x6)
-
-/* Bit definitions and macros for MCF_FlexCAN_TIMER */
-#define MCF_FlexCAN_TIMER_TIMER(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_FlexCAN_RXGMASK */
-#define MCF_FlexCAN_RXGMASK_MID(x) (((x)&0x7FFFFFFF)<<0x1)
-
-/* Bit definitions and macros for MCF_FlexCAN_RX14MASK */
-#define MCF_FlexCAN_RX14MASK_MID(x) (((x)&0x7FFFFFFF)<<0x1)
-
-/* Bit definitions and macros for MCF_FlexCAN_RX15MASK */
-#define MCF_FlexCAN_RX15MASK_MID(x) (((x)&0x7FFFFFFF)<<0x1)
-
-/* Bit definitions and macros for MCF_FlexCAN_ESTAT */
-#define MCF_FlexCAN_ESTAT_WAKEINT (0x1)
-#define MCF_FlexCAN_ESTAT_BOFFINT (0x2)
-#define MCF_FlexCAN_ESTAT_ERRINT (0x4)
-#define MCF_FlexCAN_ESTAT_FCS(x) (((x)&0x3)<<0x4)
-#define MCF_FlexCAN_ESTAT_FCS_ACTIVE (0)
-#define MCF_FlexCAN_ESTAT_FCS_PASSIVE (0x10)
-#define MCF_FlexCAN_ESTAT_TXRX (0x40)
-#define MCF_FlexCAN_ESTAT_IDLE (0x80)
-#define MCF_FlexCAN_ESTAT_RXWARN (0x100)
-#define MCF_FlexCAN_ESTAT_TXWARN (0x200)
-#define MCF_FlexCAN_ESTAT_STUFFERR (0x400)
-#define MCF_FlexCAN_ESTAT_FORMERR (0x800)
-#define MCF_FlexCAN_ESTAT_CRCERR (0x1000)
-#define MCF_FlexCAN_ESTAT_ACKERR (0x2000)
-#define MCF_FlexCAN_ESTAT_BITERR(x) (((x)&0x3)<<0xE)
-
-/* Bit definitions and macros for MCF_FlexCAN_IMASK */
-#define MCF_FlexCAN_IMASK_BUF0M (0x1)
-#define MCF_FlexCAN_IMASK_BUF1M (0x2)
-#define MCF_FlexCAN_IMASK_BUF2M (0x4)
-#define MCF_FlexCAN_IMASK_BUF3M (0x8)
-#define MCF_FlexCAN_IMASK_BUF4M (0x10)
-#define MCF_FlexCAN_IMASK_BUF5M (0x20)
-#define MCF_FlexCAN_IMASK_BUF6M (0x40)
-#define MCF_FlexCAN_IMASK_BUF7M (0x80)
-#define MCF_FlexCAN_IMASK_BUF8M (0x100)
-#define MCF_FlexCAN_IMASK_BUF9M (0x200)
-#define MCF_FlexCAN_IMASK_BUF10M (0x400)
-#define MCF_FlexCAN_IMASK_BUF11M (0x800)
-#define MCF_FlexCAN_IMASK_BUF12M (0x1000)
-#define MCF_FlexCAN_IMASK_BUF13M (0x2000)
-#define MCF_FlexCAN_IMASK_BUF14M (0x4000)
-#define MCF_FlexCAN_IMASK_BUF15M (0x8000)
-#define MCF_FlexCAN_IMASK_BUF(x) (0x1<<(x))
-
-/* Bit definitions and macros for MCF_FlexCAN_IFLAG */
-#define MCF_FlexCAN_IFLAG_BUF0I (0x1)
-#define MCF_FlexCAN_IFLAG_BUF1I (0x2)
-#define MCF_FlexCAN_IFLAG_BUF2I (0x4)
-#define MCF_FlexCAN_IFLAG_BUF3I (0x8)
-#define MCF_FlexCAN_IFLAG_BUF4I (0x10)
-#define MCF_FlexCAN_IFLAG_BUF5I (0x20)
-#define MCF_FlexCAN_IFLAG_BUF6I (0x40)
-#define MCF_FlexCAN_IFLAG_BUF7I (0x80)
-#define MCF_FlexCAN_IFLAG_BUF8I (0x100)
-#define MCF_FlexCAN_IFLAG_BUF9I (0x200)
-#define MCF_FlexCAN_IFLAG_BUF10I (0x400)
-#define MCF_FlexCAN_IFLAG_BUF11I (0x800)
-#define MCF_FlexCAN_IFLAG_BUF12I (0x1000)
-#define MCF_FlexCAN_IFLAG_BUF13I (0x2000)
-#define MCF_FlexCAN_IFLAG_BUF14I (0x4000)
-#define MCF_FlexCAN_IFLAG_BUF15I (0x8000)
-#define MCF_FlexCAN_IFLAG_BUF(x) (0x1<<(x))
-
-/* Bit definitions and macros for MCF_FlexCAN_RXECTR */
-#define MCF_FlexCAN_RXECTR_RXECTR(x) (((x)&0xFF)<<0)
-
-/* Bit definitions and macros for MCF_FlexCAN_TXECTR */
-#define MCF_FlexCAN_TXECTR_TXECTR(x) (((x)&0xFF)<<0)
-
-
-#endif /* __MCF5282_FlexCAN_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GIACR.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GIACR.h
deleted file mode 100644
index f1ad656f5..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GIACR.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_GIACR_H__
-#define __MCF5282_GIACR_H__
-
-
-/*********************************************************************
-*
-* Global Interrupt Acknowledge Control Registers Module (GIACR)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_GIACR_GSWIACK (*(vuint8 *)(&__IPSBAR[0xFE0]))
-#define MCF_GIACR_GL1IACK (*(vuint8 *)(&__IPSBAR[0xFE4]))
-#define MCF_GIACR_GL2IACK (*(vuint8 *)(&__IPSBAR[0xFE8]))
-#define MCF_GIACR_GL3IACK (*(vuint8 *)(&__IPSBAR[0xFEC]))
-#define MCF_GIACR_GL4IACK (*(vuint8 *)(&__IPSBAR[0xFF0]))
-#define MCF_GIACR_GL5IACK (*(vuint8 *)(&__IPSBAR[0xFF4]))
-#define MCF_GIACR_GL6IACK (*(vuint8 *)(&__IPSBAR[0xFF8]))
-#define MCF_GIACR_GL7IACK (*(vuint8 *)(&__IPSBAR[0xFFC]))
-#define MCF_GIACR_GLIACK(x) (*(vuint8 *)(&__IPSBAR[0xFE4 + ((x-1)*0x4)]))
-
-
-/* Bit definitions and macros for MCF_GIACR_GSWIACK */
-#define MCF_GIACR_GSWIACK_VECTOR(x) (((x)&0xFF)<<0)
-
-/* Bit definitions and macros for MCF_GIACR_GLIACK */
-#define MCF_GIACR_GLIACK_VECTOR(x) (((x)&0xFF)<<0)
-
-
-#endif /* __MCF5282_GIACR_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPIO.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPIO.h
deleted file mode 100644
index 2118d9ffc..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPIO.h
+++ /dev/null
@@ -1,764 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_GPIO_H__
-#define __MCF5282_GPIO_H__
-
-
-/*********************************************************************
-*
-* General Purpose I/O (GPIO)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_GPIO_PORTA (*(vuint8 *)(&__IPSBAR[0x100000]))
-#define MCF_GPIO_DDRA (*(vuint8 *)(&__IPSBAR[0x100014]))
-#define MCF_GPIO_SETA (*(vuint8 *)(&__IPSBAR[0x100028]))
-#define MCF_GPIO_CLRA (*(vuint8 *)(&__IPSBAR[0x10003C]))
-
-#define MCF_GPIO_PORTB (*(vuint8 *)(&__IPSBAR[0x100001]))
-#define MCF_GPIO_DDRB (*(vuint8 *)(&__IPSBAR[0x100015]))
-#define MCF_GPIO_SETB (*(vuint8 *)(&__IPSBAR[0x100029]))
-#define MCF_GPIO_CLRB (*(vuint8 *)(&__IPSBAR[0x10003D]))
-
-#define MCF_GPIO_PORTC (*(vuint8 *)(&__IPSBAR[0x100002]))
-#define MCF_GPIO_DDRC (*(vuint8 *)(&__IPSBAR[0x100016]))
-#define MCF_GPIO_SETC (*(vuint8 *)(&__IPSBAR[0x10002A]))
-#define MCF_GPIO_CLRC (*(vuint8 *)(&__IPSBAR[0x10003E]))
-
-#define MCF_GPIO_PORTD (*(vuint8 *)(&__IPSBAR[0x100003]))
-#define MCF_GPIO_DDRD (*(vuint8 *)(&__IPSBAR[0x100017]))
-#define MCF_GPIO_SETD (*(vuint8 *)(&__IPSBAR[0x10002B]))
-#define MCF_GPIO_CLRD (*(vuint8 *)(&__IPSBAR[0x10003F]))
-
-#define MCF_GPIO_PORTE (*(vuint8 *)(&__IPSBAR[0x100004]))
-#define MCF_GPIO_DDRE (*(vuint8 *)(&__IPSBAR[0x100018]))
-#define MCF_GPIO_SETE (*(vuint8 *)(&__IPSBAR[0x10002C]))
-#define MCF_GPIO_CLRE (*(vuint8 *)(&__IPSBAR[0x100040]))
-
-#define MCF_GPIO_PORTF (*(vuint8 *)(&__IPSBAR[0x100005]))
-#define MCF_GPIO_DDRF (*(vuint8 *)(&__IPSBAR[0x100019]))
-#define MCF_GPIO_SETF (*(vuint8 *)(&__IPSBAR[0x10002D]))
-#define MCF_GPIO_CLRF (*(vuint8 *)(&__IPSBAR[0x100041]))
-
-#define MCF_GPIO_PORTG (*(vuint8 *)(&__IPSBAR[0x100006]))
-#define MCF_GPIO_DDRG (*(vuint8 *)(&__IPSBAR[0x10001A]))
-#define MCF_GPIO_SETG (*(vuint8 *)(&__IPSBAR[0x10002E]))
-#define MCF_GPIO_CLRG (*(vuint8 *)(&__IPSBAR[0x100042]))
-
-#define MCF_GPIO_PORTH (*(vuint8 *)(&__IPSBAR[0x100007]))
-#define MCF_GPIO_DDRH (*(vuint8 *)(&__IPSBAR[0x10001B]))
-#define MCF_GPIO_SETH (*(vuint8 *)(&__IPSBAR[0x10002F]))
-#define MCF_GPIO_CLRH (*(vuint8 *)(&__IPSBAR[0x100043]))
-
-#define MCF_GPIO_PORTJ (*(vuint8 *)(&__IPSBAR[0x100008]))
-#define MCF_GPIO_DDRJ (*(vuint8 *)(&__IPSBAR[0x10001C]))
-#define MCF_GPIO_SETJ (*(vuint8 *)(&__IPSBAR[0x100030]))
-#define MCF_GPIO_CLRJ (*(vuint8 *)(&__IPSBAR[0x100044]))
-
-#define MCF_GPIO_PORTDD (*(vuint8 *)(&__IPSBAR[0x100009]))
-#define MCF_GPIO_DDRDD (*(vuint8 *)(&__IPSBAR[0x10001D]))
-#define MCF_GPIO_SETDD (*(vuint8 *)(&__IPSBAR[0x100031]))
-#define MCF_GPIO_CLRDD (*(vuint8 *)(&__IPSBAR[0x100045]))
-
-#define MCF_GPIO_PORTEH (*(vuint8 *)(&__IPSBAR[0x10000A]))
-#define MCF_GPIO_DDREH (*(vuint8 *)(&__IPSBAR[0x10001E]))
-#define MCF_GPIO_SETEH (*(vuint8 *)(&__IPSBAR[0x100032]))
-#define MCF_GPIO_CLREH (*(vuint8 *)(&__IPSBAR[0x100046]))
-
-#define MCF_GPIO_PORTEL (*(vuint8 *)(&__IPSBAR[0x10000B]))
-#define MCF_GPIO_DDREL (*(vuint8 *)(&__IPSBAR[0x10001F]))
-#define MCF_GPIO_SETEL (*(vuint8 *)(&__IPSBAR[0x100033]))
-#define MCF_GPIO_CLREL (*(vuint8 *)(&__IPSBAR[0x100047]))
-
-#define MCF_GPIO_PORTAS (*(vuint8 *)(&__IPSBAR[0x10000C]))
-#define MCF_GPIO_DDRAS (*(vuint8 *)(&__IPSBAR[0x100020]))
-#define MCF_GPIO_SETAS (*(vuint8 *)(&__IPSBAR[0x100034]))
-#define MCF_GPIO_CLRAS (*(vuint8 *)(&__IPSBAR[0x100048]))
-
-#define MCF_GPIO_PORTQS (*(vuint8 *)(&__IPSBAR[0x10000D]))
-#define MCF_GPIO_DDRQS (*(vuint8 *)(&__IPSBAR[0x100021]))
-#define MCF_GPIO_SETQS (*(vuint8 *)(&__IPSBAR[0x100035]))
-#define MCF_GPIO_CLRQS (*(vuint8 *)(&__IPSBAR[0x100049]))
-
-#define MCF_GPIO_PORTSD (*(vuint8 *)(&__IPSBAR[0x10000E]))
-#define MCF_GPIO_DDRSD (*(vuint8 *)(&__IPSBAR[0x100022]))
-#define MCF_GPIO_SETSD (*(vuint8 *)(&__IPSBAR[0x100036]))
-#define MCF_GPIO_CLRSD (*(vuint8 *)(&__IPSBAR[0x10004A]))
-
-#define MCF_GPIO_PORTTC (*(vuint8 *)(&__IPSBAR[0x10000F]))
-#define MCF_GPIO_DDRTC (*(vuint8 *)(&__IPSBAR[0x100023]))
-#define MCF_GPIO_SETTC (*(vuint8 *)(&__IPSBAR[0x100037]))
-#define MCF_GPIO_CLRTC (*(vuint8 *)(&__IPSBAR[0x10004B]))
-
-#define MCF_GPIO_PORTTD (*(vuint8 *)(&__IPSBAR[0x100010]))
-#define MCF_GPIO_DDRTD (*(vuint8 *)(&__IPSBAR[0x100024]))
-#define MCF_GPIO_SETTD (*(vuint8 *)(&__IPSBAR[0x100038]))
-#define MCF_GPIO_CLRTD (*(vuint8 *)(&__IPSBAR[0x10004C]))
-
-#define MCF_GPIO_PORTUA (*(vuint8 *)(&__IPSBAR[0x100011]))
-#define MCF_GPIO_DDRUA (*(vuint8 *)(&__IPSBAR[0x100025]))
-#define MCF_GPIO_SETUA (*(vuint8 *)(&__IPSBAR[0x100039]))
-#define MCF_GPIO_CLRUA (*(vuint8 *)(&__IPSBAR[0x10004D]))
-
-
-
-/* Bit definitions and macros for MCF_GPIO_PORTA */
-#define MCF_GPIO_PORTA_PORTA0 (0x1)
-#define MCF_GPIO_PORTA_PORTA1 (0x2)
-#define MCF_GPIO_PORTA_PORTA2 (0x4)
-#define MCF_GPIO_PORTA_PORTA3 (0x8)
-#define MCF_GPIO_PORTA_PORTA4 (0x10)
-#define MCF_GPIO_PORTA_PORTA5 (0x20)
-#define MCF_GPIO_PORTA_PORTA6 (0x40)
-#define MCF_GPIO_PORTA_PORTA7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRA */
-#define MCF_GPIO_DDRA_DDRA0 (0x1)
-#define MCF_GPIO_DDRA_DDRA1 (0x2)
-#define MCF_GPIO_DDRA_DDRA2 (0x4)
-#define MCF_GPIO_DDRA_DDRA3 (0x8)
-#define MCF_GPIO_DDRA_DDRA4 (0x10)
-#define MCF_GPIO_DDRA_DDRA5 (0x20)
-#define MCF_GPIO_DDRA_DDRA6 (0x40)
-#define MCF_GPIO_DDRA_DDRA7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETA */
-#define MCF_GPIO_SETA_SETA0 (0x1)
-#define MCF_GPIO_SETA_SETA1 (0x2)
-#define MCF_GPIO_SETA_SETA2 (0x4)
-#define MCF_GPIO_SETA_SETA3 (0x8)
-#define MCF_GPIO_SETA_SETA4 (0x10)
-#define MCF_GPIO_SETA_SETA5 (0x20)
-#define MCF_GPIO_SETA_SETA6 (0x40)
-#define MCF_GPIO_SETA_SETA7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRA */
-#define MCF_GPIO_CLRA_CLRA0 (0x1)
-#define MCF_GPIO_CLRA_CLRA1 (0x2)
-#define MCF_GPIO_CLRA_CLRA2 (0x4)
-#define MCF_GPIO_CLRA_CLRA3 (0x8)
-#define MCF_GPIO_CLRA_CLRA4 (0x10)
-#define MCF_GPIO_CLRA_CLRA5 (0x20)
-#define MCF_GPIO_CLRA_CLRA6 (0x40)
-#define MCF_GPIO_CLRA_CLRA7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTB */
-#define MCF_GPIO_PORTB_PORTB0 (0x1)
-#define MCF_GPIO_PORTB_PORTB1 (0x2)
-#define MCF_GPIO_PORTB_PORTB2 (0x4)
-#define MCF_GPIO_PORTB_PORTB3 (0x8)
-#define MCF_GPIO_PORTB_PORTB4 (0x10)
-#define MCF_GPIO_PORTB_PORTB5 (0x20)
-#define MCF_GPIO_PORTB_PORTB6 (0x40)
-#define MCF_GPIO_PORTB_PORTB7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRB */
-#define MCF_GPIO_DDRB_DDRB0 (0x1)
-#define MCF_GPIO_DDRB_DDRB1 (0x2)
-#define MCF_GPIO_DDRB_DDRB2 (0x4)
-#define MCF_GPIO_DDRB_DDRB3 (0x8)
-#define MCF_GPIO_DDRB_DDRB4 (0x10)
-#define MCF_GPIO_DDRB_DDRB5 (0x20)
-#define MCF_GPIO_DDRB_DDRB6 (0x40)
-#define MCF_GPIO_DDRB_DDRB7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETB */
-#define MCF_GPIO_SETB_SETB0 (0x1)
-#define MCF_GPIO_SETB_SETB1 (0x2)
-#define MCF_GPIO_SETB_SETB2 (0x4)
-#define MCF_GPIO_SETB_SETB3 (0x8)
-#define MCF_GPIO_SETB_SETB4 (0x10)
-#define MCF_GPIO_SETB_SETB5 (0x20)
-#define MCF_GPIO_SETB_SETB6 (0x40)
-#define MCF_GPIO_SETB_SETB7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRB */
-#define MCF_GPIO_CLRB_CLRB0 (0x1)
-#define MCF_GPIO_CLRB_CLRB1 (0x2)
-#define MCF_GPIO_CLRB_CLRB2 (0x4)
-#define MCF_GPIO_CLRB_CLRB3 (0x8)
-#define MCF_GPIO_CLRB_CLRB4 (0x10)
-#define MCF_GPIO_CLRB_CLRB5 (0x20)
-#define MCF_GPIO_CLRB_CLRB6 (0x40)
-#define MCF_GPIO_CLRB_CLRB7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTC */
-#define MCF_GPIO_PORTC_PORTC0 (0x1)
-#define MCF_GPIO_PORTC_PORTC1 (0x2)
-#define MCF_GPIO_PORTC_PORTC2 (0x4)
-#define MCF_GPIO_PORTC_PORTC3 (0x8)
-#define MCF_GPIO_PORTC_PORTC4 (0x10)
-#define MCF_GPIO_PORTC_PORTC5 (0x20)
-#define MCF_GPIO_PORTC_PORTC6 (0x40)
-#define MCF_GPIO_PORTC_PORTC7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRC */
-#define MCF_GPIO_DDRC_DDRC0 (0x1)
-#define MCF_GPIO_DDRC_DDRC1 (0x2)
-#define MCF_GPIO_DDRC_DDRC2 (0x4)
-#define MCF_GPIO_DDRC_DDRC3 (0x8)
-#define MCF_GPIO_DDRC_DDRC4 (0x10)
-#define MCF_GPIO_DDRC_DDRC5 (0x20)
-#define MCF_GPIO_DDRC_DDRC6 (0x40)
-#define MCF_GPIO_DDRC_DDRC7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETC */
-#define MCF_GPIO_SETC_SETC0 (0x1)
-#define MCF_GPIO_SETC_SETC1 (0x2)
-#define MCF_GPIO_SETC_SETC2 (0x4)
-#define MCF_GPIO_SETC_SETC3 (0x8)
-#define MCF_GPIO_SETC_SETC4 (0x10)
-#define MCF_GPIO_SETC_SETC5 (0x20)
-#define MCF_GPIO_SETC_SETC6 (0x40)
-#define MCF_GPIO_SETC_SETC7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRC */
-#define MCF_GPIO_CLRC_CLRC0 (0x1)
-#define MCF_GPIO_CLRC_CLRC1 (0x2)
-#define MCF_GPIO_CLRC_CLRC2 (0x4)
-#define MCF_GPIO_CLRC_CLRC3 (0x8)
-#define MCF_GPIO_CLRC_CLRC4 (0x10)
-#define MCF_GPIO_CLRC_CLRC5 (0x20)
-#define MCF_GPIO_CLRC_CLRC6 (0x40)
-#define MCF_GPIO_CLRC_CLRC7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTD */
-#define MCF_GPIO_PORTD_PORTD0 (0x1)
-#define MCF_GPIO_PORTD_PORTD1 (0x2)
-#define MCF_GPIO_PORTD_PORTD2 (0x4)
-#define MCF_GPIO_PORTD_PORTD3 (0x8)
-#define MCF_GPIO_PORTD_PORTD4 (0x10)
-#define MCF_GPIO_PORTD_PORTD5 (0x20)
-#define MCF_GPIO_PORTD_PORTD6 (0x40)
-#define MCF_GPIO_PORTD_PORTD7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRD */
-#define MCF_GPIO_DDRD_DDRD0 (0x1)
-#define MCF_GPIO_DDRD_DDRD1 (0x2)
-#define MCF_GPIO_DDRD_DDRD2 (0x4)
-#define MCF_GPIO_DDRD_DDRD3 (0x8)
-#define MCF_GPIO_DDRD_DDRD4 (0x10)
-#define MCF_GPIO_DDRD_DDRD5 (0x20)
-#define MCF_GPIO_DDRD_DDRD6 (0x40)
-#define MCF_GPIO_DDRD_DDRD7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETD */
-#define MCF_GPIO_SETD_SETD0 (0x1)
-#define MCF_GPIO_SETD_SETD1 (0x2)
-#define MCF_GPIO_SETD_SETD2 (0x4)
-#define MCF_GPIO_SETD_SETD3 (0x8)
-#define MCF_GPIO_SETD_SETD4 (0x10)
-#define MCF_GPIO_SETD_SETD5 (0x20)
-#define MCF_GPIO_SETD_SETD6 (0x40)
-#define MCF_GPIO_SETD_SETD7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRD */
-#define MCF_GPIO_CLRD_CLRD0 (0x1)
-#define MCF_GPIO_CLRD_CLRD1 (0x2)
-#define MCF_GPIO_CLRD_CLRD2 (0x4)
-#define MCF_GPIO_CLRD_CLRD3 (0x8)
-#define MCF_GPIO_CLRD_CLRD4 (0x10)
-#define MCF_GPIO_CLRD_CLRD5 (0x20)
-#define MCF_GPIO_CLRD_CLRD6 (0x40)
-#define MCF_GPIO_CLRD_CLRD7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTE */
-#define MCF_GPIO_PORTE_PORTE0 (0x1)
-#define MCF_GPIO_PORTE_PORTE1 (0x2)
-#define MCF_GPIO_PORTE_PORTE2 (0x4)
-#define MCF_GPIO_PORTE_PORTE3 (0x8)
-#define MCF_GPIO_PORTE_PORTE4 (0x10)
-#define MCF_GPIO_PORTE_PORTE5 (0x20)
-#define MCF_GPIO_PORTE_PORTE6 (0x40)
-#define MCF_GPIO_PORTE_PORTE7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRE */
-#define MCF_GPIO_DDRE_DDRE0 (0x1)
-#define MCF_GPIO_DDRE_DDRE1 (0x2)
-#define MCF_GPIO_DDRE_DDRE2 (0x4)
-#define MCF_GPIO_DDRE_DDRE3 (0x8)
-#define MCF_GPIO_DDRE_DDRE4 (0x10)
-#define MCF_GPIO_DDRE_DDRE5 (0x20)
-#define MCF_GPIO_DDRE_DDRE6 (0x40)
-#define MCF_GPIO_DDRE_DDRE7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETE */
-#define MCF_GPIO_SETE_SETE0 (0x1)
-#define MCF_GPIO_SETE_SETE1 (0x2)
-#define MCF_GPIO_SETE_SETE2 (0x4)
-#define MCF_GPIO_SETE_SETE3 (0x8)
-#define MCF_GPIO_SETE_SETE4 (0x10)
-#define MCF_GPIO_SETE_SETE5 (0x20)
-#define MCF_GPIO_SETE_SETE6 (0x40)
-#define MCF_GPIO_SETE_SETE7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRE */
-#define MCF_GPIO_CLRE_CLRE0 (0x1)
-#define MCF_GPIO_CLRE_CLRE1 (0x2)
-#define MCF_GPIO_CLRE_CLRE2 (0x4)
-#define MCF_GPIO_CLRE_CLRE3 (0x8)
-#define MCF_GPIO_CLRE_CLRE4 (0x10)
-#define MCF_GPIO_CLRE_CLRE5 (0x20)
-#define MCF_GPIO_CLRE_CLRE6 (0x40)
-#define MCF_GPIO_CLRE_CLRE7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTF */
-#define MCF_GPIO_PORTF_PORTF0 (0x1)
-#define MCF_GPIO_PORTF_PORTF1 (0x2)
-#define MCF_GPIO_PORTF_PORTF2 (0x4)
-#define MCF_GPIO_PORTF_PORTF3 (0x8)
-#define MCF_GPIO_PORTF_PORTF4 (0x10)
-#define MCF_GPIO_PORTF_PORTF5 (0x20)
-#define MCF_GPIO_PORTF_PORTF6 (0x40)
-#define MCF_GPIO_PORTF_PORTF7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRF */
-#define MCF_GPIO_DDRF_DDRF0 (0x1)
-#define MCF_GPIO_DDRF_DDRF1 (0x2)
-#define MCF_GPIO_DDRF_DDRF2 (0x4)
-#define MCF_GPIO_DDRF_DDRF3 (0x8)
-#define MCF_GPIO_DDRF_DDRF4 (0x10)
-#define MCF_GPIO_DDRF_DDRF5 (0x20)
-#define MCF_GPIO_DDRF_DDRF6 (0x40)
-#define MCF_GPIO_DDRF_DDRF7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETF */
-#define MCF_GPIO_SETF_SETF0 (0x1)
-#define MCF_GPIO_SETF_SETF1 (0x2)
-#define MCF_GPIO_SETF_SETF2 (0x4)
-#define MCF_GPIO_SETF_SETF3 (0x8)
-#define MCF_GPIO_SETF_SETF4 (0x10)
-#define MCF_GPIO_SETF_SETF5 (0x20)
-#define MCF_GPIO_SETF_SETF6 (0x40)
-#define MCF_GPIO_SETF_SETF7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRF */
-#define MCF_GPIO_CLRF_CLRF0 (0x1)
-#define MCF_GPIO_CLRF_CLRF1 (0x2)
-#define MCF_GPIO_CLRF_CLRF2 (0x4)
-#define MCF_GPIO_CLRF_CLRF3 (0x8)
-#define MCF_GPIO_CLRF_CLRF4 (0x10)
-#define MCF_GPIO_CLRF_CLRF5 (0x20)
-#define MCF_GPIO_CLRF_CLRF6 (0x40)
-#define MCF_GPIO_CLRF_CLRF7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTG */
-#define MCF_GPIO_PORTG_PORTG0 (0x1)
-#define MCF_GPIO_PORTG_PORTG1 (0x2)
-#define MCF_GPIO_PORTG_PORTG2 (0x4)
-#define MCF_GPIO_PORTG_PORTG3 (0x8)
-#define MCF_GPIO_PORTG_PORTG4 (0x10)
-#define MCF_GPIO_PORTG_PORTG5 (0x20)
-#define MCF_GPIO_PORTG_PORTG6 (0x40)
-#define MCF_GPIO_PORTG_PORTG7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRG */
-#define MCF_GPIO_DDRG_DDRG0 (0x1)
-#define MCF_GPIO_DDRG_DDRG1 (0x2)
-#define MCF_GPIO_DDRG_DDRG2 (0x4)
-#define MCF_GPIO_DDRG_DDRG3 (0x8)
-#define MCF_GPIO_DDRG_DDRG4 (0x10)
-#define MCF_GPIO_DDRG_DDRG5 (0x20)
-#define MCF_GPIO_DDRG_DDRG6 (0x40)
-#define MCF_GPIO_DDRG_DDRG7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETG */
-#define MCF_GPIO_SETG_SETG0 (0x1)
-#define MCF_GPIO_SETG_SETG1 (0x2)
-#define MCF_GPIO_SETG_SETG2 (0x4)
-#define MCF_GPIO_SETG_SETG3 (0x8)
-#define MCF_GPIO_SETG_SETG4 (0x10)
-#define MCF_GPIO_SETG_SETG5 (0x20)
-#define MCF_GPIO_SETG_SETG6 (0x40)
-#define MCF_GPIO_SETG_SETG7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRG */
-#define MCF_GPIO_CLRG_CLRG0 (0x1)
-#define MCF_GPIO_CLRG_CLRG1 (0x2)
-#define MCF_GPIO_CLRG_CLRG2 (0x4)
-#define MCF_GPIO_CLRG_CLRG3 (0x8)
-#define MCF_GPIO_CLRG_CLRG4 (0x10)
-#define MCF_GPIO_CLRG_CLRG5 (0x20)
-#define MCF_GPIO_CLRG_CLRG6 (0x40)
-#define MCF_GPIO_CLRG_CLRG7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTH */
-#define MCF_GPIO_PORTH_PORTH0 (0x1)
-#define MCF_GPIO_PORTH_PORTH1 (0x2)
-#define MCF_GPIO_PORTH_PORTH2 (0x4)
-#define MCF_GPIO_PORTH_PORTH3 (0x8)
-#define MCF_GPIO_PORTH_PORTH4 (0x10)
-#define MCF_GPIO_PORTH_PORTH5 (0x20)
-#define MCF_GPIO_PORTH_PORTH6 (0x40)
-#define MCF_GPIO_PORTH_PORTH7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRH */
-#define MCF_GPIO_DDRH_DDRH0 (0x1)
-#define MCF_GPIO_DDRH_DDRH1 (0x2)
-#define MCF_GPIO_DDRH_DDRH2 (0x4)
-#define MCF_GPIO_DDRH_DDRH3 (0x8)
-#define MCF_GPIO_DDRH_DDRH4 (0x10)
-#define MCF_GPIO_DDRH_DDRH5 (0x20)
-#define MCF_GPIO_DDRH_DDRH6 (0x40)
-#define MCF_GPIO_DDRH_DDRH7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETH */
-#define MCF_GPIO_SETH_SETH0 (0x1)
-#define MCF_GPIO_SETH_SETH1 (0x2)
-#define MCF_GPIO_SETH_SETH2 (0x4)
-#define MCF_GPIO_SETH_SETH3 (0x8)
-#define MCF_GPIO_SETH_SETH4 (0x10)
-#define MCF_GPIO_SETH_SETH5 (0x20)
-#define MCF_GPIO_SETH_SETH6 (0x40)
-#define MCF_GPIO_SETH_SETH7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRH */
-#define MCF_GPIO_CLRH_CLRH0 (0x1)
-#define MCF_GPIO_CLRH_CLRH1 (0x2)
-#define MCF_GPIO_CLRH_CLRH2 (0x4)
-#define MCF_GPIO_CLRH_CLRH3 (0x8)
-#define MCF_GPIO_CLRH_CLRH4 (0x10)
-#define MCF_GPIO_CLRH_CLRH5 (0x20)
-#define MCF_GPIO_CLRH_CLRH6 (0x40)
-#define MCF_GPIO_CLRH_CLRH7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTJ */
-#define MCF_GPIO_PORTJ_PORTJ0 (0x1)
-#define MCF_GPIO_PORTJ_PORTJ1 (0x2)
-#define MCF_GPIO_PORTJ_PORTJ2 (0x4)
-#define MCF_GPIO_PORTJ_PORTJ3 (0x8)
-#define MCF_GPIO_PORTJ_PORTJ4 (0x10)
-#define MCF_GPIO_PORTJ_PORTJ5 (0x20)
-#define MCF_GPIO_PORTJ_PORTJ6 (0x40)
-#define MCF_GPIO_PORTJ_PORTJ7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRJ */
-#define MCF_GPIO_DDRJ_DDRJ0 (0x1)
-#define MCF_GPIO_DDRJ_DDRJ1 (0x2)
-#define MCF_GPIO_DDRJ_DDRJ2 (0x4)
-#define MCF_GPIO_DDRJ_DDRJ3 (0x8)
-#define MCF_GPIO_DDRJ_DDRJ4 (0x10)
-#define MCF_GPIO_DDRJ_DDRJ5 (0x20)
-#define MCF_GPIO_DDRJ_DDRJ6 (0x40)
-#define MCF_GPIO_DDRJ_DDRJ7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETJ */
-#define MCF_GPIO_SETJ_SETJ0 (0x1)
-#define MCF_GPIO_SETJ_SETJ1 (0x2)
-#define MCF_GPIO_SETJ_SETJ2 (0x4)
-#define MCF_GPIO_SETJ_SETJ3 (0x8)
-#define MCF_GPIO_SETJ_SETJ4 (0x10)
-#define MCF_GPIO_SETJ_SETJ5 (0x20)
-#define MCF_GPIO_SETJ_SETJ6 (0x40)
-#define MCF_GPIO_SETJ_SETJ7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRJ */
-#define MCF_GPIO_CLRJ_CLRJ0 (0x1)
-#define MCF_GPIO_CLRJ_CLRJ1 (0x2)
-#define MCF_GPIO_CLRJ_CLRJ2 (0x4)
-#define MCF_GPIO_CLRJ_CLRJ3 (0x8)
-#define MCF_GPIO_CLRJ_CLRJ4 (0x10)
-#define MCF_GPIO_CLRJ_CLRJ5 (0x20)
-#define MCF_GPIO_CLRJ_CLRJ6 (0x40)
-#define MCF_GPIO_CLRJ_CLRJ7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTDD */
-#define MCF_GPIO_PORTDD_PORTDD0 (0x1)
-#define MCF_GPIO_PORTDD_PORTDD1 (0x2)
-#define MCF_GPIO_PORTDD_PORTDD2 (0x4)
-#define MCF_GPIO_PORTDD_PORTDD3 (0x8)
-#define MCF_GPIO_PORTDD_PORTDD4 (0x10)
-#define MCF_GPIO_PORTDD_PORTDD5 (0x20)
-#define MCF_GPIO_PORTDD_PORTDD6 (0x40)
-#define MCF_GPIO_PORTDD_PORTDD7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDRDD */
-#define MCF_GPIO_DDRDD_DDRDD0 (0x1)
-#define MCF_GPIO_DDRDD_DDRDD1 (0x2)
-#define MCF_GPIO_DDRDD_DDRDD2 (0x4)
-#define MCF_GPIO_DDRDD_DDRDD3 (0x8)
-#define MCF_GPIO_DDRDD_DDRDD4 (0x10)
-#define MCF_GPIO_DDRDD_DDRDD5 (0x20)
-#define MCF_GPIO_DDRDD_DDRDD6 (0x40)
-#define MCF_GPIO_DDRDD_DDRDD7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETDD */
-#define MCF_GPIO_SETDD_SETDD0 (0x1)
-#define MCF_GPIO_SETDD_SETDD1 (0x2)
-#define MCF_GPIO_SETDD_SETDD2 (0x4)
-#define MCF_GPIO_SETDD_SETDD3 (0x8)
-#define MCF_GPIO_SETDD_SETDD4 (0x10)
-#define MCF_GPIO_SETDD_SETDD5 (0x20)
-#define MCF_GPIO_SETDD_SETDD6 (0x40)
-#define MCF_GPIO_SETDD_SETDD7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLRDD */
-#define MCF_GPIO_CLRDD_CLRDD0 (0x1)
-#define MCF_GPIO_CLRDD_CLRDD1 (0x2)
-#define MCF_GPIO_CLRDD_CLRDD2 (0x4)
-#define MCF_GPIO_CLRDD_CLRDD3 (0x8)
-#define MCF_GPIO_CLRDD_CLRDD4 (0x10)
-#define MCF_GPIO_CLRDD_CLRDD5 (0x20)
-#define MCF_GPIO_CLRDD_CLRDD6 (0x40)
-#define MCF_GPIO_CLRDD_CLRDD7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTEH */
-#define MCF_GPIO_PORTEH_PORTEH0 (0x1)
-#define MCF_GPIO_PORTEH_PORTEH1 (0x2)
-#define MCF_GPIO_PORTEH_PORTEH2 (0x4)
-#define MCF_GPIO_PORTEH_PORTEH3 (0x8)
-#define MCF_GPIO_PORTEH_PORTEH4 (0x10)
-#define MCF_GPIO_PORTEH_PORTEH5 (0x20)
-#define MCF_GPIO_PORTEH_PORTEH6 (0x40)
-#define MCF_GPIO_PORTEH_PORTEH7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDREH */
-#define MCF_GPIO_DDREH_DDREH0 (0x1)
-#define MCF_GPIO_DDREH_DDREH1 (0x2)
-#define MCF_GPIO_DDREH_DDREH2 (0x4)
-#define MCF_GPIO_DDREH_DDREH3 (0x8)
-#define MCF_GPIO_DDREH_DDREH4 (0x10)
-#define MCF_GPIO_DDREH_DDREH5 (0x20)
-#define MCF_GPIO_DDREH_DDREH6 (0x40)
-#define MCF_GPIO_DDREH_DDREH7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETEH */
-#define MCF_GPIO_SETEH_SETEH0 (0x1)
-#define MCF_GPIO_SETEH_SETEH1 (0x2)
-#define MCF_GPIO_SETEH_SETEH2 (0x4)
-#define MCF_GPIO_SETEH_SETEH3 (0x8)
-#define MCF_GPIO_SETEH_SETEH4 (0x10)
-#define MCF_GPIO_SETEH_SETEH5 (0x20)
-#define MCF_GPIO_SETEH_SETEH6 (0x40)
-#define MCF_GPIO_SETEH_SETEH7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLREH */
-#define MCF_GPIO_CLREH_CLREH0 (0x1)
-#define MCF_GPIO_CLREH_CLREH1 (0x2)
-#define MCF_GPIO_CLREH_CLREH2 (0x4)
-#define MCF_GPIO_CLREH_CLREH3 (0x8)
-#define MCF_GPIO_CLREH_CLREH4 (0x10)
-#define MCF_GPIO_CLREH_CLREH5 (0x20)
-#define MCF_GPIO_CLREH_CLREH6 (0x40)
-#define MCF_GPIO_CLREH_CLREH7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTEL */
-#define MCF_GPIO_PORTEL_PORTEL0 (0x1)
-#define MCF_GPIO_PORTEL_PORTEL1 (0x2)
-#define MCF_GPIO_PORTEL_PORTEL2 (0x4)
-#define MCF_GPIO_PORTEL_PORTEL3 (0x8)
-#define MCF_GPIO_PORTEL_PORTEL4 (0x10)
-#define MCF_GPIO_PORTEL_PORTEL5 (0x20)
-#define MCF_GPIO_PORTEL_PORTEL6 (0x40)
-#define MCF_GPIO_PORTEL_PORTEL7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_DDREL */
-#define MCF_GPIO_DDREL_DDREL0 (0x1)
-#define MCF_GPIO_DDREL_DDREL1 (0x2)
-#define MCF_GPIO_DDREL_DDREL2 (0x4)
-#define MCF_GPIO_DDREL_DDREL3 (0x8)
-#define MCF_GPIO_DDREL_DDREL4 (0x10)
-#define MCF_GPIO_DDREL_DDREL5 (0x20)
-#define MCF_GPIO_DDREL_DDREL6 (0x40)
-#define MCF_GPIO_DDREL_DDREL7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_SETEL */
-#define MCF_GPIO_SETEL_SETEL0 (0x1)
-#define MCF_GPIO_SETEL_SETEL1 (0x2)
-#define MCF_GPIO_SETEL_SETEL2 (0x4)
-#define MCF_GPIO_SETEL_SETEL3 (0x8)
-#define MCF_GPIO_SETEL_SETEL4 (0x10)
-#define MCF_GPIO_SETEL_SETEL5 (0x20)
-#define MCF_GPIO_SETEL_SETEL6 (0x40)
-#define MCF_GPIO_SETEL_SETEL7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_CLREL */
-#define MCF_GPIO_CLREL_CLREL0 (0x1)
-#define MCF_GPIO_CLREL_CLREL1 (0x2)
-#define MCF_GPIO_CLREL_CLREL2 (0x4)
-#define MCF_GPIO_CLREL_CLREL3 (0x8)
-#define MCF_GPIO_CLREL_CLREL4 (0x10)
-#define MCF_GPIO_CLREL_CLREL5 (0x20)
-#define MCF_GPIO_CLREL_CLREL6 (0x40)
-#define MCF_GPIO_CLREL_CLREL7 (0x80)
-
-/* Bit definitions and macros for MCF_GPIO_PORTAS */
-#define MCF_GPIO_PORTAS_PORTAS0 (0x1)
-#define MCF_GPIO_PORTAS_PORTAS1 (0x2)
-#define MCF_GPIO_PORTAS_PORTAS2 (0x4)
-#define MCF_GPIO_PORTAS_PORTAS3 (0x8)
-#define MCF_GPIO_PORTAS_PORTAS4 (0x10)
-#define MCF_GPIO_PORTAS_PORTAS5 (0x20)
-
-/* Bit definitions and macros for MCF_GPIO_DDRAS */
-#define MCF_GPIO_DDRAS_DDRAS0 (0x1)
-#define MCF_GPIO_DDRAS_DDRAS1 (0x2)
-#define MCF_GPIO_DDRAS_DDRAS2 (0x4)
-#define MCF_GPIO_DDRAS_DDRAS3 (0x8)
-#define MCF_GPIO_DDRAS_DDRAS4 (0x10)
-#define MCF_GPIO_DDRAS_DDRAS5 (0x20)
-
-/* Bit definitions and macros for MCF_GPIO_SETAS */
-#define MCF_GPIO_SETAS_SETAS0 (0x1)
-#define MCF_GPIO_SETAS_SETAS1 (0x2)
-#define MCF_GPIO_SETAS_SETAS2 (0x4)
-#define MCF_GPIO_SETAS_SETAS3 (0x8)
-#define MCF_GPIO_SETAS_SETAS4 (0x10)
-#define MCF_GPIO_SETAS_SETAS5 (0x20)
-
-/* Bit definitions and macros for MCF_GPIO_CLRAS */
-#define MCF_GPIO_CLRAS_CLRAS0 (0x1)
-#define MCF_GPIO_CLRAS_CLRAS1 (0x2)
-#define MCF_GPIO_CLRAS_CLRAS2 (0x4)
-#define MCF_GPIO_CLRAS_CLRAS3 (0x8)
-#define MCF_GPIO_CLRAS_CLRAS4 (0x10)
-#define MCF_GPIO_CLRAS_CLRAS5 (0x20)
-
-/* Bit definitions and macros for MCF_GPIO_PORTQS */
-#define MCF_GPIO_PORTQS_PORTQS0 (0x1)
-#define MCF_GPIO_PORTQS_PORTQS1 (0x2)
-#define MCF_GPIO_PORTQS_PORTQS2 (0x4)
-#define MCF_GPIO_PORTQS_PORTQS3 (0x8)
-#define MCF_GPIO_PORTQS_PORTQS4 (0x10)
-#define MCF_GPIO_PORTQS_PORTQS5 (0x20)
-#define MCF_GPIO_PORTQS_PORTQS6 (0x40)
-
-/* Bit definitions and macros for MCF_GPIO_DDRQS */
-#define MCF_GPIO_DDRQS_DDRQS0 (0x1)
-#define MCF_GPIO_DDRQS_DDRQS1 (0x2)
-#define MCF_GPIO_DDRQS_DDRQS2 (0x4)
-#define MCF_GPIO_DDRQS_DDRQS3 (0x8)
-#define MCF_GPIO_DDRQS_DDRQS4 (0x10)
-#define MCF_GPIO_DDRQS_DDRQS5 (0x20)
-#define MCF_GPIO_DDRQS_DDRQS6 (0x40)
-
-/* Bit definitions and macros for MCF_GPIO_SETQS */
-#define MCF_GPIO_SETQS_SETQS0 (0x1)
-#define MCF_GPIO_SETQS_SETQS1 (0x2)
-#define MCF_GPIO_SETQS_SETQS2 (0x4)
-#define MCF_GPIO_SETQS_SETQS3 (0x8)
-#define MCF_GPIO_SETQS_SETQS4 (0x10)
-#define MCF_GPIO_SETQS_SETQS5 (0x20)
-#define MCF_GPIO_SETQS_SETQS6 (0x40)
-
-/* Bit definitions and macros for MCF_GPIO_CLRQS */
-#define MCF_GPIO_CLRQS_CLRQS0 (0x1)
-#define MCF_GPIO_CLRQS_CLRQS1 (0x2)
-#define MCF_GPIO_CLRQS_CLRQS2 (0x4)
-#define MCF_GPIO_CLRQS_CLRQS3 (0x8)
-#define MCF_GPIO_CLRQS_CLRQS4 (0x10)
-#define MCF_GPIO_CLRQS_CLRQS5 (0x20)
-#define MCF_GPIO_CLRQS_CLRQS6 (0x40)
-
-/* Bit definitions and macros for MCF_GPIO_PORTSD */
-#define MCF_GPIO_PORTSD_PORTSD0 (0x1)
-#define MCF_GPIO_PORTSD_PORTSD1 (0x2)
-#define MCF_GPIO_PORTSD_PORTSD2 (0x4)
-#define MCF_GPIO_PORTSD_PORTSD3 (0x8)
-#define MCF_GPIO_PORTSD_PORTSD4 (0x10)
-#define MCF_GPIO_PORTSD_PORTSD5 (0x20)
-
-/* Bit definitions and macros for MCF_GPIO_DDRSD */
-#define MCF_GPIO_DDRSD_DDRSD0 (0x1)
-#define MCF_GPIO_DDRSD_DDRSD1 (0x2)
-#define MCF_GPIO_DDRSD_DDRSD2 (0x4)
-#define MCF_GPIO_DDRSD_DDRSD3 (0x8)
-#define MCF_GPIO_DDRSD_DDRSD4 (0x10)
-#define MCF_GPIO_DDRSD_DDRSD5 (0x20)
-
-/* Bit definitions and macros for MCF_GPIO_SETSD */
-#define MCF_GPIO_SETSD_SETSD0 (0x1)
-#define MCF_GPIO_SETSD_SETSD1 (0x2)
-#define MCF_GPIO_SETSD_SETSD2 (0x4)
-#define MCF_GPIO_SETSD_SETSD3 (0x8)
-#define MCF_GPIO_SETSD_SETSD4 (0x10)
-#define MCF_GPIO_SETSD_SETSD5 (0x20)
-
-/* Bit definitions and macros for MCF_GPIO_CLRSD */
-#define MCF_GPIO_CLRSD_CLRSD0 (0x1)
-#define MCF_GPIO_CLRSD_CLRSD1 (0x2)
-#define MCF_GPIO_CLRSD_CLRSD2 (0x4)
-#define MCF_GPIO_CLRSD_CLRSD3 (0x8)
-#define MCF_GPIO_CLRSD_CLRSD4 (0x10)
-#define MCF_GPIO_CLRSD_CLRSD5 (0x20)
-
-/* Bit definitions and macros for MCF_GPIO_PORTTC */
-#define MCF_GPIO_PORTTC_PORTTC0 (0x1)
-#define MCF_GPIO_PORTTC_PORTTC1 (0x2)
-#define MCF_GPIO_PORTTC_PORTTC2 (0x4)
-#define MCF_GPIO_PORTTC_PORTTC3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_DDRTC */
-#define MCF_GPIO_DDRTC_DDRTC0 (0x1)
-#define MCF_GPIO_DDRTC_DDRTC1 (0x2)
-#define MCF_GPIO_DDRTC_DDRTC2 (0x4)
-#define MCF_GPIO_DDRTC_DDRTC3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_SETTC */
-#define MCF_GPIO_SETTC_SETTC0 (0x1)
-#define MCF_GPIO_SETTC_SETTC1 (0x2)
-#define MCF_GPIO_SETTC_SETTC2 (0x4)
-#define MCF_GPIO_SETTC_SETTC3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_CLRTC */
-#define MCF_GPIO_CLRTC_CLRTC0 (0x1)
-#define MCF_GPIO_CLRTC_CLRTC1 (0x2)
-#define MCF_GPIO_CLRTC_CLRTC2 (0x4)
-#define MCF_GPIO_CLRTC_CLRTC3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_PORTTD */
-#define MCF_GPIO_PORTTD_PORTTD0 (0x1)
-#define MCF_GPIO_PORTTD_PORTTD1 (0x2)
-#define MCF_GPIO_PORTTD_PORTTD2 (0x4)
-#define MCF_GPIO_PORTTD_PORTTD3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_DDRTD */
-#define MCF_GPIO_DDRTD_DDRTD0 (0x1)
-#define MCF_GPIO_DDRTD_DDRTD1 (0x2)
-#define MCF_GPIO_DDRTD_DDRTD2 (0x4)
-#define MCF_GPIO_DDRTD_DDRTD3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_SETTD */
-#define MCF_GPIO_SETTD_SETTD0 (0x1)
-#define MCF_GPIO_SETTD_SETTD1 (0x2)
-#define MCF_GPIO_SETTD_SETTD2 (0x4)
-#define MCF_GPIO_SETTD_SETTD3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_CLRTD */
-#define MCF_GPIO_CLRTD_CLRTD0 (0x1)
-#define MCF_GPIO_CLRTD_CLRTD1 (0x2)
-#define MCF_GPIO_CLRTD_CLRTD2 (0x4)
-#define MCF_GPIO_CLRTD_CLRTD3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_PORTUA */
-#define MCF_GPIO_PORTUA_PORTUA0 (0x1)
-#define MCF_GPIO_PORTUA_PORTUA1 (0x2)
-#define MCF_GPIO_PORTUA_PORTUA2 (0x4)
-#define MCF_GPIO_PORTUA_PORTUA3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_DDRUA */
-#define MCF_GPIO_DDRUA_DDRUA0 (0x1)
-#define MCF_GPIO_DDRUA_DDRUA1 (0x2)
-#define MCF_GPIO_DDRUA_DDRUA2 (0x4)
-#define MCF_GPIO_DDRUA_DDRUA3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_SETUA */
-#define MCF_GPIO_SETUA_SETUA0 (0x1)
-#define MCF_GPIO_SETUA_SETUA1 (0x2)
-#define MCF_GPIO_SETUA_SETUA2 (0x4)
-#define MCF_GPIO_SETUA_SETUA3 (0x8)
-
-/* Bit definitions and macros for MCF_GPIO_CLRUA */
-#define MCF_GPIO_CLRUA_CLRUA0 (0x1)
-#define MCF_GPIO_CLRUA_CLRUA1 (0x2)
-#define MCF_GPIO_CLRUA_CLRUA2 (0x4)
-#define MCF_GPIO_CLRUA_CLRUA3 (0x8)
-
-
-#endif /* __MCF5282_GPIO_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTA.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTA.h
deleted file mode 100644
index 9092e2a50..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTA.h
+++ /dev/null
@@ -1,198 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_GPTA_H__
-#define __MCF5282_GPTA_H__
-
-
-/*********************************************************************
-*
-* General Purpose Timer Module (GPT)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_GPTA_GPTIOS (*(vuint8 *)(&__IPSBAR[0x1A0000]))
-#define MCF_GPTA_GPTCFORC (*(vuint8 *)(&__IPSBAR[0x1A0001]))
-#define MCF_GPTA_GPTOC3M (*(vuint8 *)(&__IPSBAR[0x1A0002]))
-#define MCF_GPTA_GPTOC3D (*(vuint8 *)(&__IPSBAR[0x1A0003]))
-#define MCF_GPTA_GPTCNT (*(vuint16*)(&__IPSBAR[0x1A0004]))
-#define MCF_GPTA_GPTSCR1 (*(vuint8 *)(&__IPSBAR[0x1A0006]))
-#define MCF_GPTA_GPTTOV (*(vuint8 *)(&__IPSBAR[0x1A0008]))
-#define MCF_GPTA_GPTCTL1 (*(vuint8 *)(&__IPSBAR[0x1A0009]))
-#define MCF_GPTA_GPTCTL2 (*(vuint8 *)(&__IPSBAR[0x1A000B]))
-#define MCF_GPTA_GPTIE (*(vuint8 *)(&__IPSBAR[0x1A000C]))
-#define MCF_GPTA_GPTSCR2 (*(vuint8 *)(&__IPSBAR[0x1A000D]))
-#define MCF_GPTA_GPTFLG1 (*(vuint8 *)(&__IPSBAR[0x1A000E]))
-#define MCF_GPTA_GPTFLG2 (*(vuint8 *)(&__IPSBAR[0x1A000F]))
-#define MCF_GPTA_GPTC0 (*(vuint16*)(&__IPSBAR[0x1A0010]))
-#define MCF_GPTA_GPTC1 (*(vuint16*)(&__IPSBAR[0x1A0012]))
-#define MCF_GPTA_GPTC2 (*(vuint16*)(&__IPSBAR[0x1A0014]))
-#define MCF_GPTA_GPTC3 (*(vuint16*)(&__IPSBAR[0x1A0016]))
-#define MCF_GPTA_GPTPACTL (*(vuint8 *)(&__IPSBAR[0x1A0018]))
-#define MCF_GPTA_GPTPAFLG (*(vuint8 *)(&__IPSBAR[0x1A0019]))
-#define MCF_GPTA_GPTPACNT (*(vuint16*)(&__IPSBAR[0x1A001A]))
-#define MCF_GPTA_GPTPORT (*(vuint8 *)(&__IPSBAR[0x1A001D]))
-#define MCF_GPTA_GPTDDR (*(vuint8 *)(&__IPSBAR[0x1A001E]))
-#define MCF_GPTA_GPTC(x) (*(vuint16*)(&__IPSBAR[0x1A0010 + ((x)*0x2)]))
-
-
-/* Bit definitions and macros for MCF_GPTA_GPTIOS */
-#define MCF_GPTA_GPTIOS_IOS0 (0x1)
-#define MCF_GPTA_GPTIOS_IOS1 (0x2)
-#define MCF_GPTA_GPTIOS_IOS2 (0x4)
-#define MCF_GPTA_GPTIOS_IOS3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTA_GPTCFORC */
-#define MCF_GPTA_GPTCFORC_FOC0 (0x1)
-#define MCF_GPTA_GPTCFORC_FOC1 (0x2)
-#define MCF_GPTA_GPTCFORC_FOC2 (0x4)
-#define MCF_GPTA_GPTCFORC_FOC3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTA_GPTOC3M */
-#define MCF_GPTA_GPTOC3M_OC3M0 (0x1)
-#define MCF_GPTA_GPTOC3M_OC3M1 (0x2)
-#define MCF_GPTA_GPTOC3M_OC3M2 (0x4)
-#define MCF_GPTA_GPTOC3M_OC3M3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTA_GPTOC3D */
-#define MCF_GPTA_GPTOC3D_OC3D0 (0x1)
-#define MCF_GPTA_GPTOC3D_OC3D1 (0x2)
-#define MCF_GPTA_GPTOC3D_OC3D2 (0x4)
-#define MCF_GPTA_GPTOC3D_OC3D3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTA_GPTCNT */
-#define MCF_GPTA_GPTCNT_CNTR(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_GPTA_GPTSCR1 */
-#define MCF_GPTA_GPTSCR1_TFFCA (0x10)
-#define MCF_GPTA_GPTSCR1_GPTEN (0x80)
-
-/* Bit definitions and macros for MCF_GPTA_GPTTOV */
-#define MCF_GPTA_GPTTOV_TOV0 (0x1)
-#define MCF_GPTA_GPTTOV_TOV1 (0x2)
-#define MCF_GPTA_GPTTOV_TOV2 (0x4)
-#define MCF_GPTA_GPTTOV_TOV3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTA_GPTCTL1 */
-#define MCF_GPTA_GPTCTL1_OL0 (0x1)
-#define MCF_GPTA_GPTCTL1_OM0 (0x2)
-#define MCF_GPTA_GPTCTL1_OL1 (0x4)
-#define MCF_GPTA_GPTCTL1_OM1 (0x8)
-#define MCF_GPTA_GPTCTL1_OL2 (0x10)
-#define MCF_GPTA_GPTCTL1_OM2 (0x20)
-#define MCF_GPTA_GPTCTL1_OL3 (0x40)
-#define MCF_GPTA_GPTCTL1_OM3 (0x80)
-#define MCF_GPTA_GPTCTL1_OUTPUT0_NOTHING (0)
-#define MCF_GPTA_GPTCTL1_OUTPUT0_TOGGLE (0x1)
-#define MCF_GPTA_GPTCTL1_OUTPUT0_CLEAR (0x2)
-#define MCF_GPTA_GPTCTL1_OUTPUT0_SET (0x3)
-#define MCF_GPTA_GPTCTL1_OUTPUT1_NOTHING (0)
-#define MCF_GPTA_GPTCTL1_OUTPUT1_TOGGLE (0x4)
-#define MCF_GPTA_GPTCTL1_OUTPUT1_CLEAR (0x8)
-#define MCF_GPTA_GPTCTL1_OUTPUT1_SET (0xC)
-#define MCF_GPTA_GPTCTL1_OUTPUT2_NOTHING (0)
-#define MCF_GPTA_GPTCTL1_OUTPUT2_TOGGLE (0x10)
-#define MCF_GPTA_GPTCTL1_OUTPUT2_CLEAR (0x20)
-#define MCF_GPTA_GPTCTL1_OUTPUT2_SET (0x30)
-#define MCF_GPTA_GPTCTL1_OUTPUT3_NOTHING (0)
-#define MCF_GPTA_GPTCTL1_OUTPUT3_TOGGLE (0x40)
-#define MCF_GPTA_GPTCTL1_OUTPUT3_CLEAR (0x80)
-#define MCF_GPTA_GPTCTL1_OUTPUT3_SET (0xC0)
-
-/* Bit definitions and macros for MCF_GPTA_GPTCTL2 */
-#define MCF_GPTA_GPTCTL2_EDG0A (0x1)
-#define MCF_GPTA_GPTCTL2_EDG0B (0x2)
-#define MCF_GPTA_GPTCTL2_EDG1A (0x4)
-#define MCF_GPTA_GPTCTL2_EDG1B (0x8)
-#define MCF_GPTA_GPTCTL2_EDG2A (0x10)
-#define MCF_GPTA_GPTCTL2_EDG2B (0x20)
-#define MCF_GPTA_GPTCTL2_EDG3A (0x40)
-#define MCF_GPTA_GPTCTL2_EDG3B (0x80)
-#define MCF_GPTA_GPTCTL2_INPUT0_DISABLED (0)
-#define MCF_GPTA_GPTCTL2_INPUT0_RISING (0x1)
-#define MCF_GPTA_GPTCTL2_INPUT0_FALLING (0x2)
-#define MCF_GPTA_GPTCTL2_INPUT0_ANY (0x3)
-#define MCF_GPTA_GPTCTL2_INPUT1_DISABLED (0)
-#define MCF_GPTA_GPTCTL2_INPUT1_RISING (0x4)
-#define MCF_GPTA_GPTCTL2_INPUT1_FALLING (0x8)
-#define MCF_GPTA_GPTCTL2_INPUT1_ANY (0xC)
-#define MCF_GPTA_GPTCTL2_INPUT2_DISABLED (0)
-#define MCF_GPTA_GPTCTL2_INPUT2_RISING (0x10)
-#define MCF_GPTA_GPTCTL2_INPUT2_FALLING (0x20)
-#define MCF_GPTA_GPTCTL2_INPUT2_ANY (0x30)
-#define MCF_GPTA_GPTCTL2_INPUT3_DISABLED (0)
-#define MCF_GPTA_GPTCTL2_INPUT3_RISING (0x40)
-#define MCF_GPTA_GPTCTL2_INPUT3_FALLING (0x80)
-#define MCF_GPTA_GPTCTL2_INPUT3_ANY (0xC0)
-
-/* Bit definitions and macros for MCF_GPTA_GPTIE */
-#define MCF_GPTA_GPTIE_CI0 (0x1)
-#define MCF_GPTA_GPTIE_CI1 (0x2)
-#define MCF_GPTA_GPTIE_CI2 (0x4)
-#define MCF_GPTA_GPTIE_CI3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTA_GPTSCR2 */
-#define MCF_GPTA_GPTSCR2_PR(x) (((x)&0x7)<<0)
-#define MCF_GPTA_GPTSCR2_PR_1 (0)
-#define MCF_GPTA_GPTSCR2_PR_2 (0x1)
-#define MCF_GPTA_GPTSCR2_PR_4 (0x2)
-#define MCF_GPTA_GPTSCR2_PR_8 (0x3)
-#define MCF_GPTA_GPTSCR2_PR_16 (0x4)
-#define MCF_GPTA_GPTSCR2_PR_32 (0x5)
-#define MCF_GPTA_GPTSCR2_PR_64 (0x6)
-#define MCF_GPTA_GPTSCR2_PR_128 (0x7)
-#define MCF_GPTA_GPTSCR2_TCRE (0x8)
-#define MCF_GPTA_GPTSCR2_RDPT (0x10)
-#define MCF_GPTA_GPTSCR2_PUPT (0x20)
-#define MCF_GPTA_GPTSCR2_TOI (0x80)
-
-/* Bit definitions and macros for MCF_GPTA_GPTFLG1 */
-#define MCF_GPTA_GPTFLG1_CF0 (0x1)
-#define MCF_GPTA_GPTFLG1_CF1 (0x2)
-#define MCF_GPTA_GPTFLG1_CF2 (0x4)
-#define MCF_GPTA_GPTFLG1_CF3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTA_GPTFLG2 */
-#define MCF_GPTA_GPTFLG2_TOF (0x80)
-
-/* Bit definitions and macros for MCF_GPTA_GPTC */
-#define MCF_GPTA_GPTC_CCNT(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_GPTA_GPTPACTL */
-#define MCF_GPTA_GPTPACTL_PAI (0x1)
-#define MCF_GPTA_GPTPACTL_PAOVI (0x2)
-#define MCF_GPTA_GPTPACTL_CLK(x) (((x)&0x3)<<0x2)
-#define MCF_GPTA_GPTPACTL_CLK_GPTPR (0)
-#define MCF_GPTA_GPTPACTL_CLK_PACLK (0x1)
-#define MCF_GPTA_GPTPACTL_CLK_PACLK_256 (0x2)
-#define MCF_GPTA_GPTPACTL_CLK_PACLK_65536 (0x3)
-#define MCF_GPTA_GPTPACTL_PEDGE (0x10)
-#define MCF_GPTA_GPTPACTL_PAMOD (0x20)
-#define MCF_GPTA_GPTPACTL_PAE (0x40)
-
-/* Bit definitions and macros for MCF_GPTA_GPTPAFLG */
-#define MCF_GPTA_GPTPAFLG_PAIF (0x1)
-#define MCF_GPTA_GPTPAFLG_PAOVF (0x2)
-
-/* Bit definitions and macros for MCF_GPTA_GPTPACNT */
-#define MCF_GPTA_GPTPACNT_PACNT(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_GPTA_GPTPORT */
-#define MCF_GPTA_GPTPORT_PORTT0 (0x1)
-#define MCF_GPTA_GPTPORT_PORTT1 (0x2)
-#define MCF_GPTA_GPTPORT_PORTT2 (0x4)
-#define MCF_GPTA_GPTPORT_PORTT3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTA_GPTDDR */
-#define MCF_GPTA_GPTDDR_DDRT0 (0x1)
-#define MCF_GPTA_GPTDDR_DDRT1 (0x2)
-#define MCF_GPTA_GPTDDR_DDRT2 (0x4)
-#define MCF_GPTA_GPTDDR_DDRT3 (0x8)
-
-
-#endif /* __MCF5282_GPTA_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTB.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTB.h
deleted file mode 100644
index aa3f2f382..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTB.h
+++ /dev/null
@@ -1,198 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_GPTB_H__
-#define __MCF5282_GPTB_H__
-
-
-/*********************************************************************
-*
-* General Purpose Timer Module (GPT)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_GPTB_GPTIOS (*(vuint8 *)(&__IPSBAR[0x1B0000]))
-#define MCF_GPTB_GPTCFORC (*(vuint8 *)(&__IPSBAR[0x1B0001]))
-#define MCF_GPTB_GPTOC3M (*(vuint8 *)(&__IPSBAR[0x1B0002]))
-#define MCF_GPTB_GPTOC3D (*(vuint8 *)(&__IPSBAR[0x1B0003]))
-#define MCF_GPTB_GPTCNT (*(vuint16*)(&__IPSBAR[0x1B0004]))
-#define MCF_GPTB_GPTSCR1 (*(vuint8 *)(&__IPSBAR[0x1B0006]))
-#define MCF_GPTB_GPTTOV (*(vuint8 *)(&__IPSBAR[0x1B0008]))
-#define MCF_GPTB_GPTCTL1 (*(vuint8 *)(&__IPSBAR[0x1B0009]))
-#define MCF_GPTB_GPTCTL2 (*(vuint8 *)(&__IPSBAR[0x1B000B]))
-#define MCF_GPTB_GPTIE (*(vuint8 *)(&__IPSBAR[0x1B000C]))
-#define MCF_GPTB_GPTSCR2 (*(vuint8 *)(&__IPSBAR[0x1B000D]))
-#define MCF_GPTB_GPTFLG1 (*(vuint8 *)(&__IPSBAR[0x1B000E]))
-#define MCF_GPTB_GPTFLG2 (*(vuint8 *)(&__IPSBAR[0x1B000F]))
-#define MCF_GPTB_GPTC0 (*(vuint16*)(&__IPSBAR[0x1B0010]))
-#define MCF_GPTB_GPTC1 (*(vuint16*)(&__IPSBAR[0x1B0012]))
-#define MCF_GPTB_GPTC2 (*(vuint16*)(&__IPSBAR[0x1B0014]))
-#define MCF_GPTB_GPTC3 (*(vuint16*)(&__IPSBAR[0x1B0016]))
-#define MCF_GPTB_GPTPACTL (*(vuint8 *)(&__IPSBAR[0x1B0018]))
-#define MCF_GPTB_GPTPAFLG (*(vuint8 *)(&__IPSBAR[0x1B0019]))
-#define MCF_GPTB_GPTPACNT (*(vuint16*)(&__IPSBAR[0x1B001A]))
-#define MCF_GPTB_GPTPORT (*(vuint8 *)(&__IPSBAR[0x1B001D]))
-#define MCF_GPTB_GPTDDR (*(vuint8 *)(&__IPSBAR[0x1B001E]))
-#define MCF_GPTB_GPTC(x) (*(vuint16*)(&__IPSBAR[0x1B0010 + ((x)*0x2)]))
-
-
-/* Bit definitions and macros for MCF_GPTB_GPTIOS */
-#define MCF_GPTB_GPTIOS_IOS0 (0x1)
-#define MCF_GPTB_GPTIOS_IOS1 (0x2)
-#define MCF_GPTB_GPTIOS_IOS2 (0x4)
-#define MCF_GPTB_GPTIOS_IOS3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTB_GPTCFORC */
-#define MCF_GPTB_GPTCFORC_FOC0 (0x1)
-#define MCF_GPTB_GPTCFORC_FOC1 (0x2)
-#define MCF_GPTB_GPTCFORC_FOC2 (0x4)
-#define MCF_GPTB_GPTCFORC_FOC3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTB_GPTOC3M */
-#define MCF_GPTB_GPTOC3M_OC3M0 (0x1)
-#define MCF_GPTB_GPTOC3M_OC3M1 (0x2)
-#define MCF_GPTB_GPTOC3M_OC3M2 (0x4)
-#define MCF_GPTB_GPTOC3M_OC3M3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTB_GPTOC3D */
-#define MCF_GPTB_GPTOC3D_OC3D0 (0x1)
-#define MCF_GPTB_GPTOC3D_OC3D1 (0x2)
-#define MCF_GPTB_GPTOC3D_OC3D2 (0x4)
-#define MCF_GPTB_GPTOC3D_OC3D3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTB_GPTCNT */
-#define MCF_GPTB_GPTCNT_CNTR(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_GPTB_GPTSCR1 */
-#define MCF_GPTB_GPTSCR1_TFFCA (0x10)
-#define MCF_GPTB_GPTSCR1_GPTEN (0x80)
-
-/* Bit definitions and macros for MCF_GPTB_GPTTOV */
-#define MCF_GPTB_GPTTOV_TOV0 (0x1)
-#define MCF_GPTB_GPTTOV_TOV1 (0x2)
-#define MCF_GPTB_GPTTOV_TOV2 (0x4)
-#define MCF_GPTB_GPTTOV_TOV3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTB_GPTCTL1 */
-#define MCF_GPTB_GPTCTL1_OL0 (0x1)
-#define MCF_GPTB_GPTCTL1_OM0 (0x2)
-#define MCF_GPTB_GPTCTL1_OL1 (0x4)
-#define MCF_GPTB_GPTCTL1_OM1 (0x8)
-#define MCF_GPTB_GPTCTL1_OL2 (0x10)
-#define MCF_GPTB_GPTCTL1_OM2 (0x20)
-#define MCF_GPTB_GPTCTL1_OL3 (0x40)
-#define MCF_GPTB_GPTCTL1_OM3 (0x80)
-#define MCF_GPTB_GPTCTL1_OUTPUT0_NOTHING (0)
-#define MCF_GPTB_GPTCTL1_OUTPUT0_TOGGLE (0x1)
-#define MCF_GPTB_GPTCTL1_OUTPUT0_CLEAR (0x2)
-#define MCF_GPTB_GPTCTL1_OUTPUT0_SET (0x3)
-#define MCF_GPTB_GPTCTL1_OUTPUT1_NOTHING (0)
-#define MCF_GPTB_GPTCTL1_OUTPUT1_TOGGLE (0x4)
-#define MCF_GPTB_GPTCTL1_OUTPUT1_CLEAR (0x8)
-#define MCF_GPTB_GPTCTL1_OUTPUT1_SET (0xC)
-#define MCF_GPTB_GPTCTL1_OUTPUT2_NOTHING (0)
-#define MCF_GPTB_GPTCTL1_OUTPUT2_TOGGLE (0x10)
-#define MCF_GPTB_GPTCTL1_OUTPUT2_CLEAR (0x20)
-#define MCF_GPTB_GPTCTL1_OUTPUT2_SET (0x30)
-#define MCF_GPTB_GPTCTL1_OUTPUT3_NOTHING (0)
-#define MCF_GPTB_GPTCTL1_OUTPUT3_TOGGLE (0x40)
-#define MCF_GPTB_GPTCTL1_OUTPUT3_CLEAR (0x80)
-#define MCF_GPTB_GPTCTL1_OUTPUT3_SET (0xC0)
-
-/* Bit definitions and macros for MCF_GPTB_GPTCTL2 */
-#define MCF_GPTB_GPTCTL2_EDG0A (0x1)
-#define MCF_GPTB_GPTCTL2_EDG0B (0x2)
-#define MCF_GPTB_GPTCTL2_EDG1A (0x4)
-#define MCF_GPTB_GPTCTL2_EDG1B (0x8)
-#define MCF_GPTB_GPTCTL2_EDG2A (0x10)
-#define MCF_GPTB_GPTCTL2_EDG2B (0x20)
-#define MCF_GPTB_GPTCTL2_EDG3A (0x40)
-#define MCF_GPTB_GPTCTL2_EDG3B (0x80)
-#define MCF_GPTB_GPTCTL2_INPUT0_DISABLED (0)
-#define MCF_GPTB_GPTCTL2_INPUT0_RISING (0x1)
-#define MCF_GPTB_GPTCTL2_INPUT0_FALLING (0x2)
-#define MCF_GPTB_GPTCTL2_INPUT0_ANY (0x3)
-#define MCF_GPTB_GPTCTL2_INPUT1_DISABLED (0)
-#define MCF_GPTB_GPTCTL2_INPUT1_RISING (0x4)
-#define MCF_GPTB_GPTCTL2_INPUT1_FALLING (0x8)
-#define MCF_GPTB_GPTCTL2_INPUT1_ANY (0xC)
-#define MCF_GPTB_GPTCTL2_INPUT2_DISABLED (0)
-#define MCF_GPTB_GPTCTL2_INPUT2_RISING (0x10)
-#define MCF_GPTB_GPTCTL2_INPUT2_FALLING (0x20)
-#define MCF_GPTB_GPTCTL2_INPUT2_ANY (0x30)
-#define MCF_GPTB_GPTCTL2_INPUT3_DISABLED (0)
-#define MCF_GPTB_GPTCTL2_INPUT3_RISING (0x40)
-#define MCF_GPTB_GPTCTL2_INPUT3_FALLING (0x80)
-#define MCF_GPTB_GPTCTL2_INPUT3_ANY (0xC0)
-
-/* Bit definitions and macros for MCF_GPTB_GPTIE */
-#define MCF_GPTB_GPTIE_CI0 (0x1)
-#define MCF_GPTB_GPTIE_CI1 (0x2)
-#define MCF_GPTB_GPTIE_CI2 (0x4)
-#define MCF_GPTB_GPTIE_CI3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTB_GPTSCR2 */
-#define MCF_GPTB_GPTSCR2_PR(x) (((x)&0x7)<<0)
-#define MCF_GPTB_GPTSCR2_PR_1 (0)
-#define MCF_GPTB_GPTSCR2_PR_2 (0x1)
-#define MCF_GPTB_GPTSCR2_PR_4 (0x2)
-#define MCF_GPTB_GPTSCR2_PR_8 (0x3)
-#define MCF_GPTB_GPTSCR2_PR_16 (0x4)
-#define MCF_GPTB_GPTSCR2_PR_32 (0x5)
-#define MCF_GPTB_GPTSCR2_PR_64 (0x6)
-#define MCF_GPTB_GPTSCR2_PR_128 (0x7)
-#define MCF_GPTB_GPTSCR2_TCRE (0x8)
-#define MCF_GPTB_GPTSCR2_RDPT (0x10)
-#define MCF_GPTB_GPTSCR2_PUPT (0x20)
-#define MCF_GPTB_GPTSCR2_TOI (0x80)
-
-/* Bit definitions and macros for MCF_GPTB_GPTFLG1 */
-#define MCF_GPTB_GPTFLG1_CF0 (0x1)
-#define MCF_GPTB_GPTFLG1_CF1 (0x2)
-#define MCF_GPTB_GPTFLG1_CF2 (0x4)
-#define MCF_GPTB_GPTFLG1_CF3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTB_GPTFLG2 */
-#define MCF_GPTB_GPTFLG2_TOF (0x80)
-
-/* Bit definitions and macros for MCF_GPTB_GPTC */
-#define MCF_GPTB_GPTC_CCNT(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_GPTB_GPTPACTL */
-#define MCF_GPTB_GPTPACTL_PAI (0x1)
-#define MCF_GPTB_GPTPACTL_PAOVI (0x2)
-#define MCF_GPTB_GPTPACTL_CLK(x) (((x)&0x3)<<0x2)
-#define MCF_GPTB_GPTPACTL_CLK_GPTPR (0)
-#define MCF_GPTB_GPTPACTL_CLK_PACLK (0x1)
-#define MCF_GPTB_GPTPACTL_CLK_PACLK_256 (0x2)
-#define MCF_GPTB_GPTPACTL_CLK_PACLK_65536 (0x3)
-#define MCF_GPTB_GPTPACTL_PEDGE (0x10)
-#define MCF_GPTB_GPTPACTL_PAMOD (0x20)
-#define MCF_GPTB_GPTPACTL_PAE (0x40)
-
-/* Bit definitions and macros for MCF_GPTB_GPTPAFLG */
-#define MCF_GPTB_GPTPAFLG_PAIF (0x1)
-#define MCF_GPTB_GPTPAFLG_PAOVF (0x2)
-
-/* Bit definitions and macros for MCF_GPTB_GPTPACNT */
-#define MCF_GPTB_GPTPACNT_PACNT(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_GPTB_GPTPORT */
-#define MCF_GPTB_GPTPORT_PORTT0 (0x1)
-#define MCF_GPTB_GPTPORT_PORTT1 (0x2)
-#define MCF_GPTB_GPTPORT_PORTT2 (0x4)
-#define MCF_GPTB_GPTPORT_PORTT3 (0x8)
-
-/* Bit definitions and macros for MCF_GPTB_GPTDDR */
-#define MCF_GPTB_GPTDDR_DDRT0 (0x1)
-#define MCF_GPTB_GPTDDR_DDRT1 (0x2)
-#define MCF_GPTB_GPTDDR_DDRT2 (0x4)
-#define MCF_GPTB_GPTDDR_DDRT3 (0x8)
-
-
-#endif /* __MCF5282_GPTB_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_I2C.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_I2C.h
deleted file mode 100644
index 59ed84dad..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_I2C.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_I2C_H__
-#define __MCF5282_I2C_H__
-
-
-/*********************************************************************
-*
-* I2C Module (I2C)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_I2C_I2ADR (*(vuint8 *)(&__IPSBAR[0x300]))
-#define MCF_I2C_I2FDR (*(vuint8 *)(&__IPSBAR[0x304]))
-#define MCF_I2C_I2CR (*(vuint8 *)(&__IPSBAR[0x308]))
-#define MCF_I2C_I2SR (*(vuint8 *)(&__IPSBAR[0x30C]))
-#define MCF_I2C_I2DR (*(vuint8 *)(&__IPSBAR[0x310]))
-
-
-
-/* Bit definitions and macros for MCF_I2C_I2ADR */
-#define MCF_I2C_I2ADR_ADR(x) (((x)&0x7F)<<0x1)
-
-/* Bit definitions and macros for MCF_I2C_I2FDR */
-#define MCF_I2C_I2FDR_IC(x) (((x)&0x3F)<<0)
-
-/* Bit definitions and macros for MCF_I2C_I2CR */
-#define MCF_I2C_I2CR_RSTA (0x4)
-#define MCF_I2C_I2CR_TXAK (0x8)
-#define MCF_I2C_I2CR_MTX (0x10)
-#define MCF_I2C_I2CR_MSTA (0x20)
-#define MCF_I2C_I2CR_IIEN (0x40)
-#define MCF_I2C_I2CR_IEN (0x80)
-
-/* Bit definitions and macros for MCF_I2C_I2SR */
-#define MCF_I2C_I2SR_RXAK (0x1)
-#define MCF_I2C_I2SR_IIF (0x2)
-#define MCF_I2C_I2SR_SRW (0x4)
-#define MCF_I2C_I2SR_IAL (0x10)
-#define MCF_I2C_I2SR_IBB (0x20)
-#define MCF_I2C_I2SR_IAAS (0x40)
-#define MCF_I2C_I2SR_ICF (0x80)
-
-/* Bit definitions and macros for MCF_I2C_I2DR */
-#define MCF_I2C_I2DR_DATA(x) (((x)&0xFF)<<0)
-
-
-#endif /* __MCF5282_I2C_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_INTC.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_INTC.h
deleted file mode 100644
index 10235efb7..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_INTC.h
+++ /dev/null
@@ -1,484 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_INTC_H__
-#define __MCF5282_INTC_H__
-
-
-/*********************************************************************
-*
-* Interrupt Controller (INTC)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_INTC0_IPRH (*(vuint32*)(&__IPSBAR[0xC00]))
-#define MCF_INTC0_IPRL (*(vuint32*)(&__IPSBAR[0xC04]))
-#define MCF_INTC0_IMRH (*(vuint32*)(&__IPSBAR[0xC08]))
-#define MCF_INTC0_IMRL (*(vuint32*)(&__IPSBAR[0xC0C]))
-#define MCF_INTC0_INTFRCH (*(vuint32*)(&__IPSBAR[0xC10]))
-#define MCF_INTC0_INTFRCL (*(vuint32*)(&__IPSBAR[0xC14]))
-#define MCF_INTC0_IRLR (*(vuint8 *)(&__IPSBAR[0xC18]))
-#define MCF_INTC0_IACKLPR (*(vuint8 *)(&__IPSBAR[0xC19]))
-#define MCF_INTC0_ICR01 (*(vuint8 *)(&__IPSBAR[0xC41]))
-#define MCF_INTC0_ICR02 (*(vuint8 *)(&__IPSBAR[0xC42]))
-#define MCF_INTC0_ICR03 (*(vuint8 *)(&__IPSBAR[0xC43]))
-#define MCF_INTC0_ICR04 (*(vuint8 *)(&__IPSBAR[0xC44]))
-#define MCF_INTC0_ICR05 (*(vuint8 *)(&__IPSBAR[0xC45]))
-#define MCF_INTC0_ICR06 (*(vuint8 *)(&__IPSBAR[0xC46]))
-#define MCF_INTC0_ICR07 (*(vuint8 *)(&__IPSBAR[0xC47]))
-#define MCF_INTC0_ICR08 (*(vuint8 *)(&__IPSBAR[0xC48]))
-#define MCF_INTC0_ICR09 (*(vuint8 *)(&__IPSBAR[0xC49]))
-#define MCF_INTC0_ICR10 (*(vuint8 *)(&__IPSBAR[0xC4A]))
-#define MCF_INTC0_ICR11 (*(vuint8 *)(&__IPSBAR[0xC4B]))
-#define MCF_INTC0_ICR12 (*(vuint8 *)(&__IPSBAR[0xC4C]))
-#define MCF_INTC0_ICR13 (*(vuint8 *)(&__IPSBAR[0xC4D]))
-#define MCF_INTC0_ICR14 (*(vuint8 *)(&__IPSBAR[0xC4E]))
-#define MCF_INTC0_ICR15 (*(vuint8 *)(&__IPSBAR[0xC4F]))
-#define MCF_INTC0_ICR16 (*(vuint8 *)(&__IPSBAR[0xC50]))
-#define MCF_INTC0_ICR17 (*(vuint8 *)(&__IPSBAR[0xC51]))
-#define MCF_INTC0_ICR18 (*(vuint8 *)(&__IPSBAR[0xC52]))
-#define MCF_INTC0_ICR19 (*(vuint8 *)(&__IPSBAR[0xC53]))
-#define MCF_INTC0_ICR20 (*(vuint8 *)(&__IPSBAR[0xC54]))
-#define MCF_INTC0_ICR21 (*(vuint8 *)(&__IPSBAR[0xC55]))
-#define MCF_INTC0_ICR22 (*(vuint8 *)(&__IPSBAR[0xC56]))
-#define MCF_INTC0_ICR23 (*(vuint8 *)(&__IPSBAR[0xC57]))
-#define MCF_INTC0_ICR24 (*(vuint8 *)(&__IPSBAR[0xC58]))
-#define MCF_INTC0_ICR25 (*(vuint8 *)(&__IPSBAR[0xC59]))
-#define MCF_INTC0_ICR26 (*(vuint8 *)(&__IPSBAR[0xC5A]))
-#define MCF_INTC0_ICR27 (*(vuint8 *)(&__IPSBAR[0xC5B]))
-#define MCF_INTC0_ICR28 (*(vuint8 *)(&__IPSBAR[0xC5C]))
-#define MCF_INTC0_ICR29 (*(vuint8 *)(&__IPSBAR[0xC5D]))
-#define MCF_INTC0_ICR30 (*(vuint8 *)(&__IPSBAR[0xC5E]))
-#define MCF_INTC0_ICR31 (*(vuint8 *)(&__IPSBAR[0xC5F]))
-#define MCF_INTC0_ICR32 (*(vuint8 *)(&__IPSBAR[0xC60]))
-#define MCF_INTC0_ICR33 (*(vuint8 *)(&__IPSBAR[0xC61]))
-#define MCF_INTC0_ICR34 (*(vuint8 *)(&__IPSBAR[0xC62]))
-#define MCF_INTC0_ICR35 (*(vuint8 *)(&__IPSBAR[0xC63]))
-#define MCF_INTC0_ICR36 (*(vuint8 *)(&__IPSBAR[0xC64]))
-#define MCF_INTC0_ICR37 (*(vuint8 *)(&__IPSBAR[0xC65]))
-#define MCF_INTC0_ICR38 (*(vuint8 *)(&__IPSBAR[0xC66]))
-#define MCF_INTC0_ICR39 (*(vuint8 *)(&__IPSBAR[0xC67]))
-#define MCF_INTC0_ICR40 (*(vuint8 *)(&__IPSBAR[0xC68]))
-#define MCF_INTC0_ICR41 (*(vuint8 *)(&__IPSBAR[0xC69]))
-#define MCF_INTC0_ICR42 (*(vuint8 *)(&__IPSBAR[0xC6A]))
-#define MCF_INTC0_ICR43 (*(vuint8 *)(&__IPSBAR[0xC6B]))
-#define MCF_INTC0_ICR44 (*(vuint8 *)(&__IPSBAR[0xC6C]))
-#define MCF_INTC0_ICR45 (*(vuint8 *)(&__IPSBAR[0xC6D]))
-#define MCF_INTC0_ICR46 (*(vuint8 *)(&__IPSBAR[0xC6E]))
-#define MCF_INTC0_ICR47 (*(vuint8 *)(&__IPSBAR[0xC6F]))
-#define MCF_INTC0_ICR48 (*(vuint8 *)(&__IPSBAR[0xC70]))
-#define MCF_INTC0_ICR49 (*(vuint8 *)(&__IPSBAR[0xC71]))
-#define MCF_INTC0_ICR50 (*(vuint8 *)(&__IPSBAR[0xC72]))
-#define MCF_INTC0_ICR51 (*(vuint8 *)(&__IPSBAR[0xC73]))
-#define MCF_INTC0_ICR52 (*(vuint8 *)(&__IPSBAR[0xC74]))
-#define MCF_INTC0_ICR53 (*(vuint8 *)(&__IPSBAR[0xC75]))
-#define MCF_INTC0_ICR54 (*(vuint8 *)(&__IPSBAR[0xC76]))
-#define MCF_INTC0_ICR55 (*(vuint8 *)(&__IPSBAR[0xC77]))
-#define MCF_INTC0_ICR56 (*(vuint8 *)(&__IPSBAR[0xC78]))
-#define MCF_INTC0_ICR57 (*(vuint8 *)(&__IPSBAR[0xC79]))
-#define MCF_INTC0_ICR58 (*(vuint8 *)(&__IPSBAR[0xC7A]))
-#define MCF_INTC0_ICR59 (*(vuint8 *)(&__IPSBAR[0xC7B]))
-#define MCF_INTC0_ICR60 (*(vuint8 *)(&__IPSBAR[0xC7C]))
-#define MCF_INTC0_ICR61 (*(vuint8 *)(&__IPSBAR[0xC7D]))
-#define MCF_INTC0_ICR62 (*(vuint8 *)(&__IPSBAR[0xC7E]))
-#define MCF_INTC0_ICR63 (*(vuint8 *)(&__IPSBAR[0xC7F]))
-#define MCF_INTC0_SWIACK (*(vuint8 *)(&__IPSBAR[0xCE0]))
-#define MCF_INTC0_L1IACK (*(vuint8 *)(&__IPSBAR[0xCE4]))
-#define MCF_INTC0_L2IACK (*(vuint8 *)(&__IPSBAR[0xCE8]))
-#define MCF_INTC0_L3IACK (*(vuint8 *)(&__IPSBAR[0xCEC]))
-#define MCF_INTC0_L4IACK (*(vuint8 *)(&__IPSBAR[0xCF0]))
-#define MCF_INTC0_L5IACK (*(vuint8 *)(&__IPSBAR[0xCF4]))
-#define MCF_INTC0_L6IACK (*(vuint8 *)(&__IPSBAR[0xCF8]))
-#define MCF_INTC0_L7IACK (*(vuint8 *)(&__IPSBAR[0xCFC]))
-#define MCF_INTC0_ICR(x) (*(vuint8 *)(&__IPSBAR[0xC41 + ((x-1)*0x1)]))
-#define MCF_INTC0_LIACK(x) (*(vuint8 *)(&__IPSBAR[0xCE4 + ((x-1)*0x4)]))
-
-#define MCF_INTC1_IPRH (*(vuint32*)(&__IPSBAR[0xD00]))
-#define MCF_INTC1_IPRL (*(vuint32*)(&__IPSBAR[0xD04]))
-#define MCF_INTC1_IMRH (*(vuint32*)(&__IPSBAR[0xD08]))
-#define MCF_INTC1_IMRL (*(vuint32*)(&__IPSBAR[0xD0C]))
-#define MCF_INTC1_INTFRCH (*(vuint32*)(&__IPSBAR[0xD10]))
-#define MCF_INTC1_INTFRCL (*(vuint32*)(&__IPSBAR[0xD14]))
-#define MCF_INTC1_IRLR (*(vuint8 *)(&__IPSBAR[0xD18]))
-#define MCF_INTC1_IACKLPR (*(vuint8 *)(&__IPSBAR[0xD19]))
-#define MCF_INTC1_ICR01 (*(vuint8 *)(&__IPSBAR[0xD41]))
-#define MCF_INTC1_ICR02 (*(vuint8 *)(&__IPSBAR[0xD42]))
-#define MCF_INTC1_ICR03 (*(vuint8 *)(&__IPSBAR[0xD43]))
-#define MCF_INTC1_ICR04 (*(vuint8 *)(&__IPSBAR[0xD44]))
-#define MCF_INTC1_ICR05 (*(vuint8 *)(&__IPSBAR[0xD45]))
-#define MCF_INTC1_ICR06 (*(vuint8 *)(&__IPSBAR[0xD46]))
-#define MCF_INTC1_ICR07 (*(vuint8 *)(&__IPSBAR[0xD47]))
-#define MCF_INTC1_ICR08 (*(vuint8 *)(&__IPSBAR[0xD48]))
-#define MCF_INTC1_ICR09 (*(vuint8 *)(&__IPSBAR[0xD49]))
-#define MCF_INTC1_ICR10 (*(vuint8 *)(&__IPSBAR[0xD4A]))
-#define MCF_INTC1_ICR11 (*(vuint8 *)(&__IPSBAR[0xD4B]))
-#define MCF_INTC1_ICR12 (*(vuint8 *)(&__IPSBAR[0xD4C]))
-#define MCF_INTC1_ICR13 (*(vuint8 *)(&__IPSBAR[0xD4D]))
-#define MCF_INTC1_ICR14 (*(vuint8 *)(&__IPSBAR[0xD4E]))
-#define MCF_INTC1_ICR15 (*(vuint8 *)(&__IPSBAR[0xD4F]))
-#define MCF_INTC1_ICR16 (*(vuint8 *)(&__IPSBAR[0xD50]))
-#define MCF_INTC1_ICR17 (*(vuint8 *)(&__IPSBAR[0xD51]))
-#define MCF_INTC1_ICR18 (*(vuint8 *)(&__IPSBAR[0xD52]))
-#define MCF_INTC1_ICR19 (*(vuint8 *)(&__IPSBAR[0xD53]))
-#define MCF_INTC1_ICR20 (*(vuint8 *)(&__IPSBAR[0xD54]))
-#define MCF_INTC1_ICR21 (*(vuint8 *)(&__IPSBAR[0xD55]))
-#define MCF_INTC1_ICR22 (*(vuint8 *)(&__IPSBAR[0xD56]))
-#define MCF_INTC1_ICR23 (*(vuint8 *)(&__IPSBAR[0xD57]))
-#define MCF_INTC1_ICR24 (*(vuint8 *)(&__IPSBAR[0xD58]))
-#define MCF_INTC1_ICR25 (*(vuint8 *)(&__IPSBAR[0xD59]))
-#define MCF_INTC1_ICR26 (*(vuint8 *)(&__IPSBAR[0xD5A]))
-#define MCF_INTC1_ICR27 (*(vuint8 *)(&__IPSBAR[0xD5B]))
-#define MCF_INTC1_ICR28 (*(vuint8 *)(&__IPSBAR[0xD5C]))
-#define MCF_INTC1_ICR29 (*(vuint8 *)(&__IPSBAR[0xD5D]))
-#define MCF_INTC1_ICR30 (*(vuint8 *)(&__IPSBAR[0xD5E]))
-#define MCF_INTC1_ICR31 (*(vuint8 *)(&__IPSBAR[0xD5F]))
-#define MCF_INTC1_ICR32 (*(vuint8 *)(&__IPSBAR[0xD60]))
-#define MCF_INTC1_ICR33 (*(vuint8 *)(&__IPSBAR[0xD61]))
-#define MCF_INTC1_ICR34 (*(vuint8 *)(&__IPSBAR[0xD62]))
-#define MCF_INTC1_ICR35 (*(vuint8 *)(&__IPSBAR[0xD63]))
-#define MCF_INTC1_ICR36 (*(vuint8 *)(&__IPSBAR[0xD64]))
-#define MCF_INTC1_ICR37 (*(vuint8 *)(&__IPSBAR[0xD65]))
-#define MCF_INTC1_ICR38 (*(vuint8 *)(&__IPSBAR[0xD66]))
-#define MCF_INTC1_ICR39 (*(vuint8 *)(&__IPSBAR[0xD67]))
-#define MCF_INTC1_ICR40 (*(vuint8 *)(&__IPSBAR[0xD68]))
-#define MCF_INTC1_ICR41 (*(vuint8 *)(&__IPSBAR[0xD69]))
-#define MCF_INTC1_ICR42 (*(vuint8 *)(&__IPSBAR[0xD6A]))
-#define MCF_INTC1_ICR43 (*(vuint8 *)(&__IPSBAR[0xD6B]))
-#define MCF_INTC1_ICR44 (*(vuint8 *)(&__IPSBAR[0xD6C]))
-#define MCF_INTC1_ICR45 (*(vuint8 *)(&__IPSBAR[0xD6D]))
-#define MCF_INTC1_ICR46 (*(vuint8 *)(&__IPSBAR[0xD6E]))
-#define MCF_INTC1_ICR47 (*(vuint8 *)(&__IPSBAR[0xD6F]))
-#define MCF_INTC1_ICR48 (*(vuint8 *)(&__IPSBAR[0xD70]))
-#define MCF_INTC1_ICR49 (*(vuint8 *)(&__IPSBAR[0xD71]))
-#define MCF_INTC1_ICR50 (*(vuint8 *)(&__IPSBAR[0xD72]))
-#define MCF_INTC1_ICR51 (*(vuint8 *)(&__IPSBAR[0xD73]))
-#define MCF_INTC1_ICR52 (*(vuint8 *)(&__IPSBAR[0xD74]))
-#define MCF_INTC1_ICR53 (*(vuint8 *)(&__IPSBAR[0xD75]))
-#define MCF_INTC1_ICR54 (*(vuint8 *)(&__IPSBAR[0xD76]))
-#define MCF_INTC1_ICR55 (*(vuint8 *)(&__IPSBAR[0xD77]))
-#define MCF_INTC1_ICR56 (*(vuint8 *)(&__IPSBAR[0xD78]))
-#define MCF_INTC1_ICR57 (*(vuint8 *)(&__IPSBAR[0xD79]))
-#define MCF_INTC1_ICR58 (*(vuint8 *)(&__IPSBAR[0xD7A]))
-#define MCF_INTC1_ICR59 (*(vuint8 *)(&__IPSBAR[0xD7B]))
-#define MCF_INTC1_ICR60 (*(vuint8 *)(&__IPSBAR[0xD7C]))
-#define MCF_INTC1_ICR61 (*(vuint8 *)(&__IPSBAR[0xD7D]))
-#define MCF_INTC1_ICR62 (*(vuint8 *)(&__IPSBAR[0xD7E]))
-#define MCF_INTC1_ICR63 (*(vuint8 *)(&__IPSBAR[0xD7F]))
-#define MCF_INTC1_SWIACK (*(vuint8 *)(&__IPSBAR[0xDE0]))
-#define MCF_INTC1_L1IACK (*(vuint8 *)(&__IPSBAR[0xDE4]))
-#define MCF_INTC1_L2IACK (*(vuint8 *)(&__IPSBAR[0xDE8]))
-#define MCF_INTC1_L3IACK (*(vuint8 *)(&__IPSBAR[0xDEC]))
-#define MCF_INTC1_L4IACK (*(vuint8 *)(&__IPSBAR[0xDF0]))
-#define MCF_INTC1_L5IACK (*(vuint8 *)(&__IPSBAR[0xDF4]))
-#define MCF_INTC1_L6IACK (*(vuint8 *)(&__IPSBAR[0xDF8]))
-#define MCF_INTC1_L7IACK (*(vuint8 *)(&__IPSBAR[0xDFC]))
-#define MCF_INTC1_ICR(x) (*(vuint8 *)(&__IPSBAR[0xD41 + ((x-1)*0x1)]))
-#define MCF_INTC1_LIACK(x) (*(vuint8 *)(&__IPSBAR[0xDE4 + ((x-1)*0x4)]))
-
-#define MCF_INTC_IPRH(x) (*(vuint32*)(&__IPSBAR[0xC00 + ((x)*0x100)]))
-#define MCF_INTC_IPRL(x) (*(vuint32*)(&__IPSBAR[0xC04 + ((x)*0x100)]))
-#define MCF_INTC_IMRH(x) (*(vuint32*)(&__IPSBAR[0xC08 + ((x)*0x100)]))
-#define MCF_INTC_IMRL(x) (*(vuint32*)(&__IPSBAR[0xC0C + ((x)*0x100)]))
-#define MCF_INTC_INTFRCH(x) (*(vuint32*)(&__IPSBAR[0xC10 + ((x)*0x100)]))
-#define MCF_INTC_INTFRCL(x) (*(vuint32*)(&__IPSBAR[0xC14 + ((x)*0x100)]))
-#define MCF_INTC_IRLR(x) (*(vuint8 *)(&__IPSBAR[0xC18 + ((x)*0x100)]))
-#define MCF_INTC_IACKLPR(x) (*(vuint8 *)(&__IPSBAR[0xC19 + ((x)*0x100)]))
-#define MCF_INTC_ICR01(x) (*(vuint8 *)(&__IPSBAR[0xC41 + ((x)*0x100)]))
-#define MCF_INTC_ICR02(x) (*(vuint8 *)(&__IPSBAR[0xC42 + ((x)*0x100)]))
-#define MCF_INTC_ICR03(x) (*(vuint8 *)(&__IPSBAR[0xC43 + ((x)*0x100)]))
-#define MCF_INTC_ICR04(x) (*(vuint8 *)(&__IPSBAR[0xC44 + ((x)*0x100)]))
-#define MCF_INTC_ICR05(x) (*(vuint8 *)(&__IPSBAR[0xC45 + ((x)*0x100)]))
-#define MCF_INTC_ICR06(x) (*(vuint8 *)(&__IPSBAR[0xC46 + ((x)*0x100)]))
-#define MCF_INTC_ICR07(x) (*(vuint8 *)(&__IPSBAR[0xC47 + ((x)*0x100)]))
-#define MCF_INTC_ICR08(x) (*(vuint8 *)(&__IPSBAR[0xC48 + ((x)*0x100)]))
-#define MCF_INTC_ICR09(x) (*(vuint8 *)(&__IPSBAR[0xC49 + ((x)*0x100)]))
-#define MCF_INTC_ICR10(x) (*(vuint8 *)(&__IPSBAR[0xC4A + ((x)*0x100)]))
-#define MCF_INTC_ICR11(x) (*(vuint8 *)(&__IPSBAR[0xC4B + ((x)*0x100)]))
-#define MCF_INTC_ICR12(x) (*(vuint8 *)(&__IPSBAR[0xC4C + ((x)*0x100)]))
-#define MCF_INTC_ICR13(x) (*(vuint8 *)(&__IPSBAR[0xC4D + ((x)*0x100)]))
-#define MCF_INTC_ICR14(x) (*(vuint8 *)(&__IPSBAR[0xC4E + ((x)*0x100)]))
-#define MCF_INTC_ICR15(x) (*(vuint8 *)(&__IPSBAR[0xC4F + ((x)*0x100)]))
-#define MCF_INTC_ICR16(x) (*(vuint8 *)(&__IPSBAR[0xC50 + ((x)*0x100)]))
-#define MCF_INTC_ICR17(x) (*(vuint8 *)(&__IPSBAR[0xC51 + ((x)*0x100)]))
-#define MCF_INTC_ICR18(x) (*(vuint8 *)(&__IPSBAR[0xC52 + ((x)*0x100)]))
-#define MCF_INTC_ICR19(x) (*(vuint8 *)(&__IPSBAR[0xC53 + ((x)*0x100)]))
-#define MCF_INTC_ICR20(x) (*(vuint8 *)(&__IPSBAR[0xC54 + ((x)*0x100)]))
-#define MCF_INTC_ICR21(x) (*(vuint8 *)(&__IPSBAR[0xC55 + ((x)*0x100)]))
-#define MCF_INTC_ICR22(x) (*(vuint8 *)(&__IPSBAR[0xC56 + ((x)*0x100)]))
-#define MCF_INTC_ICR23(x) (*(vuint8 *)(&__IPSBAR[0xC57 + ((x)*0x100)]))
-#define MCF_INTC_ICR24(x) (*(vuint8 *)(&__IPSBAR[0xC58 + ((x)*0x100)]))
-#define MCF_INTC_ICR25(x) (*(vuint8 *)(&__IPSBAR[0xC59 + ((x)*0x100)]))
-#define MCF_INTC_ICR26(x) (*(vuint8 *)(&__IPSBAR[0xC5A + ((x)*0x100)]))
-#define MCF_INTC_ICR27(x) (*(vuint8 *)(&__IPSBAR[0xC5B + ((x)*0x100)]))
-#define MCF_INTC_ICR28(x) (*(vuint8 *)(&__IPSBAR[0xC5C + ((x)*0x100)]))
-#define MCF_INTC_ICR29(x) (*(vuint8 *)(&__IPSBAR[0xC5D + ((x)*0x100)]))
-#define MCF_INTC_ICR30(x) (*(vuint8 *)(&__IPSBAR[0xC5E + ((x)*0x100)]))
-#define MCF_INTC_ICR31(x) (*(vuint8 *)(&__IPSBAR[0xC5F + ((x)*0x100)]))
-#define MCF_INTC_ICR32(x) (*(vuint8 *)(&__IPSBAR[0xC60 + ((x)*0x100)]))
-#define MCF_INTC_ICR33(x) (*(vuint8 *)(&__IPSBAR[0xC61 + ((x)*0x100)]))
-#define MCF_INTC_ICR34(x) (*(vuint8 *)(&__IPSBAR[0xC62 + ((x)*0x100)]))
-#define MCF_INTC_ICR35(x) (*(vuint8 *)(&__IPSBAR[0xC63 + ((x)*0x100)]))
-#define MCF_INTC_ICR36(x) (*(vuint8 *)(&__IPSBAR[0xC64 + ((x)*0x100)]))
-#define MCF_INTC_ICR37(x) (*(vuint8 *)(&__IPSBAR[0xC65 + ((x)*0x100)]))
-#define MCF_INTC_ICR38(x) (*(vuint8 *)(&__IPSBAR[0xC66 + ((x)*0x100)]))
-#define MCF_INTC_ICR39(x) (*(vuint8 *)(&__IPSBAR[0xC67 + ((x)*0x100)]))
-#define MCF_INTC_ICR40(x) (*(vuint8 *)(&__IPSBAR[0xC68 + ((x)*0x100)]))
-#define MCF_INTC_ICR41(x) (*(vuint8 *)(&__IPSBAR[0xC69 + ((x)*0x100)]))
-#define MCF_INTC_ICR42(x) (*(vuint8 *)(&__IPSBAR[0xC6A + ((x)*0x100)]))
-#define MCF_INTC_ICR43(x) (*(vuint8 *)(&__IPSBAR[0xC6B + ((x)*0x100)]))
-#define MCF_INTC_ICR44(x) (*(vuint8 *)(&__IPSBAR[0xC6C + ((x)*0x100)]))
-#define MCF_INTC_ICR45(x) (*(vuint8 *)(&__IPSBAR[0xC6D + ((x)*0x100)]))
-#define MCF_INTC_ICR46(x) (*(vuint8 *)(&__IPSBAR[0xC6E + ((x)*0x100)]))
-#define MCF_INTC_ICR47(x) (*(vuint8 *)(&__IPSBAR[0xC6F + ((x)*0x100)]))
-#define MCF_INTC_ICR48(x) (*(vuint8 *)(&__IPSBAR[0xC70 + ((x)*0x100)]))
-#define MCF_INTC_ICR49(x) (*(vuint8 *)(&__IPSBAR[0xC71 + ((x)*0x100)]))
-#define MCF_INTC_ICR50(x) (*(vuint8 *)(&__IPSBAR[0xC72 + ((x)*0x100)]))
-#define MCF_INTC_ICR51(x) (*(vuint8 *)(&__IPSBAR[0xC73 + ((x)*0x100)]))
-#define MCF_INTC_ICR52(x) (*(vuint8 *)(&__IPSBAR[0xC74 + ((x)*0x100)]))
-#define MCF_INTC_ICR53(x) (*(vuint8 *)(&__IPSBAR[0xC75 + ((x)*0x100)]))
-#define MCF_INTC_ICR54(x) (*(vuint8 *)(&__IPSBAR[0xC76 + ((x)*0x100)]))
-#define MCF_INTC_ICR55(x) (*(vuint8 *)(&__IPSBAR[0xC77 + ((x)*0x100)]))
-#define MCF_INTC_ICR56(x) (*(vuint8 *)(&__IPSBAR[0xC78 + ((x)*0x100)]))
-#define MCF_INTC_ICR57(x) (*(vuint8 *)(&__IPSBAR[0xC79 + ((x)*0x100)]))
-#define MCF_INTC_ICR58(x) (*(vuint8 *)(&__IPSBAR[0xC7A + ((x)*0x100)]))
-#define MCF_INTC_ICR59(x) (*(vuint8 *)(&__IPSBAR[0xC7B + ((x)*0x100)]))
-#define MCF_INTC_ICR60(x) (*(vuint8 *)(&__IPSBAR[0xC7C + ((x)*0x100)]))
-#define MCF_INTC_ICR61(x) (*(vuint8 *)(&__IPSBAR[0xC7D + ((x)*0x100)]))
-#define MCF_INTC_ICR62(x) (*(vuint8 *)(&__IPSBAR[0xC7E + ((x)*0x100)]))
-#define MCF_INTC_ICR63(x) (*(vuint8 *)(&__IPSBAR[0xC7F + ((x)*0x100)]))
-#define MCF_INTC_SWIACK(x) (*(vuint8 *)(&__IPSBAR[0xCE0 + ((x)*0x100)]))
-#define MCF_INTC_L1IACK(x) (*(vuint8 *)(&__IPSBAR[0xCE4 + ((x)*0x100)]))
-#define MCF_INTC_L2IACK(x) (*(vuint8 *)(&__IPSBAR[0xCE8 + ((x)*0x100)]))
-#define MCF_INTC_L3IACK(x) (*(vuint8 *)(&__IPSBAR[0xCEC + ((x)*0x100)]))
-#define MCF_INTC_L4IACK(x) (*(vuint8 *)(&__IPSBAR[0xCF0 + ((x)*0x100)]))
-#define MCF_INTC_L5IACK(x) (*(vuint8 *)(&__IPSBAR[0xCF4 + ((x)*0x100)]))
-#define MCF_INTC_L6IACK(x) (*(vuint8 *)(&__IPSBAR[0xCF8 + ((x)*0x100)]))
-#define MCF_INTC_L7IACK(x) (*(vuint8 *)(&__IPSBAR[0xCFC + ((x)*0x100)]))
-
-
-/* Bit definitions and macros for MCF_INTC_IPRH */
-#define MCF_INTC_IPRH_INT32 (0x1)
-#define MCF_INTC_IPRH_INT33 (0x2)
-#define MCF_INTC_IPRH_INT34 (0x4)
-#define MCF_INTC_IPRH_INT35 (0x8)
-#define MCF_INTC_IPRH_INT36 (0x10)
-#define MCF_INTC_IPRH_INT37 (0x20)
-#define MCF_INTC_IPRH_INT38 (0x40)
-#define MCF_INTC_IPRH_INT39 (0x80)
-#define MCF_INTC_IPRH_INT40 (0x100)
-#define MCF_INTC_IPRH_INT41 (0x200)
-#define MCF_INTC_IPRH_INT42 (0x400)
-#define MCF_INTC_IPRH_INT43 (0x800)
-#define MCF_INTC_IPRH_INT44 (0x1000)
-#define MCF_INTC_IPRH_INT45 (0x2000)
-#define MCF_INTC_IPRH_INT46 (0x4000)
-#define MCF_INTC_IPRH_INT47 (0x8000)
-#define MCF_INTC_IPRH_INT48 (0x10000)
-#define MCF_INTC_IPRH_INT49 (0x20000)
-#define MCF_INTC_IPRH_INT50 (0x40000)
-#define MCF_INTC_IPRH_INT51 (0x80000)
-#define MCF_INTC_IPRH_INT52 (0x100000)
-#define MCF_INTC_IPRH_INT53 (0x200000)
-#define MCF_INTC_IPRH_INT54 (0x400000)
-#define MCF_INTC_IPRH_INT55 (0x800000)
-#define MCF_INTC_IPRH_INT56 (0x1000000)
-#define MCF_INTC_IPRH_INT57 (0x2000000)
-#define MCF_INTC_IPRH_INT58 (0x4000000)
-#define MCF_INTC_IPRH_INT59 (0x8000000)
-#define MCF_INTC_IPRH_INT60 (0x10000000)
-#define MCF_INTC_IPRH_INT61 (0x20000000)
-#define MCF_INTC_IPRH_INT62 (0x40000000)
-#define MCF_INTC_IPRH_INT63 (0x80000000)
-
-/* Bit definitions and macros for MCF_INTC_IPRL */
-#define MCF_INTC_IPRL_INT1 (0x2)
-#define MCF_INTC_IPRL_INT2 (0x4)
-#define MCF_INTC_IPRL_INT3 (0x8)
-#define MCF_INTC_IPRL_INT4 (0x10)
-#define MCF_INTC_IPRL_INT5 (0x20)
-#define MCF_INTC_IPRL_INT6 (0x40)
-#define MCF_INTC_IPRL_INT7 (0x80)
-#define MCF_INTC_IPRL_INT8 (0x100)
-#define MCF_INTC_IPRL_INT9 (0x200)
-#define MCF_INTC_IPRL_INT10 (0x400)
-#define MCF_INTC_IPRL_INT11 (0x800)
-#define MCF_INTC_IPRL_INT12 (0x1000)
-#define MCF_INTC_IPRL_INT13 (0x2000)
-#define MCF_INTC_IPRL_INT14 (0x4000)
-#define MCF_INTC_IPRL_INT15 (0x8000)
-#define MCF_INTC_IPRL_INT16 (0x10000)
-#define MCF_INTC_IPRL_INT17 (0x20000)
-#define MCF_INTC_IPRL_INT18 (0x40000)
-#define MCF_INTC_IPRL_INT19 (0x80000)
-#define MCF_INTC_IPRL_INT20 (0x100000)
-#define MCF_INTC_IPRL_INT21 (0x200000)
-#define MCF_INTC_IPRL_INT22 (0x400000)
-#define MCF_INTC_IPRL_INT23 (0x800000)
-#define MCF_INTC_IPRL_INT24 (0x1000000)
-#define MCF_INTC_IPRL_INT25 (0x2000000)
-#define MCF_INTC_IPRL_INT26 (0x4000000)
-#define MCF_INTC_IPRL_INT27 (0x8000000)
-#define MCF_INTC_IPRL_INT28 (0x10000000)
-#define MCF_INTC_IPRL_INT29 (0x20000000)
-#define MCF_INTC_IPRL_INT30 (0x40000000)
-#define MCF_INTC_IPRL_INT31 (0x80000000)
-
-/* Bit definitions and macros for MCF_INTC_IMRH */
-#define MCF_INTC_IMRH_INT_MASK32 (0x1)
-#define MCF_INTC_IMRH_INT_MASK33 (0x2)
-#define MCF_INTC_IMRH_INT_MASK34 (0x4)
-#define MCF_INTC_IMRH_INT_MASK35 (0x8)
-#define MCF_INTC_IMRH_INT_MASK36 (0x10)
-#define MCF_INTC_IMRH_INT_MASK37 (0x20)
-#define MCF_INTC_IMRH_INT_MASK38 (0x40)
-#define MCF_INTC_IMRH_INT_MASK39 (0x80)
-#define MCF_INTC_IMRH_INT_MASK40 (0x100)
-#define MCF_INTC_IMRH_INT_MASK41 (0x200)
-#define MCF_INTC_IMRH_INT_MASK42 (0x400)
-#define MCF_INTC_IMRH_INT_MASK43 (0x800)
-#define MCF_INTC_IMRH_INT_MASK44 (0x1000)
-#define MCF_INTC_IMRH_INT_MASK45 (0x2000)
-#define MCF_INTC_IMRH_INT_MASK46 (0x4000)
-#define MCF_INTC_IMRH_INT_MASK47 (0x8000)
-#define MCF_INTC_IMRH_INT_MASK48 (0x10000)
-#define MCF_INTC_IMRH_INT_MASK49 (0x20000)
-#define MCF_INTC_IMRH_INT_MASK50 (0x40000)
-#define MCF_INTC_IMRH_INT_MASK51 (0x80000)
-#define MCF_INTC_IMRH_INT_MASK52 (0x100000)
-#define MCF_INTC_IMRH_INT_MASK53 (0x200000)
-#define MCF_INTC_IMRH_INT_MASK54 (0x400000)
-#define MCF_INTC_IMRH_INT_MASK55 (0x800000)
-#define MCF_INTC_IMRH_INT_MASK56 (0x1000000)
-#define MCF_INTC_IMRH_INT_MASK57 (0x2000000)
-#define MCF_INTC_IMRH_INT_MASK58 (0x4000000)
-#define MCF_INTC_IMRH_INT_MASK59 (0x8000000)
-#define MCF_INTC_IMRH_INT_MASK60 (0x10000000)
-#define MCF_INTC_IMRH_INT_MASK61 (0x20000000)
-#define MCF_INTC_IMRH_INT_MASK62 (0x40000000)
-#define MCF_INTC_IMRH_INT_MASK63 (0x80000000)
-
-/* Bit definitions and macros for MCF_INTC_IMRL */
-#define MCF_INTC_IMRL_MASKALL (0x1)
-#define MCF_INTC_IMRL_INT_MASK1 (0x2)
-#define MCF_INTC_IMRL_INT_MASK2 (0x4)
-#define MCF_INTC_IMRL_INT_MASK3 (0x8)
-#define MCF_INTC_IMRL_INT_MASK4 (0x10)
-#define MCF_INTC_IMRL_INT_MASK5 (0x20)
-#define MCF_INTC_IMRL_INT_MASK6 (0x40)
-#define MCF_INTC_IMRL_INT_MASK7 (0x80)
-#define MCF_INTC_IMRL_INT_MASK8 (0x100)
-#define MCF_INTC_IMRL_INT_MASK9 (0x200)
-#define MCF_INTC_IMRL_INT_MASK10 (0x400)
-#define MCF_INTC_IMRL_INT_MASK11 (0x800)
-#define MCF_INTC_IMRL_INT_MASK12 (0x1000)
-#define MCF_INTC_IMRL_INT_MASK13 (0x2000)
-#define MCF_INTC_IMRL_INT_MASK14 (0x4000)
-#define MCF_INTC_IMRL_INT_MASK15 (0x8000)
-#define MCF_INTC_IMRL_INT_MASK16 (0x10000)
-#define MCF_INTC_IMRL_INT_MASK17 (0x20000)
-#define MCF_INTC_IMRL_INT_MASK18 (0x40000)
-#define MCF_INTC_IMRL_INT_MASK19 (0x80000)
-#define MCF_INTC_IMRL_INT_MASK20 (0x100000)
-#define MCF_INTC_IMRL_INT_MASK21 (0x200000)
-#define MCF_INTC_IMRL_INT_MASK22 (0x400000)
-#define MCF_INTC_IMRL_INT_MASK23 (0x800000)
-#define MCF_INTC_IMRL_INT_MASK24 (0x1000000)
-#define MCF_INTC_IMRL_INT_MASK25 (0x2000000)
-#define MCF_INTC_IMRL_INT_MASK26 (0x4000000)
-#define MCF_INTC_IMRL_INT_MASK27 (0x8000000)
-#define MCF_INTC_IMRL_INT_MASK28 (0x10000000)
-#define MCF_INTC_IMRL_INT_MASK29 (0x20000000)
-#define MCF_INTC_IMRL_INT_MASK30 (0x40000000)
-#define MCF_INTC_IMRL_INT_MASK31 (0x80000000)
-
-/* Bit definitions and macros for MCF_INTC_INTFRCH */
-#define MCF_INTC_INTFRCH_INTFRC32 (0x1)
-#define MCF_INTC_INTFRCH_INTFRC33 (0x2)
-#define MCF_INTC_INTFRCH_INTFRC34 (0x4)
-#define MCF_INTC_INTFRCH_INTFRC35 (0x8)
-#define MCF_INTC_INTFRCH_INTFRC36 (0x10)
-#define MCF_INTC_INTFRCH_INTFRC37 (0x20)
-#define MCF_INTC_INTFRCH_INTFRC38 (0x40)
-#define MCF_INTC_INTFRCH_INTFRC39 (0x80)
-#define MCF_INTC_INTFRCH_INTFRC40 (0x100)
-#define MCF_INTC_INTFRCH_INTFRC41 (0x200)
-#define MCF_INTC_INTFRCH_INTFRC42 (0x400)
-#define MCF_INTC_INTFRCH_INTFRC43 (0x800)
-#define MCF_INTC_INTFRCH_INTFRC44 (0x1000)
-#define MCF_INTC_INTFRCH_INTFRC45 (0x2000)
-#define MCF_INTC_INTFRCH_INTFRC46 (0x4000)
-#define MCF_INTC_INTFRCH_INTFRC47 (0x8000)
-#define MCF_INTC_INTFRCH_INTFRC48 (0x10000)
-#define MCF_INTC_INTFRCH_INTFRC49 (0x20000)
-#define MCF_INTC_INTFRCH_INTFRC50 (0x40000)
-#define MCF_INTC_INTFRCH_INTFRC51 (0x80000)
-#define MCF_INTC_INTFRCH_INTFRC52 (0x100000)
-#define MCF_INTC_INTFRCH_INTFRC53 (0x200000)
-#define MCF_INTC_INTFRCH_INTFRC54 (0x400000)
-#define MCF_INTC_INTFRCH_INTFRC55 (0x800000)
-#define MCF_INTC_INTFRCH_INTFRC56 (0x1000000)
-#define MCF_INTC_INTFRCH_INTFRC57 (0x2000000)
-#define MCF_INTC_INTFRCH_INTFRC58 (0x4000000)
-#define MCF_INTC_INTFRCH_INTFRC59 (0x8000000)
-#define MCF_INTC_INTFRCH_INTFRC60 (0x10000000)
-#define MCF_INTC_INTFRCH_INTFRC61 (0x20000000)
-#define MCF_INTC_INTFRCH_INTFRC62 (0x40000000)
-#define MCF_INTC_INTFRCH_INTFRC63 (0x80000000)
-
-/* Bit definitions and macros for MCF_INTC_INTFRCL */
-#define MCF_INTC_INTFRCL_INTFRC1 (0x2)
-#define MCF_INTC_INTFRCL_INTFRC2 (0x4)
-#define MCF_INTC_INTFRCL_INTFRC3 (0x8)
-#define MCF_INTC_INTFRCL_INTFRC4 (0x10)
-#define MCF_INTC_INTFRCL_INTFRC5 (0x20)
-#define MCF_INTC_INTFRCL_INTFRC6 (0x40)
-#define MCF_INTC_INTFRCL_INTFRC7 (0x80)
-#define MCF_INTC_INTFRCL_INTFRC8 (0x100)
-#define MCF_INTC_INTFRCL_INTFRC9 (0x200)
-#define MCF_INTC_INTFRCL_INTFRC10 (0x400)
-#define MCF_INTC_INTFRCL_INTFRC11 (0x800)
-#define MCF_INTC_INTFRCL_INTFRC12 (0x1000)
-#define MCF_INTC_INTFRCL_INTFRC13 (0x2000)
-#define MCF_INTC_INTFRCL_INTFRC14 (0x4000)
-#define MCF_INTC_INTFRCL_INTFRC15 (0x8000)
-#define MCF_INTC_INTFRCL_INTFRC16 (0x10000)
-#define MCF_INTC_INTFRCL_INTFRC17 (0x20000)
-#define MCF_INTC_INTFRCL_INTFRC18 (0x40000)
-#define MCF_INTC_INTFRCL_INTFRC19 (0x80000)
-#define MCF_INTC_INTFRCL_INTFRC20 (0x100000)
-#define MCF_INTC_INTFRCL_INTFRC21 (0x200000)
-#define MCF_INTC_INTFRCL_INTFRC22 (0x400000)
-#define MCF_INTC_INTFRCL_INTFRC23 (0x800000)
-#define MCF_INTC_INTFRCL_INTFRC24 (0x1000000)
-#define MCF_INTC_INTFRCL_INTFRC25 (0x2000000)
-#define MCF_INTC_INTFRCL_INTFRC26 (0x4000000)
-#define MCF_INTC_INTFRCL_INTFRC27 (0x8000000)
-#define MCF_INTC_INTFRCL_INTFRC28 (0x10000000)
-#define MCF_INTC_INTFRCL_INTFRC29 (0x20000000)
-#define MCF_INTC_INTFRCL_INTFRC30 (0x40000000)
-#define MCF_INTC_INTFRCL_INTFRC31 (0x80000000)
-
-/* Bit definitions and macros for MCF_INTC_IRLR */
-#define MCF_INTC_IRLR_IRQ(x) (((x)&0x7F)<<0x1)
-
-/* Bit definitions and macros for MCF_INTC_IACKLPR */
-#define MCF_INTC_IACKLPR_PRI(x) (((x)&0xF)<<0)
-#define MCF_INTC_IACKLPR_LEVEL(x) (((x)&0x7)<<0x4)
-
-/* Bit definitions and macros for MCF_INTC_ICR */
-#define MCF_INTC_ICR_IP(x) (((x)&0x7)<<0)
-#define MCF_INTC_ICR_IL(x) (((x)&0x7)<<0x3)
-
-/* Bit definitions and macros for MCF_INTC_SWIACK */
-#define MCF_INTC_SWIACK_VECTOR(x) (((x)&0xFF)<<0)
-
-/* Bit definitions and macros for MCF_INTC_LIACK */
-#define MCF_INTC_LIACK_VECTOR(x) (((x)&0xFF)<<0)
-
-
-#endif /* __MCF5282_INTC_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PAD.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PAD.h
deleted file mode 100644
index 0a39dc9df..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PAD.h
+++ /dev/null
@@ -1,159 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_PAD_H__
-#define __MCF5282_PAD_H__
-
-
-/*********************************************************************
-*
-* Common GPIO Registers
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_PAD_PBCDPAR (*(vuint8 *)(&__IPSBAR[0x100050]))
-#define MCF_PAD_PFPAR (*(vuint8 *)(&__IPSBAR[0x100051]))
-#define MCF_PAD_PEPAR (*(vuint16*)(&__IPSBAR[0x100052]))
-#define MCF_PAD_PJPAR (*(vuint8 *)(&__IPSBAR[0x100054]))
-#define MCF_PAD_PSDPAR (*(vuint8 *)(&__IPSBAR[0x100055]))
-#define MCF_PAD_PASPAR (*(vuint16*)(&__IPSBAR[0x100056]))
-#define MCF_PAD_PEHLPAR (*(vuint8 *)(&__IPSBAR[0x100058]))
-#define MCF_PAD_PQSPAR (*(vuint8 *)(&__IPSBAR[0x100059]))
-#define MCF_PAD_PTCPAR (*(vuint8 *)(&__IPSBAR[0x10005A]))
-#define MCF_PAD_PTDPAR (*(vuint8 *)(&__IPSBAR[0x10005B]))
-#define MCF_PAD_PUAPAR (*(vuint8 *)(&__IPSBAR[0x10005C]))
-
-
-/* Bit definitions and macros for MCF_PAD_PBCDPAR */
-#define MCF_PAD_PBCDPAR_PCDPA (0x40)
-#define MCF_PAD_PBCDPAR_PBPA (0x80)
-
-/* Bit definitions and macros for MCF_PAD_PFPAR */
-#define MCF_PAD_PFPAR_PFPA5 (0x20)
-#define MCF_PAD_PFPAR_PFPA6 (0x40)
-#define MCF_PAD_PFPAR_PFPA7 (0x80)
-
-/* Bit definitions and macros for MCF_PAD_PEPAR */
-#define MCF_PAD_PEPAR_PEPA0(x) (((x)&0x3)<<0)
-#define MCF_PAD_PEPAR_PEPA0_GPIO (0)
-#define MCF_PAD_PEPAR_PEPA0_SYNCB (0x2)
-#define MCF_PAD_PEPAR_PEPA0_TIP (0x3)
-#define MCF_PAD_PEPAR_PEPA1(x) (((x)&0x3)<<0x2)
-#define MCF_PAD_PEPAR_PEPA1_GPIO (0)
-#define MCF_PAD_PEPAR_PEPA1_SYNCA (0x8)
-#define MCF_PAD_PEPAR_PEPA1_TS (0xC)
-#define MCF_PAD_PEPAR_PEPA2 (0x10)
-#define MCF_PAD_PEPAR_PEPA3 (0x40)
-#define MCF_PAD_PEPAR_PEPA4 (0x100)
-#define MCF_PAD_PEPAR_PEPA5 (0x400)
-#define MCF_PAD_PEPAR_PEPA6 (0x1000)
-#define MCF_PAD_PEPAR_PEPA7 (0x4000)
-
-/* Bit definitions and macros for MCF_PAD_PJPAR */
-#define MCF_PAD_PJPAR_PJPA0 (0x1)
-#define MCF_PAD_PJPAR_PJPA1 (0x2)
-#define MCF_PAD_PJPAR_PJPA2 (0x4)
-#define MCF_PAD_PJPAR_PJPA3 (0x8)
-#define MCF_PAD_PJPAR_PJPA4 (0x10)
-#define MCF_PAD_PJPAR_PJPA5 (0x20)
-#define MCF_PAD_PJPAR_PJPA6 (0x40)
-#define MCF_PAD_PJPAR_PJPA7 (0x80)
-
-/* Bit definitions and macros for MCF_PAD_PSDPAR */
-#define MCF_PAD_PSDPAR_PSDPA (0x80)
-
-/* Bit definitions and macros for MCF_PAD_PASPAR */
-#define MCF_PAD_PASPAR_PASPA0(x) (((x)&0x3)<<0)
-#define MCF_PAD_PASPAR_PASPA0_GPIO (0)
-#define MCF_PAD_PASPAR_PASPA0_UTXD2 (0x2)
-#define MCF_PAD_PASPAR_PASPA0_SCL (0x3)
-#define MCF_PAD_PASPAR_PASPA1(x) (((x)&0x3)<<0x2)
-#define MCF_PAD_PASPAR_PASPA1_GPIO (0)
-#define MCF_PAD_PASPAR_PASPA1_URXD2 (0x8)
-#define MCF_PAD_PASPAR_PASPA1_SDA (0xC)
-#define MCF_PAD_PASPAR_PASPA2(x) (((x)&0x3)<<0x4)
-#define MCF_PAD_PASPAR_PASPA2_GPIO (0)
-#define MCF_PAD_PASPAR_PASPA2_UTXD2 (0x20)
-#define MCF_PAD_PASPAR_PASPA2_CANTX (0x30)
-#define MCF_PAD_PASPAR_PASPA3(x) (((x)&0x3)<<0x6)
-#define MCF_PAD_PASPAR_PASPA3_GPIO (0)
-#define MCF_PAD_PASPAR_PASPA3_URXD2 (0x80)
-#define MCF_PAD_PASPAR_PASPA3_CANRX (0xC0)
-#define MCF_PAD_PASPAR_PASPA4(x) (((x)&0x3)<<0x8)
-#define MCF_PAD_PASPAR_PASPA4_GPIO (0)
-#define MCF_PAD_PASPAR_PASPA4_UTXD2 (0x200)
-#define MCF_PAD_PASPAR_PASPA4_EMDC (0x300)
-#define MCF_PAD_PASPAR_PASPA5(x) (((x)&0x3)<<0xA)
-#define MCF_PAD_PASPAR_PASPA5_GPIO (0)
-#define MCF_PAD_PASPAR_PASPA5_URXD2 (0x800)
-#define MCF_PAD_PASPAR_PASPA5_EMDIO (0xC00)
-
-/* Bit definitions and macros for MCF_PAD_PEHLPAR */
-#define MCF_PAD_PEHLPAR_PELPA (0x40)
-#define MCF_PAD_PEHLPAR_PEHPA (0x80)
-
-/* Bit definitions and macros for MCF_PAD_PQSPAR */
-#define MCF_PAD_PQSPAR_PQSPA0 (0x1)
-#define MCF_PAD_PQSPAR_PQSPA1 (0x2)
-#define MCF_PAD_PQSPAR_PQSPA2 (0x4)
-#define MCF_PAD_PQSPAR_PQSPA3 (0x8)
-#define MCF_PAD_PQSPAR_PQSPA4 (0x10)
-#define MCF_PAD_PQSPAR_PQSPA5 (0x20)
-#define MCF_PAD_PQSPAR_PQSPA6 (0x40)
-
-/* Bit definitions and macros for MCF_PAD_PTCPAR */
-#define MCF_PAD_PTCPAR_PTCPA0(x) (((x)&0x3)<<0)
-#define MCF_PAD_PTCPAR_PTCPA0_GPIO (0)
-#define MCF_PAD_PTCPAR_PTCPA0_UCTS0 (0x1)
-#define MCF_PAD_PTCPAR_PTCPA0_UCTS1 (0x2)
-#define MCF_PAD_PTCPAR_PTCPA0_TOUT2 (0x3)
-#define MCF_PAD_PTCPAR_PTCPA1(x) (((x)&0x3)<<0x2)
-#define MCF_PAD_PTCPAR_PTCPA1_GPIO (0)
-#define MCF_PAD_PTCPAR_PTCPA1_UCTS0 (0x4)
-#define MCF_PAD_PTCPAR_PTCPA1_UCTS1 (0x8)
-#define MCF_PAD_PTCPAR_PTCPA1_TIN2 (0xC)
-#define MCF_PAD_PTCPAR_PTCPA2(x) (((x)&0x3)<<0x4)
-#define MCF_PAD_PTCPAR_PTCPA2_GPIO (0)
-#define MCF_PAD_PTCPAR_PTCPA2_URTS0 (0x10)
-#define MCF_PAD_PTCPAR_PTCPA2_URTS1 (0x20)
-#define MCF_PAD_PTCPAR_PTCPA2_TOUT3 (0x30)
-#define MCF_PAD_PTCPAR_PTCPA3(x) (((x)&0x3)<<0x6)
-#define MCF_PAD_PTCPAR_PTCPA3_GPIO (0)
-#define MCF_PAD_PTCPAR_PTCPA3_URTS0 (0x40)
-#define MCF_PAD_PTCPAR_PTCPA3_URTS1 (0x80)
-#define MCF_PAD_PTCPAR_PTCPA3_TIN3 (0xC0)
-
-/* Bit definitions and macros for MCF_PAD_PTDPAR */
-#define MCF_PAD_PTDPAR_PTDPA0(x) (((x)&0x3)<<0)
-#define MCF_PAD_PTDPAR_PTDPA0_GPIO (0)
-#define MCF_PAD_PTDPAR_PTDPA0_UCTS0 (0x1)
-#define MCF_PAD_PTDPAR_PTDPA0_UCTS1 (0x2)
-#define MCF_PAD_PTDPAR_PTDPA0_TOUT0 (0x3)
-#define MCF_PAD_PTDPAR_PTDPA1(x) (((x)&0x3)<<0x2)
-#define MCF_PAD_PTDPAR_PTDPA2_GPIO (0)
-#define MCF_PAD_PTDPAR_PTDPA2_UCTS0 (0x4)
-#define MCF_PAD_PTDPAR_PTDPA2_UCTS1 (0x8)
-#define MCF_PAD_PTDPAR_PTDPA2_TIN0 (0xC)
-#define MCF_PAD_PTDPAR_PTDPA2(x) (((x)&0x3)<<0x4)
-#define MCF_PAD_PTDPAR_PTDPA2_URTS0 (0x10)
-#define MCF_PAD_PTDPAR_PTDPA2_URTS1 (0x20)
-#define MCF_PAD_PTDPAR_PTDPA2_TOUT1 (0x30)
-#define MCF_PAD_PTDPAR_PTDPA3(x) (((x)&0x3)<<0x6)
-#define MCF_PAD_PTDPAR_PTDPA3_GPIO (0)
-#define MCF_PAD_PTDPAR_PTDPA3_URTS0 (0x40)
-#define MCF_PAD_PTDPAR_PTDPA3_URTS1 (0x80)
-#define MCF_PAD_PTDPAR_PTDPA3_TIN1 (0xC0)
-
-/* Bit definitions and macros for MCF_PAD_PUAPAR */
-#define MCF_PAD_PUAPAR_PUAPA0 (0x1)
-#define MCF_PAD_PUAPAR_PUAPA1 (0x2)
-#define MCF_PAD_PUAPAR_PUAPA2 (0x4)
-#define MCF_PAD_PUAPAR_PUAPA3 (0x8)
-
-
-#endif /* __MCF5282_PAD_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PIT.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PIT.h
deleted file mode 100644
index a7eebee6c..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PIT.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_PIT_H__
-#define __MCF5282_PIT_H__
-
-
-/*********************************************************************
-*
-* Programmable Interrupt Timer (PIT)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_PIT0_PCSR (*(vuint16*)(&__IPSBAR[0x150000]))
-#define MCF_PIT0_PMR (*(vuint16*)(&__IPSBAR[0x150002]))
-#define MCF_PIT0_PCNTR (*(vuint16*)(&__IPSBAR[0x150004]))
-
-#define MCF_PIT1_PCSR (*(vuint16*)(&__IPSBAR[0x160000]))
-#define MCF_PIT1_PMR (*(vuint16*)(&__IPSBAR[0x160002]))
-#define MCF_PIT1_PCNTR (*(vuint16*)(&__IPSBAR[0x160004]))
-
-#define MCF_PIT2_PCSR (*(vuint16*)(&__IPSBAR[0x170000]))
-#define MCF_PIT2_PMR (*(vuint16*)(&__IPSBAR[0x170002]))
-#define MCF_PIT2_PCNTR (*(vuint16*)(&__IPSBAR[0x170004]))
-
-#define MCF_PIT3_PCSR (*(vuint16*)(&__IPSBAR[0x180000]))
-#define MCF_PIT3_PMR (*(vuint16*)(&__IPSBAR[0x180002]))
-#define MCF_PIT3_PCNTR (*(vuint16*)(&__IPSBAR[0x180004]))
-
-#define MCF_PIT_PCSR(x) (*(vuint16*)(&__IPSBAR[0x150000 + ((x)*0x10000)]))
-#define MCF_PIT_PMR(x) (*(vuint16*)(&__IPSBAR[0x150002 + ((x)*0x10000)]))
-#define MCF_PIT_PCNTR(x) (*(vuint16*)(&__IPSBAR[0x150004 + ((x)*0x10000)]))
-
-
-/* Bit definitions and macros for MCF_PIT_PCSR */
-#define MCF_PIT_PCSR_EN (0x1)
-#define MCF_PIT_PCSR_RLD (0x2)
-#define MCF_PIT_PCSR_PIF (0x4)
-#define MCF_PIT_PCSR_PIE (0x8)
-#define MCF_PIT_PCSR_OVW (0x10)
-#define MCF_PIT_PCSR_HALTED (0x20)
-#define MCF_PIT_PCSR_DOZE (0x40)
-#define MCF_PIT_PCSR_PRE(x) (((x)&0xF)<<0x8)
-
-/* Bit definitions and macros for MCF_PIT_PMR */
-#define MCF_PIT_PMR_PM(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_PIT_PCNTR */
-#define MCF_PIT_PCNTR_PC(x) (((x)&0xFFFF)<<0)
-
-
-#endif /* __MCF5282_PIT_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PMM.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PMM.h
deleted file mode 100644
index cfe0b1cf4..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PMM.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_PMM_H__
-#define __MCF5282_PMM_H__
-
-
-/*********************************************************************
-*
-* Power Management (PMM)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_PMM_LPICR (*(vuint8 *)(&__IPSBAR[0x12]))
-#define MCF_PMM_LPCR (*(vuint8 *)(&__IPSBAR[0x110007]))
-
-
-/* Bit definitions and macros for MCF_PMM_LPICR */
-#define MCF_PMM_LPICR_XLPM_IPL(x) (((x)&0x7)<<0x4)
-#define MCF_PMM_LPICR_ENBSTOP (0x80)
-
-/* Bit definitions and macros for MCF_PMM_LPCR */
-#define MCF_PMM_LPCR_LVDSE (0x2)
-#define MCF_PMM_LPCR_STPMD(x) (((x)&0x3)<<0x3)
-#define MCF_PMM_LPCR_STPMD_SYS_DISABLED (0)
-#define MCF_PMM_LPCR_STPMD_SYS_CLKOUT_DISABLED (0x8)
-#define MCF_PMM_LPCR_STPMD_ONLY_OSC_ENABLED (0x10)
-#define MCF_PMM_LPCR_STPMD_ALL_DISABLED (0x18)
-#define MCF_PMM_LPCR_LPMD(x) (((x)&0x3)<<0x6)
-#define MCF_PMM_LPCR_LPMD_RUN (0)
-#define MCF_PMM_LPCR_LPMD_DOZE (0x40)
-#define MCF_PMM_LPCR_LPMD_WAIT (0x80)
-#define MCF_PMM_LPCR_LPMD_STOP (0xC0)
-
-
-#endif /* __MCF5282_PMM_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QADC.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QADC.h
deleted file mode 100644
index cb2dfc67b..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QADC.h
+++ /dev/null
@@ -1,108 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_QADC_H__
-#define __MCF5282_QADC_H__
-
-
-/*********************************************************************
-*
-* Queued Analog-to-Digital Converter (QADC)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_QADC_QADCMCR (*(vuint16*)(&__IPSBAR[0x190000]))
-#define MCF_QADC_PORTQA (*(vuint8 *)(&__IPSBAR[0x190006]))
-#define MCF_QADC_PORTQB (*(vuint8 *)(&__IPSBAR[0x190007]))
-#define MCF_QADC_DDRQA (*(vuint8 *)(&__IPSBAR[0x190008]))
-#define MCF_QADC_DDRQB (*(vuint8 *)(&__IPSBAR[0x190009]))
-#define MCF_QADC_QACR0 (*(vuint16*)(&__IPSBAR[0x19000A]))
-#define MCF_QADC_QACR1 (*(vuint16*)(&__IPSBAR[0x19000C]))
-#define MCF_QADC_QACR2 (*(vuint16*)(&__IPSBAR[0x19000E]))
-#define MCF_QADC_QASR0 (*(vuint16*)(&__IPSBAR[0x190010]))
-#define MCF_QADC_QASR1 (*(vuint16*)(&__IPSBAR[0x190012]))
-
-/* Other macros */
-#define MCF_QADC_CCW(x) (*(vuint16*)(&__IPSBAR[0x190200 + (x*2)]))
-#define MCF_QADC_CCW_CHAN(x) (((x)&0x3F)<<0)
-#define MCF_QADC_CCW_IST(x) (((x)&0x3)<<0x6)
-#define MCF_QADC_CCW_IST_QCLK2 (0)
-#define MCF_QADC_CCW_IST_QCLK4 (0x40)
-#define MCF_QADC_CCW_IST_QCLK8 (0x80)
-#define MCF_QADC_CCW_IST_QCLK16 (0xC0)
-#define MCF_QADC_CCW_BYP (0x100)
-#define MCF_QADC_CCW_P (0x200)
-#define MCF_QADC_RJURR(x) (*(vuint16*)(&__IPSBAR[0x190280 + (x*2)]))
-#define MCF_QADC_LJSRR(x) (*(vuint16*)(&__IPSBAR[0x190300 + (x*2)]))
-#define MCF_QADC_LJURR(x) (*(vuint16*)(&__IPSBAR[0x190380 + (x*2)]))
-
-
-/* Bit definitions and macros for MCF_QADC_QADCMCR */
-#define MCF_QADC_QADCMCR_SUPV (0x80)
-#define MCF_QADC_QADCMCR_QDBG (0x4000)
-#define MCF_QADC_QADCMCR_QSTOP (0x8000)
-
-/* Bit definitions and macros for MCF_QADC_PORTQA */
-#define MCF_QADC_PORTQA_PQA0 (0x1)
-#define MCF_QADC_PORTQA_PQA1 (0x2)
-#define MCF_QADC_PORTQA_PQA2 (0x8)
-#define MCF_QADC_PORTQA_PQA3 (0x10)
-
-/* Bit definitions and macros for MCF_QADC_PORTQB */
-#define MCF_QADC_PORTQB_PQB0 (0x1)
-#define MCF_QADC_PORTQB_PQB1 (0x2)
-#define MCF_QADC_PORTQB_PQB2 (0x4)
-#define MCF_QADC_PORTQB_PQB3 (0x8)
-
-/* Bit definitions and macros for MCF_QADC_DDRQA */
-#define MCF_QADC_DDRQA_DDQA0 (0x1)
-#define MCF_QADC_DDRQA_DDQA1 (0x2)
-#define MCF_QADC_DDRQA_DDQA2 (0x8)
-#define MCF_QADC_DDRQA_DDQA3 (0x10)
-
-/* Bit definitions and macros for MCF_QADC_DDRQB */
-#define MCF_QADC_DDRQB_DDQB0 (0x1)
-#define MCF_QADC_DDRQB_DDQB1 (0x2)
-#define MCF_QADC_DDRQB_DDQB2 (0x4)
-#define MCF_QADC_DDRQB_DDQB3 (0x8)
-
-/* Bit definitions and macros for MCF_QADC_QACR0 */
-#define MCF_QADC_QACR0_QPR(x) (((x)&0x7F)<<0)
-#define MCF_QADC_QACR0_TRG (0x1000)
-#define MCF_QADC_QACR0_MUX (0x8000)
-
-/* Bit definitions and macros for MCF_QADC_QACR1 */
-#define MCF_QADC_QACR1_MQ1(x) (((x)&0x1F)<<0x8)
-#define MCF_QADC_QACR1_SSE1 (0x2000)
-#define MCF_QADC_QACR1_PIE1 (0x4000)
-#define MCF_QADC_QACR1_CIE1 (0x8000)
-
-/* Bit definitions and macros for MCF_QADC_QACR2 */
-#define MCF_QADC_QACR2_BQ2(x) (((x)&0x7F)<<0)
-#define MCF_QADC_QACR2_RESUME (0x80)
-#define MCF_QADC_QACR2_MQ2(x) (((x)&0x1F)<<0x8)
-#define MCF_QADC_QACR2_SSE2 (0x2000)
-#define MCF_QADC_QACR2_PIE2 (0x4000)
-#define MCF_QADC_QACR2_CIE2 (0x8000)
-
-/* Bit definitions and macros for MCF_QADC_QASR0 */
-#define MCF_QADC_QASR0_CWP(x) (((x)&0x3F)<<0)
-#define MCF_QADC_QASR0_QS(x) (((x)&0xF)<<0x6)
-#define MCF_QADC_QASR0_TOR2 (0x400)
-#define MCF_QADC_QASR0_TOR1 (0x800)
-#define MCF_QADC_QASR0_PF2 (0x1000)
-#define MCF_QADC_QASR0_CF2 (0x2000)
-#define MCF_QADC_QASR0_PF1 (0x4000)
-#define MCF_QADC_QASR0_CF1 (0x8000)
-
-/* Bit definitions and macros for MCF_QADC_QASR1 */
-#define MCF_QADC_QASR1_CWPQ2(x) (((x)&0x3F)<<0)
-#define MCF_QADC_QASR1_CWPQ1(x) (((x)&0x3F)<<0x8)
-
-
-#endif /* __MCF5282_QADC_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QSPI.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QSPI.h
deleted file mode 100644
index f8d94784f..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QSPI.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_QSPI_H__
-#define __MCF5282_QSPI_H__
-
-
-/*********************************************************************
-*
-* Queued Serial Peripheral Interface (QSPI)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_QSPI_QMR (*(vuint16*)(&__IPSBAR[0x340]))
-#define MCF_QSPI_QDLYR (*(vuint16*)(&__IPSBAR[0x344]))
-#define MCF_QSPI_QWR (*(vuint16*)(&__IPSBAR[0x348]))
-#define MCF_QSPI_QIR (*(vuint16*)(&__IPSBAR[0x34C]))
-#define MCF_QSPI_QAR (*(vuint16*)(&__IPSBAR[0x350]))
-#define MCF_QSPI_QDR (*(vuint16*)(&__IPSBAR[0x354]))
-
-
-/* Bit definitions and macros for MCF_QSPI_QMR */
-#define MCF_QSPI_QMR_BAUD(x) (((x)&0xFF)<<0)
-#define MCF_QSPI_QMR_CPHA (0x100)
-#define MCF_QSPI_QMR_CPOL (0x200)
-#define MCF_QSPI_QMR_BITS(x) (((x)&0xF)<<0xA)
-#define MCF_QSPI_QMR_DOHIE (0x4000)
-#define MCF_QSPI_QMR_MSTR (0x8000)
-
-/* Bit definitions and macros for MCF_QSPI_QDLYR */
-#define MCF_QSPI_QDLYR_DTL(x) (((x)&0xFF)<<0)
-#define MCF_QSPI_QDLYR_QCD(x) (((x)&0x7F)<<0x8)
-#define MCF_QSPI_QDLYR_SPE (0x8000)
-
-/* Bit definitions and macros for MCF_QSPI_QWR */
-#define MCF_QSPI_QWR_NEWQP(x) (((x)&0xF)<<0)
-#define MCF_QSPI_QWR_CPTQP(x) (((x)&0xF)<<0x4)
-#define MCF_QSPI_QWR_ENDQP(x) (((x)&0xF)<<0x8)
-#define MCF_QSPI_QWR_CSIV (0x1000)
-#define MCF_QSPI_QWR_WRTO (0x2000)
-#define MCF_QSPI_QWR_WREN (0x4000)
-#define MCF_QSPI_QWR_HALT (0x8000)
-
-/* Bit definitions and macros for MCF_QSPI_QIR */
-#define MCF_QSPI_QIR_SPIF (0x1)
-#define MCF_QSPI_QIR_ABRT (0x4)
-#define MCF_QSPI_QIR_WCEF (0x8)
-#define MCF_QSPI_QIR_SPIFE (0x100)
-#define MCF_QSPI_QIR_ABRTE (0x400)
-#define MCF_QSPI_QIR_WCEFE (0x800)
-#define MCF_QSPI_QIR_ABRTL (0x1000)
-#define MCF_QSPI_QIR_ABRTB (0x4000)
-#define MCF_QSPI_QIR_WCEFB (0x8000)
-
-/* Bit definitions and macros for MCF_QSPI_QAR */
-#define MCF_QSPI_QAR_ADDR(x) (((x)&0x3F)<<0)
-#define MCF_QSPI_QAR_TRANS (0)
-#define MCF_QSPI_QAR_RECV (0x10)
-#define MCF_QSPI_QAR_CMD (0x20)
-
-/* Bit definitions and macros for MCF_QSPI_QDR */
-#define MCF_QSPI_QDR_DATA(x) (((x)&0xFFFF)<<0)
-#define MCF_QSPI_QDR_CONT (0x8000)
-#define MCF_QSPI_QDR_BITSE (0x4000)
-#define MCF_QSPI_QDR_DT (0x2000)
-#define MCF_QSPI_QDR_DSCK (0x1000)
-#define MCF_QSPI_QDR_QSPI_CS3 (0x800)
-#define MCF_QSPI_QDR_QSPI_CS2 (0x400)
-#define MCF_QSPI_QDR_QSPI_CS1 (0x200)
-#define MCF_QSPI_QDR_QSPI_CS0 (0x100)
-
-
-#endif /* __MCF5282_QSPI_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_RCM.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_RCM.h
deleted file mode 100644
index 8e1ebe702..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_RCM.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_RCM_H__
-#define __MCF5282_RCM_H__
-
-
-/*********************************************************************
-*
-* Reset Controller Module (RCM)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_RCM_RCR (*(vuint8 *)(&__IPSBAR[0x110000]))
-#define MCF_RCM_RSR (*(vuint8 *)(&__IPSBAR[0x110001]))
-
-
-/* Bit definitions and macros for MCF_RCM_RCR */
-#define MCF_RCM_RCR_LVDE (0x1)
-#define MCF_RCM_RCR_LVDRE (0x4)
-#define MCF_RCM_RCR_LVDIE (0x8)
-#define MCF_RCM_RCR_LVDF (0x10)
-#define MCF_RCM_RCR_FRCRSTOUT (0x40)
-#define MCF_RCM_RCR_SOFTRST (0x80)
-
-/* Bit definitions and macros for MCF_RCM_RSR */
-#define MCF_RCM_RSR_LOL (0x1)
-#define MCF_RCM_RSR_LOC (0x2)
-#define MCF_RCM_RSR_EXT (0x4)
-#define MCF_RCM_RSR_POR (0x8)
-#define MCF_RCM_RSR_WDR (0x10)
-#define MCF_RCM_RSR_SOFT (0x20)
-#define MCF_RCM_RSR_LVD (0x40)
-
-
-#endif /* __MCF5282_RCM_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SCM.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SCM.h
deleted file mode 100644
index d6f4bb85c..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SCM.h
+++ /dev/null
@@ -1,152 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_SCM_H__
-#define __MCF5282_SCM_H__
-
-
-/*********************************************************************
-*
-* System Control Module (SCM)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_SCM_RAMBAR (*(vuint32*)(&__IPSBAR[0x8]))
-#define MCF_SCM_CRSR (*(vuint8 *)(&__IPSBAR[0x10]))
-#define MCF_SCM_CWCR (*(vuint8 *)(&__IPSBAR[0x11]))
-#define MCF_SCM_CWSR (*(vuint8 *)(&__IPSBAR[0x13]))
-#define MCF_SCM_DMAREQC (*(vuint32*)(&__IPSBAR[0x14]))
-#define MCF_SCM_MPARK (*(vuint32*)(&__IPSBAR[0x1C]))
-#define MCF_SCM_MPR (*(vuint8 *)(&__IPSBAR[0x20]))
-#define MCF_SCM_PACR0 (*(vuint8 *)(&__IPSBAR[0x24]))
-#define MCF_SCM_PACR1 (*(vuint8 *)(&__IPSBAR[0x25]))
-#define MCF_SCM_PACR2 (*(vuint8 *)(&__IPSBAR[0x26]))
-#define MCF_SCM_PACR3 (*(vuint8 *)(&__IPSBAR[0x27]))
-#define MCF_SCM_PACR4 (*(vuint8 *)(&__IPSBAR[0x28]))
-#define MCF_SCM_PACR5 (*(vuint8 *)(&__IPSBAR[0x2A]))
-#define MCF_SCM_PACR6 (*(vuint8 *)(&__IPSBAR[0x2B]))
-#define MCF_SCM_PACR7 (*(vuint8 *)(&__IPSBAR[0x2C]))
-#define MCF_SCM_PACR8 (*(vuint8 *)(&__IPSBAR[0x2E]))
-#define MCF_SCM_GPACR0 (*(vuint8 *)(&__IPSBAR[0x30]))
-#define MCF_SCM_GPACR1 (*(vuint8 *)(&__IPSBAR[0x31]))
-#define MCF_SCM_GPACR(x) (*(vuint8 *)(&__IPSBAR[0x30 + ((x)*0x1)]))
-
-/* Other macros */
-#define MCF_SCM_IPSBAR (*(vuint32*)(&__IPSBAR[0x0]))
-#define MCF_SCM_IPSBAR_V (0x1)
-#define MCF_SCM_IPSBAR_BA(x) ((x)&0xC0000000)
-
-
-/* Bit definitions and macros for MCF_SCM_RAMBAR */
-#define MCF_SCM_RAMBAR_BDE (0x200)
-#define MCF_SCM_RAMBAR_BA(x) ((x)&0xFFFF0000)
-
-/* Bit definitions and macros for MCF_SCM_CRSR */
-#define MCF_SCM_CRSR_CWDR (0x20)
-#define MCF_SCM_CRSR_EXT (0x80)
-
-/* Bit definitions and macros for MCF_SCM_CWCR */
-#define MCF_SCM_CWCR_CWTIF (0x1)
-#define MCF_SCM_CWCR_CWTAVAL (0x2)
-#define MCF_SCM_CWCR_CWTA (0x4)
-#define MCF_SCM_CWCR_CWT(x) (((x)&0x7)<<0x3)
-#define MCF_SCM_CWCR_CWT_2_9 (0)
-#define MCF_SCM_CWCR_CWT_2_11 (0x8)
-#define MCF_SCM_CWCR_CWT_2_13 (0x10)
-#define MCF_SCM_CWCR_CWT_2_15 (0x18)
-#define MCF_SCM_CWCR_CWT_2_19 (0x20)
-#define MCF_SCM_CWCR_CWT_2_23 (0x28)
-#define MCF_SCM_CWCR_CWT_2_27 (0x30)
-#define MCF_SCM_CWCR_CWT_2_31 (0x38)
-#define MCF_SCM_CWCR_CWRI (0x40)
-#define MCF_SCM_CWCR_CWE (0x80)
-
-/* Bit definitions and macros for MCF_SCM_CWSR */
-#define MCF_SCM_CWSR_CWSR(x) (((x)&0xFF)<<0)
-
-/* Bit definitions and macros for MCF_SCM_DMAREQC */
-#define MCF_SCM_DMAREQC_DMAC0(x) (((x)&0xF)<<0)
-#define MCF_SCM_DMAREQC_DMAC1(x) (((x)&0xF)<<0x4)
-#define MCF_SCM_DMAREQC_DMAC2(x) (((x)&0xF)<<0x8)
-#define MCF_SCM_DMAREQC_DMAC3(x) (((x)&0xF)<<0xC)
-
-/* Bit definitions and macros for MCF_SCM_MPARK */
-#define MCF_SCM_MPARK_LCKOUT_TIME(x) (((x)&0xF)<<0x8)
-#define MCF_SCM_MPARK_PRKLAST (0x1000)
-#define MCF_SCM_MPARK_TIMEOUT (0x2000)
-#define MCF_SCM_MPARK_FIXED (0x4000)
-#define MCF_SCM_MPARK_M1_PRTY(x) (((x)&0x3)<<0x10)
-#define MCF_SCM_MPARK_M0_PRTY(x) (((x)&0x3)<<0x12)
-#define MCF_SCM_MPARK_M2_PRTY(x) (((x)&0x3)<<0x14)
-#define MCF_SCM_MPARK_M3_PRTY(x) (((x)&0x3)<<0x16)
-#define MCF_SCM_MPARK_BCR24BIT (0x1000000)
-#define MCF_SCM_MPARK_M2_P_EN (0x2000000)
-
-/* Bit definitions and macros for MCF_SCM_MPR */
-#define MCF_SCM_MPR_MPR(x) (((x)&0xF)<<0)
-
-/* Bit definitions and macros for MCF_SCM_PACR0 */
-#define MCF_SCM_PACR0_ACCESS_CTRL0(x) (((x)&0x7)<<0)
-#define MCF_SCM_PACR0_LOCK0 (0x8)
-#define MCF_SCM_PACR0_ACCESS_CTRL1(x) (((x)&0x7)<<0x4)
-#define MCF_SCM_PACR0_LOCK1 (0x80)
-
-/* Bit definitions and macros for MCF_SCM_PACR1 */
-#define MCF_SCM_PACR1_ACCESS_CTRL0(x) (((x)&0x7)<<0)
-#define MCF_SCM_PACR1_LOCK0 (0x8)
-#define MCF_SCM_PACR1_ACCESS_CTRL1(x) (((x)&0x7)<<0x4)
-#define MCF_SCM_PACR1_LOCK1 (0x80)
-
-/* Bit definitions and macros for MCF_SCM_PACR2 */
-#define MCF_SCM_PACR2_ACCESS_CTRL0(x) (((x)&0x7)<<0)
-#define MCF_SCM_PACR2_LOCK0 (0x8)
-#define MCF_SCM_PACR2_ACCESS_CTRL1(x) (((x)&0x7)<<0x4)
-#define MCF_SCM_PACR2_LOCK1 (0x80)
-
-/* Bit definitions and macros for MCF_SCM_PACR3 */
-#define MCF_SCM_PACR3_ACCESS_CTRL0(x) (((x)&0x7)<<0)
-#define MCF_SCM_PACR3_LOCK0 (0x8)
-#define MCF_SCM_PACR3_ACCESS_CTRL1(x) (((x)&0x7)<<0x4)
-#define MCF_SCM_PACR3_LOCK1 (0x80)
-
-/* Bit definitions and macros for MCF_SCM_PACR4 */
-#define MCF_SCM_PACR4_ACCESS_CTRL0(x) (((x)&0x7)<<0)
-#define MCF_SCM_PACR4_LOCK0 (0x8)
-#define MCF_SCM_PACR4_ACCESS_CTRL1(x) (((x)&0x7)<<0x4)
-#define MCF_SCM_PACR4_LOCK1 (0x80)
-
-/* Bit definitions and macros for MCF_SCM_PACR5 */
-#define MCF_SCM_PACR5_ACCESS_CTRL0(x) (((x)&0x7)<<0)
-#define MCF_SCM_PACR5_LOCK0 (0x8)
-#define MCF_SCM_PACR5_ACCESS_CTRL1(x) (((x)&0x7)<<0x4)
-#define MCF_SCM_PACR5_LOCK1 (0x80)
-
-/* Bit definitions and macros for MCF_SCM_PACR6 */
-#define MCF_SCM_PACR6_ACCESS_CTRL0(x) (((x)&0x7)<<0)
-#define MCF_SCM_PACR6_LOCK0 (0x8)
-#define MCF_SCM_PACR6_ACCESS_CTRL1(x) (((x)&0x7)<<0x4)
-#define MCF_SCM_PACR6_LOCK1 (0x80)
-
-/* Bit definitions and macros for MCF_SCM_PACR7 */
-#define MCF_SCM_PACR7_ACCESS_CTRL0(x) (((x)&0x7)<<0)
-#define MCF_SCM_PACR7_LOCK0 (0x8)
-#define MCF_SCM_PACR7_ACCESS_CTRL1(x) (((x)&0x7)<<0x4)
-#define MCF_SCM_PACR7_LOCK1 (0x80)
-
-/* Bit definitions and macros for MCF_SCM_PACR8 */
-#define MCF_SCM_PACR8_ACCESS_CTRL0(x) (((x)&0x7)<<0)
-#define MCF_SCM_PACR8_LOCK0 (0x8)
-#define MCF_SCM_PACR8_ACCESS_CTRL1(x) (((x)&0x7)<<0x4)
-#define MCF_SCM_PACR8_LOCK1 (0x80)
-
-/* Bit definitions and macros for MCF_SCM_GPACR */
-#define MCF_SCM_GPACR_ACCESS_CTRL(x) (((x)&0xF)<<0)
-#define MCF_SCM_GPACR_LOCK (0x80)
-
-
-#endif /* __MCF5282_SCM_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SDRAMC.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SDRAMC.h
deleted file mode 100644
index 0564610a7..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SDRAMC.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_SDRAMC_H__
-#define __MCF5282_SDRAMC_H__
-
-
-/*********************************************************************
-*
-* Synchronous DRAM Controller (SDRAMC)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_SDRAMC_DCR (*(vuint16*)(&__IPSBAR[0x40]))
-#define MCF_SDRAMC_DACR0 (*(vuint32*)(&__IPSBAR[0x48]))
-#define MCF_SDRAMC_DMR0 (*(vuint32*)(&__IPSBAR[0x4C]))
-#define MCF_SDRAMC_DACR1 (*(vuint32*)(&__IPSBAR[0x50]))
-#define MCF_SDRAMC_DMR1 (*(vuint32*)(&__IPSBAR[0x54]))
-#define MCF_SDRAMC_DACR(x) (*(vuint32*)(&__IPSBAR[0x48 + ((x)*0x8)]))
-#define MCF_SDRAMC_DMR(x) (*(vuint32*)(&__IPSBAR[0x4C + ((x)*0x8)]))
-
-
-/* Bit definitions and macros for MCF_SDRAMC_DCR */
-#define MCF_SDRAMC_DCR_RC(x) (((x)&0x1FF)<<0)
-#define MCF_SDRAMC_DCR_RTIM(x) (((x)&0x3)<<0x9)
-#define MCF_SDRAMC_DCR_RTIM_3 (0)
-#define MCF_SDRAMC_DCR_RTIM_6 (0x200)
-#define MCF_SDRAMC_DCR_RTIM_9 (0x400)
-#define MCF_SDRAMC_DCR_IS (0x800)
-#define MCF_SDRAMC_DCR_COC (0x1000)
-#define MCF_SDRAMC_DCR_NAM (0x2000)
-
-/* Bit definitions and macros for MCF_SDRAMC_DACR */
-#define MCF_SDRAMC_DACR_IP (0x8)
-#define MCF_SDRAMC_DACR_PS(x) (((x)&0x3)<<0x4)
-#define MCF_SDRAMC_DACR_PS_32 (0)
-#define MCF_SDRAMC_DACR_PS_8 (0x10)
-#define MCF_SDRAMC_DACR_PS_16 (0x20)
-#define MCF_SDRAMC_DACR_IMRS (0x40)
-#define MCF_SDRAMC_DACR_CBM(x) (((x)&0x7)<<0x8)
-#define MCF_SDRAMC_DACR_CASL(x) (((x)&0x3)<<0xC)
-#define MCF_SDRAMC_DACR_RE (0x8000)
-#define MCF_SDRAMC_DACR_BA(x) ((x)&0xFFFC0000)
-#define MCF_SDRAMC_DACR_CASL_1 (0)
-#define MCF_SDRAMC_DACR_CASL_2 (0x1000)
-#define MCF_SDRAMC_DACR_CASL_3 (0x2000)
-
-/* Bit definitions and macros for MCF_SDRAMC_DMR */
-#define MCF_SDRAMC_DMR_V (0x1)
-#define MCF_SDRAMC_DMR_UD (0x2)
-#define MCF_SDRAMC_DMR_UC (0x4)
-#define MCF_SDRAMC_DMR_SD (0x8)
-#define MCF_SDRAMC_DMR_SC (0x10)
-#define MCF_SDRAMC_DMR_AM (0x20)
-#define MCF_SDRAMC_DMR_CI (0x40)
-#define MCF_SDRAMC_DMR_WP (0x100)
-#define MCF_SDRAMC_DMR_BAM(x) (((x)&0x3FFF)<<0x12)
-#define MCF_SDRAMC_DMR_BAM_4G (0xFFFC0000)
-#define MCF_SDRAMC_DMR_BAM_2G (0x7FFC0000)
-#define MCF_SDRAMC_DMR_BAM_1G (0x3FFC0000)
-#define MCF_SDRAMC_DMR_BAM_1024M (0x3FFC0000)
-#define MCF_SDRAMC_DMR_BAM_512M (0x1FFC0000)
-#define MCF_SDRAMC_DMR_BAM_256M (0xFFC0000)
-#define MCF_SDRAMC_DMR_BAM_128M (0x7FC0000)
-#define MCF_SDRAMC_DMR_BAM_64M (0x3FC0000)
-#define MCF_SDRAMC_DMR_BAM_32M (0x1FC0000)
-#define MCF_SDRAMC_DMR_BAM_16M (0xFC0000)
-#define MCF_SDRAMC_DMR_BAM_8M (0x7C0000)
-#define MCF_SDRAMC_DMR_BAM_4M (0x3C0000)
-#define MCF_SDRAMC_DMR_BAM_2M (0x1C0000)
-#define MCF_SDRAMC_DMR_BAM_1M (0xC0000)
-#define MCF_SDRAMC_DMR_BAM_1024K (0xC0000)
-#define MCF_SDRAMC_DMR_BAM_512K (0x40000)
-#define MCF_SDRAMC_DMR_BAM_256K (0)
-
-
-#endif /* __MCF5282_SDRAMC_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_UART.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_UART.h
deleted file mode 100644
index 4de3d0175..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_UART.h
+++ /dev/null
@@ -1,194 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_UART_H__
-#define __MCF5282_UART_H__
-
-
-/*********************************************************************
-*
-* Universal Asynchronous Receiver Transmitter (UART)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_UART0_UMR1 (*(vuint8 *)(&__IPSBAR[0x200]))
-#define MCF_UART0_UMR2 (*(vuint8 *)(&__IPSBAR[0x200]))
-#define MCF_UART0_USR (*(vuint8 *)(&__IPSBAR[0x204]))
-#define MCF_UART0_UCSR (*(vuint8 *)(&__IPSBAR[0x204]))
-#define MCF_UART0_UCR (*(vuint8 *)(&__IPSBAR[0x208]))
-#define MCF_UART0_URB (*(vuint8 *)(&__IPSBAR[0x20C]))
-#define MCF_UART0_UTB (*(vuint8 *)(&__IPSBAR[0x20C]))
-#define MCF_UART0_UIPCR (*(vuint8 *)(&__IPSBAR[0x210]))
-#define MCF_UART0_UACR (*(vuint8 *)(&__IPSBAR[0x210]))
-#define MCF_UART0_UIMR (*(vuint8 *)(&__IPSBAR[0x214]))
-#define MCF_UART0_UISR (*(vuint8 *)(&__IPSBAR[0x214]))
-#define MCF_UART0_UBG1 (*(vuint8 *)(&__IPSBAR[0x218]))
-#define MCF_UART0_UBG2 (*(vuint8 *)(&__IPSBAR[0x21C]))
-#define MCF_UART0_UIP (*(vuint8 *)(&__IPSBAR[0x234]))
-#define MCF_UART0_UOP1 (*(vuint8 *)(&__IPSBAR[0x238]))
-#define MCF_UART0_UOP0 (*(vuint8 *)(&__IPSBAR[0x23C]))
-
-#define MCF_UART1_UMR1 (*(vuint8 *)(&__IPSBAR[0x240]))
-#define MCF_UART1_UMR2 (*(vuint8 *)(&__IPSBAR[0x240]))
-#define MCF_UART1_USR (*(vuint8 *)(&__IPSBAR[0x244]))
-#define MCF_UART1_UCSR (*(vuint8 *)(&__IPSBAR[0x244]))
-#define MCF_UART1_UCR (*(vuint8 *)(&__IPSBAR[0x248]))
-#define MCF_UART1_URB (*(vuint8 *)(&__IPSBAR[0x24C]))
-#define MCF_UART1_UTB (*(vuint8 *)(&__IPSBAR[0x24C]))
-#define MCF_UART1_UIPCR (*(vuint8 *)(&__IPSBAR[0x250]))
-#define MCF_UART1_UACR (*(vuint8 *)(&__IPSBAR[0x250]))
-#define MCF_UART1_UIMR (*(vuint8 *)(&__IPSBAR[0x254]))
-#define MCF_UART1_UISR (*(vuint8 *)(&__IPSBAR[0x254]))
-#define MCF_UART1_UBG1 (*(vuint8 *)(&__IPSBAR[0x258]))
-#define MCF_UART1_UBG2 (*(vuint8 *)(&__IPSBAR[0x25C]))
-#define MCF_UART1_UIP (*(vuint8 *)(&__IPSBAR[0x274]))
-#define MCF_UART1_UOP1 (*(vuint8 *)(&__IPSBAR[0x278]))
-#define MCF_UART1_UOP0 (*(vuint8 *)(&__IPSBAR[0x27C]))
-
-#define MCF_UART2_UMR1 (*(vuint8 *)(&__IPSBAR[0x280]))
-#define MCF_UART2_UMR2 (*(vuint8 *)(&__IPSBAR[0x280]))
-#define MCF_UART2_USR (*(vuint8 *)(&__IPSBAR[0x284]))
-#define MCF_UART2_UCSR (*(vuint8 *)(&__IPSBAR[0x284]))
-#define MCF_UART2_UCR (*(vuint8 *)(&__IPSBAR[0x288]))
-#define MCF_UART2_URB (*(vuint8 *)(&__IPSBAR[0x28C]))
-#define MCF_UART2_UTB (*(vuint8 *)(&__IPSBAR[0x28C]))
-#define MCF_UART2_UIPCR (*(vuint8 *)(&__IPSBAR[0x290]))
-#define MCF_UART2_UACR (*(vuint8 *)(&__IPSBAR[0x290]))
-#define MCF_UART2_UIMR (*(vuint8 *)(&__IPSBAR[0x294]))
-#define MCF_UART2_UISR (*(vuint8 *)(&__IPSBAR[0x294]))
-#define MCF_UART2_UBG1 (*(vuint8 *)(&__IPSBAR[0x298]))
-#define MCF_UART2_UBG2 (*(vuint8 *)(&__IPSBAR[0x29C]))
-#define MCF_UART2_UIP (*(vuint8 *)(&__IPSBAR[0x2B4]))
-#define MCF_UART2_UOP1 (*(vuint8 *)(&__IPSBAR[0x2B8]))
-#define MCF_UART2_UOP0 (*(vuint8 *)(&__IPSBAR[0x2BC]))
-
-#define MCF_UART_UMR(x) (*(vuint8 *)(&__IPSBAR[0x200 + ((x)*0x40)]))
-#define MCF_UART_USR(x) (*(vuint8 *)(&__IPSBAR[0x204 + ((x)*0x40)]))
-#define MCF_UART_UCSR(x) (*(vuint8 *)(&__IPSBAR[0x204 + ((x)*0x40)]))
-#define MCF_UART_UCR(x) (*(vuint8 *)(&__IPSBAR[0x208 + ((x)*0x40)]))
-#define MCF_UART_URB(x) (*(vuint8 *)(&__IPSBAR[0x20C + ((x)*0x40)]))
-#define MCF_UART_UTB(x) (*(vuint8 *)(&__IPSBAR[0x20C + ((x)*0x40)]))
-#define MCF_UART_UIPCR(x) (*(vuint8 *)(&__IPSBAR[0x210 + ((x)*0x40)]))
-#define MCF_UART_UACR(x) (*(vuint8 *)(&__IPSBAR[0x210 + ((x)*0x40)]))
-#define MCF_UART_UIMR(x) (*(vuint8 *)(&__IPSBAR[0x214 + ((x)*0x40)]))
-#define MCF_UART_UISR(x) (*(vuint8 *)(&__IPSBAR[0x214 + ((x)*0x40)]))
-#define MCF_UART_UBG1(x) (*(vuint8 *)(&__IPSBAR[0x218 + ((x)*0x40)]))
-#define MCF_UART_UBG2(x) (*(vuint8 *)(&__IPSBAR[0x21C + ((x)*0x40)]))
-#define MCF_UART_UIP(x) (*(vuint8 *)(&__IPSBAR[0x234 + ((x)*0x40)]))
-#define MCF_UART_UOP1(x) (*(vuint8 *)(&__IPSBAR[0x238 + ((x)*0x40)]))
-#define MCF_UART_UOP0(x) (*(vuint8 *)(&__IPSBAR[0x23C + ((x)*0x40)]))
-
-/* Bit definitions and macros for MCF_UART_UMR */
-#define MCF_UART_UMR_BC(x) (((x)&0x3)<<0)
-#define MCF_UART_UMR_BC_5 (0)
-#define MCF_UART_UMR_BC_6 (0x1)
-#define MCF_UART_UMR_BC_7 (0x2)
-#define MCF_UART_UMR_BC_8 (0x3)
-#define MCF_UART_UMR_PT (0x4)
-#define MCF_UART_UMR_PM(x) (((x)&0x3)<<0x3)
-#define MCF_UART_UMR_ERR (0x20)
-#define MCF_UART_UMR_RXIRQ (0x40)
-#define MCF_UART_UMR_RXRTS (0x80)
-#define MCF_UART_UMR_PM_MULTI_ADDR (0x1C)
-#define MCF_UART_UMR_PM_MULTI_DATA (0x18)
-#define MCF_UART_UMR_PM_NONE (0x10)
-#define MCF_UART_UMR_PM_FORCE_HI (0xC)
-#define MCF_UART_UMR_PM_FORCE_LO (0x8)
-#define MCF_UART_UMR_PM_ODD (0x4)
-#define MCF_UART_UMR_PM_EVEN (0)
-#define MCF_UART_UMR_SB(x) (((x)&0xF)<<0)
-#define MCF_UART_UMR_SB_STOP_BITS_1 (0x7)
-#define MCF_UART_UMR_SB_STOP_BITS_15 (0x8)
-#define MCF_UART_UMR_SB_STOP_BITS_2 (0xF)
-#define MCF_UART_UMR_TXCTS (0x10)
-#define MCF_UART_UMR_TXRTS (0x20)
-#define MCF_UART_UMR_CM(x) (((x)&0x3)<<0x6)
-#define MCF_UART_UMR_CM_NORMAL (0)
-#define MCF_UART_UMR_CM_ECHO (0x40)
-#define MCF_UART_UMR_CM_LOCAL_LOOP (0x80)
-#define MCF_UART_UMR_CM_REMOTE_LOOP (0xC0)
-
-/* Bit definitions and macros for MCF_UART_USR */
-#define MCF_UART_USR_RXRDY (0x1)
-#define MCF_UART_USR_FFULL (0x2)
-#define MCF_UART_USR_TXRDY (0x4)
-#define MCF_UART_USR_TXEMP (0x8)
-#define MCF_UART_USR_OE (0x10)
-#define MCF_UART_USR_PE (0x20)
-#define MCF_UART_USR_FE (0x40)
-#define MCF_UART_USR_RB (0x80)
-
-/* Bit definitions and macros for MCF_UART_UCSR */
-#define MCF_UART_UCSR_TCS(x) (((x)&0xF)<<0)
-#define MCF_UART_UCSR_TCS_SYS_CLK (0xD)
-#define MCF_UART_UCSR_TCS_CTM16 (0xE)
-#define MCF_UART_UCSR_TCS_CTM (0xF)
-#define MCF_UART_UCSR_RCS(x) (((x)&0xF)<<0x4)
-#define MCF_UART_UCSR_RCS_SYS_CLK (0xD0)
-#define MCF_UART_UCSR_RCS_CTM16 (0xE0)
-#define MCF_UART_UCSR_RCS_CTM (0xF0)
-
-/* Bit definitions and macros for MCF_UART_UCR */
-#define MCF_UART_UCR_RC(x) (((x)&0x3)<<0)
-#define MCF_UART_UCR_RX_ENABLED (0x1)
-#define MCF_UART_UCR_RX_DISABLED (0x2)
-#define MCF_UART_UCR_TC(x) (((x)&0x3)<<0x2)
-#define MCF_UART_UCR_TX_ENABLED (0x4)
-#define MCF_UART_UCR_TX_DISABLED (0x8)
-#define MCF_UART_UCR_MISC(x) (((x)&0x7)<<0x4)
-#define MCF_UART_UCR_NONE (0)
-#define MCF_UART_UCR_RESET_MR (0x10)
-#define MCF_UART_UCR_RESET_RX (0x20)
-#define MCF_UART_UCR_RESET_TX (0x30)
-#define MCF_UART_UCR_RESET_ERROR (0x40)
-#define MCF_UART_UCR_RESET_BKCHGINT (0x50)
-#define MCF_UART_UCR_START_BREAK (0x60)
-#define MCF_UART_UCR_STOP_BREAK (0x70)
-
-/* Bit definitions and macros for MCF_UART_URB */
-#define MCF_UART_URB_RB(x) (((x)&0xFF)<<0)
-
-/* Bit definitions and macros for MCF_UART_UTB */
-#define MCF_UART_UTB_TB(x) (((x)&0xFF)<<0)
-
-/* Bit definitions and macros for MCF_UART_UIPCR */
-#define MCF_UART_UIPCR_CTS (0x1)
-#define MCF_UART_UIPCR_COS (0x10)
-
-/* Bit definitions and macros for MCF_UART_UACR */
-#define MCF_UART_UACR_IEC (0x1)
-
-/* Bit definitions and macros for MCF_UART_UIMR */
-#define MCF_UART_UIMR_TXRDY (0x1)
-#define MCF_UART_UIMR_FFULL_RXRDY (0x2)
-#define MCF_UART_UIMR_DB (0x4)
-#define MCF_UART_UIMR_COS (0x80)
-
-/* Bit definitions and macros for MCF_UART_UISR */
-#define MCF_UART_UISR_TXRDY (0x1)
-#define MCF_UART_UISR_FFULL_RXRDY (0x2)
-#define MCF_UART_UISR_DB (0x4)
-#define MCF_UART_UISR_COS (0x80)
-
-/* Bit definitions and macros for MCF_UART_UBG1 */
-#define MCF_UART_UBG1_Divider_MSB(x) (((x)&0xFF)<<0)
-
-/* Bit definitions and macros for MCF_UART_UBG2 */
-#define MCF_UART_UBG2_Divider_LSB(x) (((x)&0xFF)<<0)
-
-/* Bit definitions and macros for MCF_UART_UIP */
-#define MCF_UART_UIP_CTS (0x1)
-
-/* Bit definitions and macros for MCF_UART_UOP1 */
-#define MCF_UART_UOP1_RTS (0x1)
-
-/* Bit definitions and macros for MCF_UART_UOP0 */
-#define MCF_UART_UOP0_RTS (0x1)
-
-
-#endif /* __MCF5282_UART_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_WTM.h b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_WTM.h
deleted file mode 100644
index e042b32ee..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_WTM.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Coldfire C Header File
- * Copyright Freescale Semiconductor Inc
- * All rights reserved.
- *
- * 2007/03/19 Revision: 0.9
- */
-
-#ifndef __MCF5282_WTM_H__
-#define __MCF5282_WTM_H__
-
-
-/*********************************************************************
-*
-* Watchdog Timer Module (WTM)
-*
-*********************************************************************/
-
-/* Register read/write macros */
-#define MCF_WTM_WCR (*(vuint16*)(&__IPSBAR[0x140000]))
-#define MCF_WTM_WMR (*(vuint16*)(&__IPSBAR[0x140002]))
-#define MCF_WTM_WCNTR (*(vuint16*)(&__IPSBAR[0x140004]))
-#define MCF_WTM_WSR (*(vuint16*)(&__IPSBAR[0x140006]))
-
-
-/* Bit definitions and macros for MCF_WTM_WCR */
-#define MCF_WTM_WCR_EN (0x1)
-#define MCF_WTM_WCR_HALTED (0x2)
-#define MCF_WTM_WCR_DOZE (0x4)
-#define MCF_WTM_WCR_WAIT (0x8)
-
-/* Bit definitions and macros for MCF_WTM_WMR */
-#define MCF_WTM_WMR_WM(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_WTM_WCNTR */
-#define MCF_WTM_WCNTR_WC(x) (((x)&0xFFFF)<<0)
-
-/* Bit definitions and macros for MCF_WTM_WSR */
-#define MCF_WTM_WSR_WS(x) (((x)&0xFFFF)<<0)
-
-
-#endif /* __MCF5282_WTM_H__ */
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/Makefile b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/Makefile
deleted file mode 100644
index 4abb17f93..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/Makefile
+++ /dev/null
@@ -1,142 +0,0 @@
-RM := rm -rf
-
-# Set the optimisation level - this should be set to 0, 1, 2, 3 or s (s for size).
-OPTIM=s
-
-###############################################################################
-# List the directories that contain files to be built.
-###############################################################################
-
-# These two directories contain the FreeRTOS.org kernel source files.
-FREERTOS_SOURCE_DIR=./../../../Source
-PORT_SOURCE_DIR=./../../../Source/portable/GCC/ColdFire_V2
-
-# This directory contains the standard demo files that get included in every
-# FreeRTOS.org demo. They define tasks that demonstrate the API usage and
-# test the FreeRTOS.org port.
-COMMON_DEMO_SOURCE_DIR=./../../Common/Minimal
-
-# The lwIP stack source files.
-LWIP_ROOT_DIR=./../../Common/ethernet/lwIP_130
-
-VPATH= $(FREERTOS_SOURCE_DIR) : \
- $(PORT_SOURCE_DIR) : \
- $(COMMON_DEMO_SOURCE_DIR) : \
- $(FREERTOS_SOURCE_DIR)/portable/MemMang : \
- . : \
- ./ParTest : \
- ./serial
-
-
-###############################################################################
-# Define a few constants to be used during the build.
-###############################################################################
-
-OUTPUT_DIR=./bin
-CPU=528x
-LINKER_SCRIPT=m5282evb-dram_code-rambar_data-hosted.ld
-OUTPUT_FILENAME=RTOSDemo.elf
-CC=m68k-elf-gcc
-AS=m68K-elf-as
-
-
-###############################################################################
-# List the files to include in the build. These files will be located from the
-# VPATH defined above.
-###############################################################################
-
-# The FreeRTOS.org source files.
-FreeRTOS_OBJS= $(OUTPUT_DIR)/portasm.o \
- $(OUTPUT_DIR)/port.o \
- $(OUTPUT_DIR)/list.o \
- $(OUTPUT_DIR)/tasks.o \
- $(OUTPUT_DIR)/queue.o \
- $(OUTPUT_DIR)/heap_2.o
-
-# The demo app source files.
-Demo_OBJS= $(OUTPUT_DIR)/main.o \
- $(OUTPUT_DIR)/serial.o \
- $(OUTPUT_DIR)/comtest.o \
- $(OUTPUT_DIR)/flash.o \
- $(OUTPUT_DIR)/ParTest.o \
- $(OUTPUT_DIR)/BlockQ.o \
- $(OUTPUT_DIR)/death.o \
- $(OUTPUT_DIR)/integer.o \
- $(OUTPUT_DIR)/PollQ.o \
- $(OUTPUT_DIR)/semtest.o \
- $(OUTPUT_DIR)/GenQTest.o \
- $(OUTPUT_DIR)/QPeek.o \
- $(OUTPUT_DIR)/recmutex.o \
- $(OUTPUT_DIR)/IntQueueTimer.o \
- $(OUTPUT_DIR)/IntQueue.o \
- $(OUTPUT_DIR)/FreeRTOS_Tick_Setup.o
-
-OBJS = $(FreeRTOS_OBJS) $(Demo_OBJS)
-
-C_DEPS = $(OBJS:.o=.d)
-
-INCLUDE_PATHS= -I"$(FREERTOS_SOURCE_DIR)/include" \
- -I"include" \
- -I"$(COMMON_DEMO_SOURCE_DIR)/../include" \
- -I"$(PORT_SOURCE_DIR)" \
- -I./MCF5282 \
- -I.
-
-CFLAGS= $(INCLUDE_PATHS) \
- -D COLDFIRE_V2_GCC \
- -O$(OPTIM) \
- -fno-strict-aliasing \
- -g3 \
- -Wall \
- -Wextra \
- -c \
- -ffunction-sections \
- -fdata-sections \
- -fmessage-length=0 \
- -funsigned-char \
- -Wextra \
- -mcpu=$(CPU) \
- -MMD \
- -MP \
- -MF"$(@:%.o=%.d)" \
- -MT"$(@:%.o=%.d)"
-
-ASFLAGS= -m528x \
- -g3 \
- --register-prefix-optional \
- --bitwise-or
-
-LIBS=
-
-# Add inputs and outputs from these tool invocations to the build variables
-
-# All Target
-all: $(OUTPUT_DIR)/$(OUTPUT_FILENAME)
-
-# Tool invocations
-$(OUTPUT_DIR)/$(OUTPUT_FILENAME): $(OBJS)
- $(CC) -nostartfiles --gc-sections -Xlinker -Map=$(OUTPUT_DIR)/output.map -mcpu=$(CPU) -T $(LINKER_SCRIPT) -o"$(OUTPUT_DIR)/$(OUTPUT_FILENAME)" $(OBJS) $(USER_OBJS) $(LIBS)
-
-$(OUTPUT_DIR)/%.o: %.c Makefile
- $(CC) $(CFLAGS) -o"$@" "$<"
-
-$(OUTPUT_DIR)/%.o: %.S
- $(AS) $(ASFLAGS) -o"$@" "$<"
-
-# Other Targets
-clean:
- -$(RM) $(OBJS) $(C_DEPS) $(EXECUTABLES) $(OUTPUT_DIR)/$(OUTPUT_FILENAME)
- -@echo ' '
-
-#
-# The rule to create the target directory
-#
-$(OUTPUT_DIR):
- @mkdir $(OUTPUT_DIR)
-
-
-.PHONY: all clean dependents
-.SECONDARY: post-build
-
--include $(wildcard $(OUTPUT_DIR)/*.d) __dummy__
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c
deleted file mode 100644
index 61fb43f90..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c
+++ /dev/null
@@ -1,174 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-/*
- Changes from V2.5.2
-
- + All LED's are turned off to start.
-*/
-
-
-#include "FreeRTOS.h"
-#include "task.h"
-#include "partest.h"
-
-#define partstNUM_LEDs 4
-
-#define LED0_POS 0x01
-#define LED1_POS 0x04
-#define LED2_POS 0x01
-#define LED3_POS 0x04
-
-static const unsigned char ucLEDDefinitions[ partstNUM_LEDs ] = { LED0_POS, LED1_POS, LED2_POS, LED3_POS };
-
-/*-----------------------------------------------------------
- * Simple parallel port IO routines.
- *-----------------------------------------------------------*/
-
-void vParTestInitialise( void )
-{
- /* Set the LEDs to outputs. */
- MCF_GPIO_DDRTD |= ( LED0_POS | LED1_POS );
- MCF_GPIO_DDRTC |= ( LED2_POS | LED3_POS );
-
- /* Turn LEDs off. */
- MCF_GPIO_SETTC |= ( LED0_POS | LED1_POS );
- MCF_GPIO_SETTD |= ( LED2_POS | LED3_POS );
-}
-/*-----------------------------------------------------------*/
-
-void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue )
-{
- if( uxLED < 2 )
- {
- if( xValue != 0 )
- {
- taskENTER_CRITICAL();
- MCF_GPIO_PORTTD |= ucLEDDefinitions[ uxLED ];
- taskEXIT_CRITICAL();
- }
- else
- {
- taskENTER_CRITICAL();
- MCF_GPIO_PORTTD &= ~ucLEDDefinitions[ uxLED ];
- taskEXIT_CRITICAL();
- }
- }
- else if( uxLED < 4 )
- {
- if( xValue != 0 )
- {
- taskENTER_CRITICAL();
- MCF_GPIO_PORTTC |= ucLEDDefinitions[ uxLED ];
- taskEXIT_CRITICAL();
- }
- else
- {
- taskENTER_CRITICAL();
- MCF_GPIO_PORTTC &= ~ucLEDDefinitions[ uxLED ];
- taskEXIT_CRITICAL();
- }
- }
-}
-/*-----------------------------------------------------------*/
-
-void vParTestToggleLED( unsigned portBASE_TYPE uxLED )
-{
- if( uxLED < 2 )
- {
- taskENTER_CRITICAL();
- {
- if( ( MCF_GPIO_PORTTD & ucLEDDefinitions[ uxLED ] ) == ( unsigned char ) 0 )
- {
- MCF_GPIO_PORTTD |= ucLEDDefinitions[ uxLED ];
- }
- else
- {
- MCF_GPIO_PORTTD &= ~ucLEDDefinitions[ uxLED ];
- }
- }
- taskEXIT_CRITICAL();
- }
- else if( uxLED < 4 )
- {
- taskENTER_CRITICAL();
- {
- if( ( MCF_GPIO_PORTTC & ucLEDDefinitions[ uxLED ] ) == ( unsigned char ) 0 )
- {
- MCF_GPIO_PORTTC |= ucLEDDefinitions[ uxLED ];
- }
- else
- {
- MCF_GPIO_PORTTC &= ~ucLEDDefinitions[ uxLED ];
- }
- }
- taskEXIT_CRITICAL();
- }
-}
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-dram_code-rambar_data-hosted.ld b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-dram_code-rambar_data-hosted.ld
deleted file mode 100644
index fd5d9f1b2..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-dram_code-rambar_data-hosted.ld
+++ /dev/null
@@ -1,279 +0,0 @@
-/* Linker script for m5282evb
- *
- * Version:Sourcery G++ Lite 4.2-125
- * BugURL:https://support.codesourcery.com/GNUToolchain/
- *
- * Copyright 2007, 2008 CodeSourcery.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply. */
-
-OUTPUT_ARCH(m68k)
-ENTRY(_start)
-SEARCH_DIR(.)
-GROUP(-lgcc -lc -lcs3 -lcs3hosted -lcs3coldfire)
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x00000000, LENGTH = 16M
- rom (rx) : ORIGIN = 0xFFE00000, LENGTH = 2M
- rombar (rx) : ORIGIN = 0xf0000000, LENGTH = 512K
- rambar (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
- ipsbar (rw) : ORIGIN = 0x40000000, LENGTH = 0x20000000
-}
-
-/* These force the linker to search for particular symbols from
- * the start of the link process and thus ensure the user's
- * overrides are picked up
- */
-EXTERN(__cs3_reset_m5282evb)
-INCLUDE coldfire-names.inc
-EXTERN(__cs3_interrupt_vector_coldfire)
-EXTERN(__cs3_start_c main __cs3_stack __cs3_heap_end)
-EXTERN(_start)
-/* force exit to be picked up in a hosted or os environment */
-EXTERN(exit atexit)
-
-PROVIDE(__cs3_heap_start = _end);
-PROVIDE(__cs3_heap_end = __cs3_region_start_ram + __cs3_region_size_ram);
-PROVIDE(__cs3_region_num = (__cs3_regions_end - __cs3_regions) / 20);
-PROVIDE(__cs3_stack = __cs3_region_start_ram + __cs3_region_size_ram);
-
-SECTIONS
-{
-
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- __cs3_region_start_ram = .;
- *(.cs3.region-head.ram)
- ASSERT (. == __cs3_region_start_ram, ".cs3.region-head.ram not permitted");
- __cs3_interrupt_vector = __cs3_interrupt_vector_coldfire;
- *(.cs3.interrupt_vector)
- /* Make sure we pulled in an interrupt vector. */
- ASSERT (. != __cs3_interrupt_vector_coldfire, "No interrupt vector");
-
- PROVIDE(__cs3_reset_m5282evb = _start);
- __cs3_reset = __cs3_reset_m5282evb;
- *(.cs3.reset)
-
- *(.text .text.* .gnu.linkonce.t.*)
-
- . = ALIGN(0x4);
- KEEP (*crtbegin.o(.jcr))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .jcr))
- KEEP (*crtend.o(.jcr))
-
- . = ALIGN(0x4);
- *(.gcc_except_table .gcc_except_table.*)
- } >ram
- .eh_frame_hdr : ALIGN (4)
- {
- KEEP (*(.eh_frame_hdr))
- } >ram
- .eh_frame : ALIGN (4)
- {
- KEEP (*(.eh_frame))
- } >ram
- .rodata : ALIGN (4)
- {
- *(.rodata .rodata.* .gnu.linkonce.r.*)
-
- . = ALIGN(4);
- _init = .;
- LONG (0x4e560000) /* linkw %fp,#0 */
- KEEP(*(.init))
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- . = ALIGN(4);
- __preinit_array_start = .;
- KEEP (*(.preinit_array))
- __preinit_array_end = .;
-
- . = ALIGN(4);
- __init_array_start = .;
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- __init_array_end = .;
-
- . = ALIGN(4);
- _fini = .;
- LONG (0x4e560000) /* linkw %fp,#0 */
- KEEP(*(.fini))
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- . = ALIGN(4);
- __fini_array_start = .;
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- __fini_array_end = .;
-
- . = ALIGN(0x4);
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
-
- . = ALIGN(0x4);
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- *(.lit)
-
- . = ALIGN(4);
- __cs3_regions = .;
- LONG (0)
- LONG (__cs3_region_init_ram)
- LONG (__cs3_region_start_ram)
- LONG (__cs3_region_init_size_ram)
- LONG (__cs3_region_zero_size_ram)
- LONG (0)
- LONG (__cs3_region_init_rombar)
- LONG (__cs3_region_start_rombar)
- LONG (__cs3_region_init_size_rombar)
- LONG (__cs3_region_zero_size_rombar)
- LONG (0)
- LONG (__cs3_region_init_rambar)
- LONG (__cs3_region_start_rambar)
- LONG (__cs3_region_init_size_rambar)
- LONG (__cs3_region_zero_size_rambar)
- __cs3_regions_end = .;
-
- . = ALIGN (8);
- . = ALIGN (8);
- _etext = .;
- } >ram
-
- .cs3.rom : ALIGN (8)
- {
- __cs3_region_start_rom = .;
- *(.cs3.region-head.rom)
- *(.rom)
- . = ALIGN (8);
- } >rom
- .cs3.rom.bss :
- {
- *(.rom.b)
- . = ALIGN (8);
- } >rom
- /* __cs3_region_end_rom is deprecated */
- __cs3_region_end_rom = __cs3_region_start_rom + LENGTH(rom);
- __cs3_region_size_rom = LENGTH(rom);
- __cs3_region_init_rom = LOADADDR (.cs3.rom);
- __cs3_region_init_size_rom = LOADADDR (.cs3.rom.bss) - LOADADDR (.cs3.rom);
- __cs3_region_zero_size_rom = SIZEOF(.cs3.rom.bss);
-
- .cs3.rombar : ALIGN (8)
- {
- __cs3_region_start_rombar = .;
- *(.cs3.region-head.rombar)
- *(.rombar)
- . = ALIGN (8);
- } >rombar
- .cs3.rombar.bss :
- {
- *(.rombar.b)
- . = ALIGN (8);
- } >rombar
- /* __cs3_region_end_rombar is deprecated */
- __cs3_region_end_rombar = __cs3_region_start_rombar + LENGTH(rombar);
- __cs3_region_size_rombar = LENGTH(rombar);
- __cs3_region_init_rombar = LOADADDR (.cs3.rombar);
- __cs3_region_init_size_rombar = LOADADDR (.cs3.rombar.bss) - LOADADDR (.cs3.rombar);
- __cs3_region_zero_size_rombar = SIZEOF(.cs3.rombar.bss);
-
- .cs3.rambar : ALIGN (8)
- {
- __cs3_region_start_rambar = .;
- *(.cs3.region-head.rambar)
- *(.rambar)
- . = ALIGN (8);
- } >rambar
- .cs3.rambar.bss :
- {
- *(.rambar.b)
- . = ALIGN (8);
- } >rambar
- /* __cs3_region_end_rambar is deprecated */
- __cs3_region_end_rambar = __cs3_region_start_rambar + LENGTH(rambar);
- __cs3_region_size_rambar = LENGTH(rambar);
- __cs3_region_init_rambar = LOADADDR (.cs3.rambar);
- __cs3_region_init_size_rambar = LOADADDR (.cs3.rambar.bss) - LOADADDR (.cs3.rambar);
- __cs3_region_zero_size_rambar = SIZEOF(.cs3.rambar.bss);
-
- .cs3.ipsbar :
- {
- __cs3_region_start_ipsbar = .;
- *(.cs3.region-head.ipsbar)
- . = ALIGN (8);
- } >ipsbar
- /* __cs3_region_end_ipsbar is deprecated */
- __cs3_region_end_ipsbar = __cs3_region_start_ipsbar + LENGTH(ipsbar);
- __cs3_region_size_ipsbar = LENGTH(ipsbar);
-
- .data : ALIGN (8)
- {
-
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.* .gnu.linkonce.d.*)
- . = ALIGN (8);
- *(.ram)
- _edata = .;
- } >rambar
- .bss :
- {
- *(.shbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN (8);
- *(.ram.b)
- _end = .;
- __end = .;
- } >rambar
- /* __cs3_region_end_ram is deprecated */
- __cs3_region_end_ram = __cs3_region_start_ram + LENGTH(ram);
- __cs3_region_size_ram = LENGTH(ram);
- __cs3_region_init_ram = LOADADDR (.text);
- __cs3_region_init_size_ram = _edata - ADDR (.text);
- __cs3_region_zero_size_ram = _end - _edata;
-
- .stab 0 (NOLOAD) : { *(.stab) }
- .stabstr 0 (NOLOAD) : { *(.stabstr) }
- /* DWARF debug sections.
- * Symbols in the DWARF debugging sections are relative to the beginning
- * of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-ram.ld b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-ram.ld
deleted file mode 100644
index 48174cf4c..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-ram.ld
+++ /dev/null
@@ -1,277 +0,0 @@
-/* Linker script for m5282evb
- *
- * Version:Sourcery G++ Lite 4.2-125
- * BugURL:https://support.codesourcery.com/GNUToolchain/
- *
- * Copyright 2007, 2008 CodeSourcery.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply. */
-
-OUTPUT_ARCH(m68k)
-ENTRY(_start)
-SEARCH_DIR(.)
-GROUP(-lgcc -lc -lcs3 -lcs3unhosted -lcs3coldfire)
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x00000000, LENGTH = 16M
- rom (rx) : ORIGIN = 0xFFE00000, LENGTH = 2M
- rombar (rx) : ORIGIN = 0xf0000000, LENGTH = 512K
- rambar (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
- ipsbar (rw) : ORIGIN = 0x40000000, LENGTH = 0x20000000
-}
-
-/* These force the linker to search for particular symbols from
- * the start of the link process and thus ensure the user's
- * overrides are picked up
- */
-EXTERN(__cs3_reset_m5282evb)
-INCLUDE coldfire-names.inc
-EXTERN(__cs3_interrupt_vector_coldfire)
-EXTERN(__cs3_start_c main __cs3_stack __cs3_heap_end)
-EXTERN(_start)
-
-PROVIDE(__cs3_heap_start = _end);
-PROVIDE(__cs3_heap_end = __cs3_region_start_ram + __cs3_region_size_ram);
-PROVIDE(__cs3_region_num = (__cs3_regions_end - __cs3_regions) / 20);
-PROVIDE(__cs3_stack = __cs3_region_start_ram + __cs3_region_size_ram);
-
-SECTIONS
-{
-
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- __cs3_region_start_ram = .;
- *(.cs3.region-head.ram)
- ASSERT (. == __cs3_region_start_ram, ".cs3.region-head.ram not permitted");
- __cs3_interrupt_vector = __cs3_interrupt_vector_coldfire;
- *(.cs3.interrupt_vector)
- /* Make sure we pulled in an interrupt vector. */
- ASSERT (. != __cs3_interrupt_vector_coldfire, "No interrupt vector");
-
- PROVIDE(__cs3_reset_m5282evb = _start);
- __cs3_reset = __cs3_reset_m5282evb;
- *(.cs3.reset)
-
- *(.text .text.* .gnu.linkonce.t.*)
-
- . = ALIGN(0x4);
- KEEP (*crtbegin.o(.jcr))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .jcr))
- KEEP (*crtend.o(.jcr))
-
- . = ALIGN(0x4);
- *(.gcc_except_table .gcc_except_table.*)
- } >ram
- .eh_frame_hdr : ALIGN (4)
- {
- KEEP (*(.eh_frame_hdr))
- } >ram
- .eh_frame : ALIGN (4)
- {
- KEEP (*(.eh_frame))
- } >ram
- .rodata : ALIGN (4)
- {
- *(.rodata .rodata.* .gnu.linkonce.r.*)
-
- . = ALIGN(4);
- _init = .;
- LONG (0x4e560000) /* linkw %fp,#0 */
- KEEP(*(.init))
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- . = ALIGN(4);
- __preinit_array_start = .;
- KEEP (*(.preinit_array))
- __preinit_array_end = .;
-
- . = ALIGN(4);
- __init_array_start = .;
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- __init_array_end = .;
-
- . = ALIGN(4);
- _fini = .;
- LONG (0x4e560000) /* linkw %fp,#0 */
- KEEP(*(.fini))
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- . = ALIGN(4);
- __fini_array_start = .;
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- __fini_array_end = .;
-
- . = ALIGN(0x4);
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
-
- . = ALIGN(0x4);
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- *(.lit)
-
- . = ALIGN(4);
- __cs3_regions = .;
- LONG (0)
- LONG (__cs3_region_init_ram)
- LONG (__cs3_region_start_ram)
- LONG (__cs3_region_init_size_ram)
- LONG (__cs3_region_zero_size_ram)
- LONG (0)
- LONG (__cs3_region_init_rombar)
- LONG (__cs3_region_start_rombar)
- LONG (__cs3_region_init_size_rombar)
- LONG (__cs3_region_zero_size_rombar)
- LONG (0)
- LONG (__cs3_region_init_rambar)
- LONG (__cs3_region_start_rambar)
- LONG (__cs3_region_init_size_rambar)
- LONG (__cs3_region_zero_size_rambar)
- __cs3_regions_end = .;
-
- . = ALIGN (8);
- . = ALIGN (8);
- _etext = .;
- } >ram
-
- .cs3.rom : ALIGN (8)
- {
- __cs3_region_start_rom = .;
- *(.cs3.region-head.rom)
- *(.rom)
- . = ALIGN (8);
- } >rom
- .cs3.rom.bss :
- {
- *(.rom.b)
- . = ALIGN (8);
- } >rom
- /* __cs3_region_end_rom is deprecated */
- __cs3_region_end_rom = __cs3_region_start_rom + LENGTH(rom);
- __cs3_region_size_rom = LENGTH(rom);
- __cs3_region_init_rom = LOADADDR (.cs3.rom);
- __cs3_region_init_size_rom = LOADADDR (.cs3.rom.bss) - LOADADDR (.cs3.rom);
- __cs3_region_zero_size_rom = SIZEOF(.cs3.rom.bss);
-
- .cs3.rombar : ALIGN (8)
- {
- __cs3_region_start_rombar = .;
- *(.cs3.region-head.rombar)
- *(.rombar)
- . = ALIGN (8);
- } >rombar
- .cs3.rombar.bss :
- {
- *(.rombar.b)
- . = ALIGN (8);
- } >rombar
- /* __cs3_region_end_rombar is deprecated */
- __cs3_region_end_rombar = __cs3_region_start_rombar + LENGTH(rombar);
- __cs3_region_size_rombar = LENGTH(rombar);
- __cs3_region_init_rombar = LOADADDR (.cs3.rombar);
- __cs3_region_init_size_rombar = LOADADDR (.cs3.rombar.bss) - LOADADDR (.cs3.rombar);
- __cs3_region_zero_size_rombar = SIZEOF(.cs3.rombar.bss);
-
- .cs3.rambar : ALIGN (8)
- {
- __cs3_region_start_rambar = .;
- *(.cs3.region-head.rambar)
- *(.rambar)
- . = ALIGN (8);
- } >rambar
- .cs3.rambar.bss :
- {
- *(.rambar.b)
- . = ALIGN (8);
- } >rambar
- /* __cs3_region_end_rambar is deprecated */
- __cs3_region_end_rambar = __cs3_region_start_rambar + LENGTH(rambar);
- __cs3_region_size_rambar = LENGTH(rambar);
- __cs3_region_init_rambar = LOADADDR (.cs3.rambar);
- __cs3_region_init_size_rambar = LOADADDR (.cs3.rambar.bss) - LOADADDR (.cs3.rambar);
- __cs3_region_zero_size_rambar = SIZEOF(.cs3.rambar.bss);
-
- .cs3.ipsbar :
- {
- __cs3_region_start_ipsbar = .;
- *(.cs3.region-head.ipsbar)
- . = ALIGN (8);
- } >ipsbar
- /* __cs3_region_end_ipsbar is deprecated */
- __cs3_region_end_ipsbar = __cs3_region_start_ipsbar + LENGTH(ipsbar);
- __cs3_region_size_ipsbar = LENGTH(ipsbar);
-
- .data : ALIGN (8)
- {
-
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.* .gnu.linkonce.d.*)
- . = ALIGN (8);
- *(.ram)
- _edata = .;
- } >ram
- .bss :
- {
- *(.shbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN (8);
- *(.ram.b)
- _end = .;
- __end = .;
- } >ram
- /* __cs3_region_end_ram is deprecated */
- __cs3_region_end_ram = __cs3_region_start_ram + LENGTH(ram);
- __cs3_region_size_ram = LENGTH(ram);
- __cs3_region_init_ram = LOADADDR (.text);
- __cs3_region_init_size_ram = _edata - ADDR (.text);
- __cs3_region_zero_size_ram = _end - _edata;
-
- .stab 0 (NOLOAD) : { *(.stab) }
- .stabstr 0 (NOLOAD) : { *(.stabstr) }
- /* DWARF debug sections.
- * Symbols in the DWARF debugging sections are relative to the beginning
- * of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c
deleted file mode 100644
index fde83654b..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c
+++ /dev/null
@@ -1,488 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-
-/*
- * Creates all the demo application tasks, then starts the scheduler. The WEB
- * documentation provides more details of the standard demo application tasks.
- * In addition to the standard demo tasks, the following tasks and tests are
- * defined and/or created within this file:
- *
- * "Check" task - This only executes every five seconds but has a high priority
- * to ensure it gets processor time. Its main function is to check that all the
- * standard demo tasks are still operational. While no errors have been
- * discovered the check task will toggle an LED every 5 seconds - the toggle
- * rate increasing to 500ms being a visual indication that at least one task has
- * reported unexpected behaviour.
- *
- * "Reg test" tasks - These fill the registers with known values, then check
- * that each register still contains its expected value. Each task uses
- * different values. The tasks run with very low priority so get preempted very
- * frequently. A register containing an unexpected value is indicative of an
- * error in the context switching mechanism.
- *
- */
-
-/* Standard includes. */
-#include
-
-/* Scheduler includes. */
-#include "FreeRTOS.h"
-#include "task.h"
-#include "queue.h"
-#include "semphr.h"
-
-/* Demo app includes. */
-#include "BlockQ.h"
-#include "death.h"
-#include "integer.h"
-#include "flash.h"
-#include "partest.h"
-#include "semtest.h"
-#include "PollQ.h"
-#include "GenQTest.h"
-#include "QPeek.h"
-#include "recmutex.h"
-#include "IntQueue.h"
-#include "comtest2.h"
-
-/*-----------------------------------------------------------*/
-
-/* The time between cycles of the 'check' functionality - as described at the
-top of this file. */
-#define mainNO_ERROR_PERIOD ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )
-
-/* The rate at which the LED controlled by the 'check' task will flash should an
-error have been detected. */
-#define mainERROR_PERIOD ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
-
-/* The LED controlled by the 'check' task. */
-#define mainCHECK_LED ( 3 )
-
-/* ComTest constants - there is no free LED for the comtest tasks. */
-#define mainCOM_TEST_BAUD_RATE ( ( unsigned long ) 19200 )
-#define mainCOM_TEST_LED ( 5 )
-
-/* Task priorities. */
-#define mainCOM_TEST_PRIORITY ( tskIDLE_PRIORITY + 2 )
-#define mainQUEUE_POLL_PRIORITY ( tskIDLE_PRIORITY + 2 )
-#define mainCHECK_TASK_PRIORITY ( tskIDLE_PRIORITY + 3 )
-#define mainSEM_TEST_PRIORITY ( tskIDLE_PRIORITY + 1 )
-#define mainBLOCK_Q_PRIORITY ( tskIDLE_PRIORITY + 2 )
-#define mainCREATOR_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )
-#define mainINTEGER_TASK_PRIORITY ( tskIDLE_PRIORITY )
-#define mainGEN_QUEUE_TASK_PRIORITY ( tskIDLE_PRIORITY )
-
-/*
- * Configure the hardware for the demo.
- */
-static void prvSetupHardware( void );
-
-/*
- * Implements the 'check' task functionality as described at the top of this
- * file.
- */
-static void prvCheckTask( void *pvParameters );
-
-/*
- * Implement the 'Reg test' functionality as described at the top of this file.
- */
-static void vRegTest1Task( void *pvParameters );
-static void vRegTest2Task( void *pvParameters );
-
-/*-----------------------------------------------------------*/
-
-/* Counters used to detect errors within the reg test tasks. */
-static volatile unsigned long ulRegTest1Counter = 0x11111111, ulRegTest2Counter = 0x22222222;
-
-/*-----------------------------------------------------------*/
-
-int main( void )
-{
- /* Setup the hardware ready for this demo. */
- prvSetupHardware();
-
- /* Start the standard demo tasks. */
- vStartLEDFlashTasks( tskIDLE_PRIORITY );
- vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );
- vStartSemaphoreTasks( mainSEM_TEST_PRIORITY );
- vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY );
- vStartIntegerMathTasks( mainINTEGER_TASK_PRIORITY );
- vStartGenericQueueTasks( mainGEN_QUEUE_TASK_PRIORITY );
- vStartQueuePeekTasks();
- vStartRecursiveMutexTasks();
- vAltStartComTestTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED );
- vStartInterruptQueueTasks();
-
- /* Start the reg test tasks - defined in this file. */
- xTaskCreate( vRegTest1Task, "Reg1", configMINIMAL_STACK_SIZE, ( void * ) &ulRegTest1Counter, tskIDLE_PRIORITY, NULL );
- xTaskCreate( vRegTest2Task, "Reg2", configMINIMAL_STACK_SIZE, ( void * ) &ulRegTest2Counter, tskIDLE_PRIORITY, NULL );
-
- /* Create the check task. */
- xTaskCreate( prvCheckTask, "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );
-
- /* The suicide tasks must be created last as they need to know how many
- tasks were running prior to their creation in order to ascertain whether
- or not the correct/expected number of tasks are running at any given time. */
- vCreateSuicidalTasks( mainCREATOR_TASK_PRIORITY );
-
- /* Start the scheduler. */
- vTaskStartScheduler();
-
- /* Will only get here if there was insufficient memory to create the idle
- task. */
- for( ;; );
-}
-/*-----------------------------------------------------------*/
-
-static void prvCheckTask( void *pvParameters )
-{
-unsigned ulTicksToWait = mainNO_ERROR_PERIOD, ulError = 0, ulLastRegTest1Count = 0, ulLastRegTest2Count = 0;
-TickType_t xLastExecutionTime;
-
- ( void ) pvParameters;
-
- /* Initialise the variable used to control our iteration rate prior to
- its first use. */
- xLastExecutionTime = xTaskGetTickCount();
-
- for( ;; )
- {
- /* Wait until it is time to run the tests again. */
- vTaskDelayUntil( &xLastExecutionTime, ulTicksToWait );
-
- /* Has an error been found in any task? */
- if( xAreGenericQueueTasksStillRunning() != pdTRUE )
- {
- ulError |= 0x01UL;
- }
-
- if( xAreQueuePeekTasksStillRunning() != pdTRUE )
- {
- ulError |= 0x02UL;
- }
-
- if( xAreBlockingQueuesStillRunning() != pdTRUE )
- {
- ulError |= 0x04UL;
- }
-
- if( xAreSemaphoreTasksStillRunning() != pdTRUE )
- {
- ulError |= 0x20UL;
- }
-
- if( xArePollingQueuesStillRunning() != pdTRUE )
- {
- ulError |= 0x40UL;
- }
-
- if( xIsCreateTaskStillRunning() != pdTRUE )
- {
- ulError |= 0x80UL;
- }
-
- if( xAreIntegerMathsTaskStillRunning() != pdTRUE )
- {
- ulError |= 0x100UL;
- }
-
- if( xAreRecursiveMutexTasksStillRunning() != pdTRUE )
- {
- ulError |= 0x200UL;
- }
-
- if( xAreComTestTasksStillRunning() != pdTRUE )
- {
- ulError |= 0x400UL;
- }
-
- if( xAreIntQueueTasksStillRunning() != pdTRUE )
- {
- ulError |= 0x800UL;
- }
-
- if( ulLastRegTest1Count == ulRegTest1Counter )
- {
- ulError |= 0x1000UL;
- }
-
- if( ulLastRegTest2Count == ulRegTest2Counter )
- {
- ulError |= 0x1000UL;
- }
-
- ulLastRegTest1Count = ulRegTest1Counter;
- ulLastRegTest2Count = ulRegTest2Counter;
-
- /* If an error has been found then increase our cycle rate, and in so
- going increase the rate at which the check task LED toggles. */
- if( ulError != 0 )
- {
- ulTicksToWait = mainERROR_PERIOD;
- }
-
- /* Toggle the LED each iteration. */
- vParTestToggleLED( mainCHECK_LED );
- }
-}
-/*-----------------------------------------------------------*/
-
-void prvSetupHardware( void )
-{
-extern void mcf5xxx_wr_cacr( unsigned long );
-
- portDISABLE_INTERRUPTS();
-
- /* Enable the cache. */
- mcf5xxx_wr_cacr( MCF5XXX_CACR_CENB | MCF5XXX_CACR_CINV | MCF5XXX_CACR_DISD | MCF5XXX_CACR_CEIB | MCF5XXX_CACR_CLNF_00 );
- asm volatile( "NOP" ); /* As per errata. */
-
- /* Multiply 8Mhz reference crystal by 8 to achieve system clock of 64Mhz. */
- MCF_CLOCK_SYNCR = MCF_CLOCK_SYNCR_MFD( 2 );
-
- /* Wait for PLL to lock. */
- while( !( MCF_CLOCK_SYNSR & MCF_CLOCK_SYNSR_LOCK ) )
- {
- __asm__ volatile ( "NOP" );
- }
-
- /* Setup the port used to toggle LEDs. */
- vParTestInitialise();
-}
-/*-----------------------------------------------------------*/
-
-void vApplicationStackOverflowHook( TaskHandle_t *pxTask, signed char *pcTaskName )
-{
- /* This will get called if a stack overflow is detected during the context
- switch. Set configCHECK_FOR_STACK_OVERFLOWS to 2 to also check for stack
- problems within nested interrupts, but only do this for debug purposes as
- it will increase the context switch time. */
-
- ( void ) pxTask;
- ( void ) pcTaskName;
-
- for( ;; );
-}
-/*-----------------------------------------------------------*/
-
-static void vRegTest1Task( void *pvParameters )
-{
- /* Sanity check - did we receive the parameter expected? */
- if( pvParameters != &ulRegTest1Counter )
- {
- /* Change here so the check task can detect that an error occurred. */
- for( ;; );
- }
-
- /* Set all the registers to known values, then check that each retains its
- expected value - as described at the top of this file. If an error is
- found then the loop counter will no longer be incremented allowing the check
- task to recognise the error. */
- asm volatile ( "reg_test_1_start: \n\t"
- " moveq #1, %d0 \n\t"
- " moveq #2, %d1 \n\t"
- " moveq #3, %d2 \n\t"
- " moveq #4, %d3 \n\t"
- " moveq #5, %d4 \n\t"
- " moveq #6, %d5 \n\t"
- " moveq #7, %d6 \n\t"
- " moveq #8, %d7 \n\t"
- " move #9, %a0 \n\t"
- " move #10, %a1 \n\t"
- " move #11, %a2 \n\t"
- " move #12, %a3 \n\t"
- " move #13, %a4 \n\t"
- " move #14, %a5 \n\t"
- " move #15, %a6 \n\t"
- " \n\t"
- " cmpi.l #1, %d0 \n\t"
- " bne reg_test_1_error \n\t"
- " cmpi.l #2, %d1 \n\t"
- " bne reg_test_1_error \n\t"
- " cmpi.l #3, %d2 \n\t"
- " bne reg_test_1_error \n\t"
- " cmpi.l #4, %d3 \n\t"
- " bne reg_test_1_error \n\t"
- " cmpi.l #5, %d4 \n\t"
- " bne reg_test_1_error \n\t"
- " cmpi.l #6, %d5 \n\t"
- " bne reg_test_1_error \n\t"
- " cmpi.l #7, %d6 \n\t"
- " bne reg_test_1_error \n\t"
- " cmpi.l #8, %d7 \n\t"
- " bne reg_test_1_error \n\t"
- " move %a0, %d0 \n\t"
- " cmpi.l #9, %d0 \n\t"
- " bne reg_test_1_error \n\t"
- " move %a1, %d0 \n\t"
- " cmpi.l #10, %d0 \n\t"
- " bne reg_test_1_error \n\t"
- " move %a2, %d0 \n\t"
- " cmpi.l #11, %d0 \n\t"
- " bne reg_test_1_error \n\t"
- " move %a3, %d0 \n\t"
- " cmpi.l #12, %d0 \n\t"
- " bne reg_test_1_error \n\t"
- " move %a4, %d0 \n\t"
- " cmpi.l #13, %d0 \n\t"
- " bne reg_test_1_error \n\t"
- " move %a5, %d0 \n\t"
- " cmpi.l #14, %d0 \n\t"
- " bne reg_test_1_error \n\t"
- " move %a6, %d0 \n\t"
- " cmpi.l #15, %d0 \n\t"
- " bne reg_test_1_error \n\t"
- " movel ulRegTest1Counter, %d0 \n\t"
- " addql #1, %d0 \n\t"
- " movel %d0, ulRegTest1Counter \n\t"
- " bra reg_test_1_start \n\t"
- "reg_test_1_error: \n\t"
- " bra reg_test_1_error \n\t"
- );
-}
-/*-----------------------------------------------------------*/
-
-static void vRegTest2Task( void *pvParameters )
-{
- /* Sanity check - did we receive the parameter expected? */
- if( pvParameters != &ulRegTest2Counter )
- {
- /* Change here so the check task can detect that an error occurred. */
- for( ;; );
- }
-
- /* Set all the registers to known values, then check that each retains its
- expected value - as described at the top of this file. If an error is
- found then the loop counter will no longer be incremented allowing the check
- task to recognise the error. */
- asm volatile ( "reg_test_2_start: \n\t"
- " moveq #10, %d0 \n\t"
- " moveq #20, %d1 \n\t"
- " moveq #30, %d2 \n\t"
- " moveq #40, %d3 \n\t"
- " moveq #50, %d4 \n\t"
- " moveq #60, %d5 \n\t"
- " moveq #70, %d6 \n\t"
- " moveq #80, %d7 \n\t"
- " move #90, %a0 \n\t"
- " move #100, %a1 \n\t"
- " move #110, %a2 \n\t"
- " move #120, %a3 \n\t"
- " move #130, %a4 \n\t"
- " move #140, %a5 \n\t"
- " move #150, %a6 \n\t"
- " \n\t"
- " cmpi.l #10, %d0 \n\t"
- " bne reg_test_2_error \n\t"
- " cmpi.l #20, %d1 \n\t"
- " bne reg_test_2_error \n\t"
- " cmpi.l #30, %d2 \n\t"
- " bne reg_test_2_error \n\t"
- " cmpi.l #40, %d3 \n\t"
- " bne reg_test_2_error \n\t"
- " cmpi.l #50, %d4 \n\t"
- " bne reg_test_2_error \n\t"
- " cmpi.l #60, %d5 \n\t"
- " bne reg_test_2_error \n\t"
- " cmpi.l #70, %d6 \n\t"
- " bne reg_test_2_error \n\t"
- " cmpi.l #80, %d7 \n\t"
- " bne reg_test_2_error \n\t"
- " move %a0, %d0 \n\t"
- " cmpi.l #90, %d0 \n\t"
- " bne reg_test_2_error \n\t"
- " move %a1, %d0 \n\t"
- " cmpi.l #100, %d0 \n\t"
- " bne reg_test_2_error \n\t"
- " move %a2, %d0 \n\t"
- " cmpi.l #110, %d0 \n\t"
- " bne reg_test_2_error \n\t"
- " move %a3, %d0 \n\t"
- " cmpi.l #120, %d0 \n\t"
- " bne reg_test_2_error \n\t"
- " move %a4, %d0 \n\t"
- " cmpi.l #130, %d0 \n\t"
- " bne reg_test_2_error \n\t"
- " move %a5, %d0 \n\t"
- " cmpi.l #140, %d0 \n\t"
- " bne reg_test_2_error \n\t"
- " move %a6, %d0 \n\t"
- " cmpi.l #150, %d0 \n\t"
- " bne reg_test_2_error \n\t"
- " movel ulRegTest1Counter, %d0 \n\t"
- " addql #1, %d0 \n\t"
- " movel %d0, ulRegTest2Counter \n\t"
- " bra reg_test_2_start \n\t"
- "reg_test_2_error: \n\t"
- " bra reg_test_2_error \n\t"
- );
-}
-/*-----------------------------------------------------------*/
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/serial/serial.c b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/serial/serial.c
deleted file mode 100644
index 4e83ed595..000000000
--- a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/serial/serial.c
+++ /dev/null
@@ -1,250 +0,0 @@
-/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
- All rights reserved
-
- VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
-
- This file is part of the FreeRTOS distribution.
-
- FreeRTOS is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License (version 2) as published by the
- Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
-
- ***************************************************************************
- >>! NOTE: The modification to the GPL is included to allow you to !<<
- >>! distribute a combined work that includes FreeRTOS without being !<<
- >>! obliged to provide the source code for proprietary components !<<
- >>! outside of the FreeRTOS kernel. !<<
- ***************************************************************************
-
- FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. Full license text is available on the following
- link: http://www.freertos.org/a00114.html
-
- ***************************************************************************
- * *
- * FreeRTOS provides completely free yet professionally developed, *
- * robust, strictly quality controlled, supported, and cross *
- * platform software that is more than just the market leader, it *
- * is the industry's de facto standard. *
- * *
- * Help yourself get started quickly while simultaneously helping *
- * to support the FreeRTOS project by purchasing a FreeRTOS *
- * tutorial book, reference manual, or both: *
- * http://www.FreeRTOS.org/Documentation *
- * *
- ***************************************************************************
-
- http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
- the FAQ page "My application does not run, what could be wrong?". Have you
- defined configASSERT()?
-
- http://www.FreeRTOS.org/support - In return for receiving this top quality
- embedded software for free we request you assist our global community by
- participating in the support forum.
-
- http://www.FreeRTOS.org/training - Investing in training allows your team to
- be as productive as possible as early as possible. Now you can receive
- FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
- Ltd, and the world's leading authority on the world's leading RTOS.
-
- http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
- including FreeRTOS+Trace - an indispensable productivity tool, a DOS
- compatible FAT file system, and our tiny thread aware UDP/IP stack.
-
- http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
- Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
-
- http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
- Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
- licenses offer ticketed support, indemnification and commercial middleware.
-
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety
- engineered and independently SIL3 certified version for use in safety and
- mission critical applications that require provable dependability.
-
- 1 tab == 4 spaces!
-*/
-
-
-/* BASIC INTERRUPT DRIVEN SERIAL PORT DRIVER.
-
-NOTE: This driver is primarily to test the scheduler functionality. It does
-not effectively use the buffers or DMA and is therefore not intended to be
-an example of an efficient driver. */
-
-/* Standard include file. */
-#include
-
-/* Scheduler include files. */
-#include "FreeRTOS.h"
-#include "queue.h"
-#include "task.h"
-
-/* Demo app include files. */
-#include "serial.h"
-
-/* Hardware definitions. */
-#define serNO_PARITY ( ( unsigned char ) 0x02 << 3 )
-#define ser8DATA_BITS ( ( unsigned char ) 0x03 )
-#define ser1STOP_BIT ( ( unsigned char ) 0x07 )
-#define serSYSTEM_CLOCK ( ( unsigned char ) 0xdd )
-#define serTX_OUTPUT ( ( unsigned char ) 0x04 )
-#define serRX_INPUT ( ( unsigned char ) 0x08 )
-#define serTX_ENABLE ( ( unsigned char ) 0x04 )
-#define serRX_ENABLE ( ( unsigned char ) 0x01 )
-#define serTX_INT ( ( unsigned char ) 0x01 )
-#define serRX_INT ( ( unsigned char ) 0x02 )
-
-
-/* The queues used to communicate between tasks and ISR's. */
-static QueueHandle_t xRxedChars;
-static QueueHandle_t xCharsForTx;
-
-/* Flag used to indicate the tx status. */
-static portBASE_TYPE xTxHasEnded = pdTRUE;
-
-/*-----------------------------------------------------------*/
-
-/* The UART interrupt handler. */
-void __attribute__( ( interrupt ) ) __cs3_isr_interrupt_78( void );
-
-/*-----------------------------------------------------------*/
-
-xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned portBASE_TYPE uxQueueLength )
-{
-const unsigned long ulBaudRateDivisor = ( configCPU_CLOCK_HZ / ( 32UL * ulWantedBaud ) );
-
- /* Create the queues used by the com test task. */
- xRxedChars = xQueueCreate( uxQueueLength, ( unsigned portBASE_TYPE ) sizeof( signed char ) );
- xCharsForTx = xQueueCreate( uxQueueLength, ( unsigned portBASE_TYPE ) sizeof( signed char ) );
-
- xTxHasEnded = pdTRUE;
-
- /* Set the pins to UART mode. */
- MCF_PAD_PUAPAR |= ( serTX_OUTPUT | serRX_INPUT );
-
- /* Reset the peripheral. */
- MCF_UART1_UCR = MCF_UART_UCR_RESET_RX;
- MCF_UART1_UCR = MCF_UART_UCR_RESET_TX;
- MCF_UART1_UCR = MCF_UART_UCR_RESET_ERROR;
- MCF_UART1_UCR = MCF_UART_UCR_RESET_BKCHGINT;
- MCF_UART1_UCR = MCF_UART_UCR_RESET_MR | MCF_UART_UCR_RX_DISABLED | MCF_UART_UCR_TX_DISABLED;
-
- /* Configure the UART. */
- MCF_UART1_UMR1 = serNO_PARITY | ser8DATA_BITS;
- MCF_UART1_UMR2 = ser1STOP_BIT;
- MCF_UART1_UCSR = serSYSTEM_CLOCK;
-
- MCF_UART1_UBG1 = ( unsigned char ) ( ( ulBaudRateDivisor >> 8UL ) & 0xffUL );
- MCF_UART1_UBG2 = ( unsigned char ) ( ulBaudRateDivisor & 0xffUL );
-
- /* Turn it on. */
- MCF_UART1_UCR = serTX_ENABLE | serRX_ENABLE;
-
- /* Configure the interrupt controller. Run the UARTs above the kernel
- interrupt priority for demo purposes. */
- MCF_INTC0_ICR14 = ( ( configMAX_SYSCALL_INTERRUPT_PRIORITY - 2 ) << 3 );
- MCF_INTC0_IMRL &= ~( MCF_INTC_IMRL_INT_MASK14 | 0x01 );
-
- /* The Tx interrupt is not enabled until there is data to send. */
- MCF_UART1_UIMR = serRX_INT;
-
- /* Only a single port is implemented so we don't need to return anything. */
- return NULL;
-}
-/*-----------------------------------------------------------*/
-
-signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, TickType_t xBlockTime )
-{
- /* Only one port is supported. */
- ( void ) pxPort;
-
- /* Get the next character from the buffer. Return false if no characters
- are available or arrive before xBlockTime expires. */
- if( xQueueReceive( xRxedChars, pcRxedChar, xBlockTime ) )
- {
- return pdTRUE;
- }
- else
- {
- return pdFALSE;
- }
-}
-/*-----------------------------------------------------------*/
-
-signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, TickType_t xBlockTime )
-{
- /* Only one port is supported. */
- ( void ) pxPort;
-
- /* Return false if after the block time there is no room on the Tx queue. */
- if( xQueueSend( xCharsForTx, &cOutChar, xBlockTime ) != pdPASS )
- {
- return pdFAIL;
- }
-
- /* A critical section should not be required as xTxHasEnded will not be
- written to by the ISR if it is already 0 (is this correct?). */
- if( xTxHasEnded != pdFALSE )
- {
- xTxHasEnded = pdFALSE;
- MCF_UART1_UIMR = serRX_INT | serTX_INT;
- }
-
- return pdPASS;
-}
-/*-----------------------------------------------------------*/
-
-void vSerialClose( xComPortHandle xPort )
-{
- ( void ) xPort;
-}
-/*-----------------------------------------------------------*/
-
-void __cs3_isr_interrupt_78( void )
-{
-unsigned char ucChar;
-portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE, xDoneSomething = pdTRUE;
-
- while( xDoneSomething != pdFALSE )
- {
- xDoneSomething = pdFALSE;
-
- /* Does the tx buffer contain space? */
- if( ( MCF_UART1_USR & MCF_UART_USR_TXRDY ) != 0x00 )
- {
- /* Are there any characters queued to be sent? */
- if( xQueueReceiveFromISR( xCharsForTx, &ucChar, &xHigherPriorityTaskWoken ) == pdTRUE )
- {
- /* Send the next char. */
- MCF_UART1_UTB = ucChar;
- xDoneSomething = pdTRUE;
- }
- else
- {
- /* Turn off the Tx interrupt until such time as another character
- is being transmitted. */
- MCF_UART1_UIMR = serRX_INT;
- xTxHasEnded = pdTRUE;
- }
- }
-
- if( MCF_UART1_USR & MCF_UART_USR_RXRDY )
- {
- ucChar = MCF_UART1_URB;
- xQueueSendFromISR( xRxedChars, &ucChar, &xHigherPriorityTaskWoken );
- xDoneSomething = pdTRUE;
- }
- }
-
- portEND_SWITCHING_ISR( xHigherPriorityTaskWoken );
-}
-
-
-
-
-
-
-
diff --git a/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/ReadMe.txt b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/ReadMe.txt
new file mode 100644
index 000000000..ad84b2770
--- /dev/null
+++ b/FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/ReadMe.txt
@@ -0,0 +1,3 @@
+If you need the demo that used to be in this directory then download FreeRTOS V8.2.3
+from http://sourceforge.net/projects/freertos/files/FreeRTOS/
+
diff --git a/FreeRTOS/Demo/Common/Minimal/GenQTest.c b/FreeRTOS/Demo/Common/Minimal/GenQTest.c
index 307f01630..ae7db5b60 100644
--- a/FreeRTOS/Demo/Common/Minimal/GenQTest.c
+++ b/FreeRTOS/Demo/Common/Minimal/GenQTest.c
@@ -119,7 +119,7 @@ static void prvSendFrontAndBackTest( void *pvParameters );
* priority task while it holds the inherited high priority. Once the mutex
* is returned the task with the inherited priority returns to its original
* low priority, and is therefore immediately preempted by first the high
- * priority task and then the medium prioroity task before it can continue.
+ * priority task and then the medium priority task before it can continue.
*/
static void prvLowPriorityMutexTask( void *pvParameters );
static void prvMediumPriorityMutexTask( void *pvParameters );
@@ -139,7 +139,7 @@ static volatile uint32_t ulLoopCounter2 = 0;
/* The variable that is guarded by the mutex in the mutex demo tasks. */
static volatile uint32_t ulGuardedVariable = 0;
-/* Handles used in the mutext test to suspend and resume the high and medium
+/* Handles used in the mutex test to suspend and resume the high and medium
priority mutex test tasks. */
static TaskHandle_t xHighPriorityMutexTask, xMediumPriorityMutexTask;
@@ -150,7 +150,6 @@ void vStartGenericQueueTasks( UBaseType_t uxPriority )
QueueHandle_t xQueue;
SemaphoreHandle_t xMutex;
-
/* Create the queue that we are going to use for the
prvSendFrontAndBackTest demo. */
xQueue = xQueueCreate( genqQUEUE_LENGTH, sizeof( uint32_t ) );
@@ -160,8 +159,21 @@ SemaphoreHandle_t xMutex;
debuggers to locate queues and has no purpose if a kernel aware debugger
is not being used. The call to vQueueAddToRegistry() will be removed
by the pre-processor if configQUEUE_REGISTRY_SIZE is not defined or is
- defined to be less than 1. */
+ defined to be less than 1. First check a name is not returned before the
+ queue has been added. */
+ configASSERT( pcQueueGetQueueName( xQueue ) == NULL );
+
+ /* Then add the queue to the registry, and check its name is returned
+ correctly. */
vQueueAddToRegistry( xQueue, "Gen_Queue_Test" );
+ configASSERT( strcmp( pcQueueGetQueueName( xQueue ), "Gen_Queue_Test" ) == 0 );
+
+ /* Then, for test purposes, remove the queue from the registry again, check
+ NULL is returned for its name, before adding back and leaving it. */
+ vQueueUnregisterQueue( xQueue );
+ configASSERT( pcQueueGetQueueName( xQueue ) == NULL );
+ vQueueAddToRegistry( xQueue, "Gen_Queue_Test" );
+ configASSERT( strcmp( pcQueueGetQueueName( xQueue ), "Gen_Queue_Test" ) == 0 );
/* Create the demo task and pass it the queue just created. We are
passing the queue handle by value so it does not matter that it is
diff --git a/FreeRTOS/Demo/WIN32-MSVC/main.c b/FreeRTOS/Demo/WIN32-MSVC/main.c
index ab229ce47..6f89e265a 100644
--- a/FreeRTOS/Demo/WIN32-MSVC/main.c
+++ b/FreeRTOS/Demo/WIN32-MSVC/main.c
@@ -79,19 +79,17 @@
* hardware setup and FreeRTOS hook functions.
*
*******************************************************************************
- * -NOTE- The Win32 port is a simulation (or is that emulation?) only! Do not
- * expect to get real time behaviour from the Win32 port or this demo
- * application. It is provided as a convenient development and demonstration
- * test bed only. This was tested using Windows XP on a dual core laptop.
- *
- * Windows will not be running the FreeRTOS simulator threads continuously, so
- * the timing information in the FreeRTOS+Trace logs have no meaningful units.
- * See the documentation page for the Windows simulator for an explanation of
- * the slow timing:
+ * NOTE: Windows will not be running the FreeRTOS demo threads continuously, so
+ * do not expect to get real time behaviour from the FreeRTOS Windows port, or
+ * this demo application. Also, the timing information in the FreeRTOS+Trace
+ * logs have no meaningful units. See the documentation page for the Windows
+ * port for further information:
* http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html
- * - READ THE WEB DOCUMENTATION FOR THIS PORT FOR MORE INFORMATION ON USING IT -
- *******************************************************************************
*
+ * This demo was created using Windows XP on a dual core laptop, and has since
+ * been maintained using Windows 7 on a quad core laptop.
+ *
+ *******************************************************************************
*/
/* Standard includes. */
@@ -103,23 +101,29 @@
#include "FreeRTOS.h"
#include "task.h"
-/* This project provides two demo applications. A simple blinky style project,
-and a more comprehensive test and demo application. The
+/* This project provides two demo applications. A simple blinky style demo
+application, and a more comprehensive test and demo application. The
mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is used to select between the two.
-The simply blinky demo is implemented and described in main_blinky.c. The more
-comprehensive test and demo application is implemented and described in
-main_full.c. */
-#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY 0
+
+If mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is 1 then the blinky demo will be built.
+The blinky demo is implemented and described in main_blinky.c.
+
+If mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is not 1 then the comprehensive test and
+demo application will be built. The comprehensive test and demo application is
+implemented and described in main_full.c. */
+#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY 1
/* This demo uses heap_5.c, and these constants define the sizes of the regions
-that make up the total heap. This is only done to provide an example of heap_5
-being used as this demo could easily create one large heap region instead of
-multiple smaller heap regions - in which case heap_4.c would be the more
-appropriate choice. */
+that make up the total heap. heap_5 is only used for test and example purposes
+as this demo could easily create one large heap region instead of multiple
+smaller heap regions - in which case heap_4.c would be the more appropriate
+choice. See http://www.freertos.org/a00111.html for an explanation. */
#define mainREGION_1_SIZE 4001
#define mainREGION_2_SIZE 18105
#define mainREGION_3_SIZE 1807
+/*-----------------------------------------------------------*/
+
/*
* main_blinky() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 1.
* main_full() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 0.
@@ -128,26 +132,23 @@ extern void main_blinky( void );
extern void main_full( void );
/*
- * Some of the RTOS hook (callback) functions only need special processing when
- * the full demo is being used. The simply blinky demo has no special
- * requirements, so these functions are called from the hook functions defined
- * in this file, but are defined in main_full.c.
+ * Only the comprehensive demo uses application hook (callback) functions. See
+ * http://www.freertos.org/a00016.html for more information.
*/
void vFullDemoTickHookFunction( void );
void vFullDemoIdleFunction( void );
/*
- * This demo uses heap_5.c, so start by defining some heap regions. This is
- * only done to provide an example as this demo could easily create one large
- * heap region instead of multiple smaller heap regions - in which case heap_4.c
- * would be the more appropriate choice. No initialisation is required when
- * heap_4.c is used.
+ * This demo uses heap_5.c, so start by defining some heap regions. It is not
+ * necessary for this demo to use heap_5, as it could define one large heap
+ * region. Heap_5 is only used for test and example purposes. See
+ * http://www.freertos.org/a00111.html for an explanation.
*/
static void prvInitialiseHeap( void );
/*
- * Prototypes for the standard FreeRTOS callback/hook functions implemented
- * within this file.
+ * Prototypes for the standard FreeRTOS application hook (callback) functions
+ * implemented within this file. See http://www.freertos.org/a00016.html .
*/
void vApplicationMallocFailedHook( void );
void vApplicationIdleHook( void );
@@ -161,9 +162,9 @@ void vApplicationTickHook( void );
static void prvSaveTraceFile( void );
/* The user trace event posted to the trace recording on each tick interrupt.
-Note tick events will not appear in the trace recording with regular period
-because this project runs in a Windows simulator, and does not therefore
-exhibit deterministic behaviour. */
+Note: This project runs under Windows, and Windows will not be executing the
+RTOS threads continuously. Therefore tick events will not appear with a regular
+interval within the the trace recording. */
traceLabel xTickTraceUserEvent;
static portBASE_TYPE xTraceRunning = pdTRUE;
@@ -171,24 +172,18 @@ static portBASE_TYPE xTraceRunning = pdTRUE;
int main( void )
{
- /* This demo uses heap_5.c, so start by defining some heap regions. This
- is only done to provide an example as this demo could easily create one
- large heap region instead of multiple smaller heap regions - in which case
- heap_4.c would be the more appropriate choice. No initialisation is
- required when heap_4.c is used. */
+ /* This demo uses heap_5.c, so start by defining some heap regions. heap_5
+ is only used for test and example reasons. Heap_4 is more appropriate. See
+ http://www.freertos.org/a00111.html for an explanation. */
prvInitialiseHeap();
/* Initialise the trace recorder and create the label used to post user
- events to the trace recording on each tick interrupt. */
+ events to the trace recording on each tick interrupt. Use of the trace
+ recorder is optional. See http://www.FreeRTOS.org/trace for more
+ information. */
vTraceInitTraceData();
xTickTraceUserEvent = xTraceOpenLabel( "tick" );
- /* Start the trace recording - the recording is written to a file if
- configASSERT() is called. */
- printf( "\r\nTrace started.\r\nThe trace will be dumped to disk if a call to configASSERT() fails.\r\n" );
- printf( "Uncomment the call to kbhit() in this file to also dump trace with a key press.\r\n" );
- uiTraceStart();
-
/* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top
of this file. */
#if ( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 )
@@ -197,6 +192,12 @@ int main( void )
}
#else
{
+ /* Start the trace recording - the recording is written to a file if
+ configASSERT() is called. */
+ printf( "\r\nTrace started.\r\nThe trace will be dumped to disk if a call to configASSERT() fails.\r\n" );
+ printf( "Uncomment the call to kbhit() in this file to also dump trace with a key press.\r\n" );
+ uiTraceStart();
+
main_full();
}
#endif
@@ -212,11 +213,13 @@ void vApplicationMallocFailedHook( void )
function that will get called if a call to pvPortMalloc() fails.
pvPortMalloc() is called internally by the kernel whenever a task, queue,
timer or semaphore is created. It is also called by various parts of the
- demo application. If heap_1.c or heap_2.c are used, then the size of the
- heap available to pvPortMalloc() is defined by configTOTAL_HEAP_SIZE in
- FreeRTOSConfig.h, and the xPortGetFreeHeapSize() API function can be used
- to query the size of free heap space that remains (although it does not
- provide information on how the remaining heap might be fragmented). */
+ demo application. If heap_1.c, heap_2.c or heap_4.c is being used, then the
+ size of the heap available to pvPortMalloc() is defined by
+ configTOTAL_HEAP_SIZE in FreeRTOSConfig.h, and the xPortGetFreeHeapSize()
+ API function can be used to query the size of free heap space that remains
+ (although it does not provide information on how the remaining heap might be
+ fragmented). See http://www.freertos.org/a00111.html for more
+ information. */
vAssertCalled( __LINE__, __FILE__ );
}
/*-----------------------------------------------------------*/
@@ -227,11 +230,11 @@ void vApplicationIdleHook( void )
to 1 in FreeRTOSConfig.h. It will be called on each iteration of the idle
task. It is essential that code added to this hook function never attempts
to block in any way (for example, call xQueueReceive() with a block time
- specified, or call vTaskDelay()). If the application makes use of the
- vTaskDelete() API function (as this demo application does) then it is also
- important that vApplicationIdleHook() is permitted to return to its calling
- function, because it is the responsibility of the idle task to clean up
- memory allocated by the kernel to any task that has since been deleted. */
+ specified, or call vTaskDelay()). If application tasks make use of the
+ vTaskDelete() API function to delete themselves then it is also important
+ that vApplicationIdleHook() is permitted to return to its calling function,
+ because it is the responsibility of the idle task to clean up memory
+ allocated by the kernel to any task that has since deleted itself. */
/* Uncomment the following code to allow the trace to be stopped with any
key press. The code is commented out by default as the kbhit() function
@@ -265,7 +268,9 @@ void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )
/* Run time stack overflow checking is performed if
configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2. This hook
- function is called if a stack overflow is detected. */
+ function is called if a stack overflow is detected. This function is
+ provided as an example only as stack overflow checking does not function
+ when running the FreeRTOS Windows port. */
vAssertCalled( __LINE__, __FILE__ );
}
/*-----------------------------------------------------------*/
@@ -284,11 +289,10 @@ void vApplicationTickHook( void )
}
#endif /* mainCREATE_SIMPLE_BLINKY_DEMO_ONLY */
- /* Write a user event to the trace log.
- Note tick events will not appear in the trace recording with regular period
- because this project runs in a Windows simulator, and does not therefore
- exhibit deterministic behaviour. Windows will run the simulator in
- bursts. */
+ /* Write a user event to the trace log. Note: This project runs under
+ Windows, and Windows will not be executing the RTOS threads continuously.
+ Therefore tick events will not appear with a regular interval within the the
+ trace recording. */
vTraceUserEvent( xTickTraceUserEvent );
}
/*-----------------------------------------------------------*/
@@ -298,6 +302,9 @@ void vAssertCalled( unsigned long ulLine, const char * const pcFileName )
static portBASE_TYPE xPrinted = pdFALSE;
volatile uint32_t ulSetToNonZeroInDebuggerToContinue = 0;
+ /* Called if an assertion passed to configASSERT() fails. See
+ http://www.freertos.org/a00110.html#configASSERT for more information. */
+
/* Parameters are not used. */
( void ) ulLine;
( void ) pcFileName;
@@ -351,13 +358,15 @@ FILE* pxOutputFile;
static void prvInitialiseHeap( void )
{
-/* This demo uses heap_5.c, so start by defining some heap regions. This is
-only done to provide an example as this demo could easily create one large heap
-region instead of multiple smaller heap regions - in which case heap_4.c would
-be the more appropriate choice. No initialisation is required when heap_4.c is
-used. The xHeapRegions structure requires the regions to be defined in order,
-so this just creates one big array, then populates the structure with offsets
-into the array - with gaps in between and messy alignment just for test
+/* The Windows demo could create one large heap region, in which case it would
+be appropriate to use heap_4. However, purely for demonstration purposes,
+heap_5 is used instead, so start by defining some heap regions. No
+initialisation is required when any other heap implementation is used. See
+http://www.freertos.org/a00111.html for more information.
+
+The xHeapRegions structure requires the regions to be defined in start address
+order, so this just creates one big array, then populates the structure with
+offsets into the array - with gaps in between and messy alignment just for test
purposes. */
static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
volatile uint32_t ulAdditionalOffset = 19; /* Just to prevent 'condition is always true' warnings in configASSERT(). */
diff --git a/FreeRTOS/Demo/WIN32-MSVC/main_blinky.c b/FreeRTOS/Demo/WIN32-MSVC/main_blinky.c
index 3a625c239..320ad130d 100644
--- a/FreeRTOS/Demo/WIN32-MSVC/main_blinky.c
+++ b/FreeRTOS/Demo/WIN32-MSVC/main_blinky.c
@@ -68,20 +68,19 @@
*/
/******************************************************************************
- * NOTE 1: Do not expect to get real time behaviour from the Win32 port or this
- * demo application. It is provided as a convenient development and
- * demonstration test bed only. Windows will not be running the FreeRTOS
- * threads continuously, so the timing information in the FreeRTOS+Trace logs
- * have no meaningful units. See the documentation page for the Windows
- * simulator for further explanation:
+ * NOTE: Windows will not be running the FreeRTOS demo threads continuously, so
+ * do not expect to get real time behaviour from the FreeRTOS Windows port, or
+ * this demo application. Also, the timing information in the FreeRTOS+Trace
+ * logs have no meaningful units. See the documentation page for the Windows
+ * port for further information:
* http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html
- * - READ THE WEB DOCUMENTATION FOR THIS PORT FOR MORE INFORMATION ON USING IT -
*
* NOTE 2: This project provides two demo applications. A simple blinky style
* project, and a more comprehensive test and demo application. The
* mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting in main.c is used to select
* between the two. See the notes on using mainCREATE_SIMPLE_BLINKY_DEMO_ONLY
- * in main.c. This file implements the simply blinky style version.
+ * in main.c. This file implements the simply blinky version. Console output
+ * is used in place of the normal LED toggling.
*
* NOTE 3: This file only contains the source code that is specific to the
* basic demo. Generic functions, such FreeRTOS hook functions, are defined
@@ -93,9 +92,9 @@
*
* The Queue Send Task:
* The queue send task is implemented by the prvQueueSendTask() function in
- * this file. It uses vTaskDelayUntil() to create a period task that sends the
- * value 100 to the queue every 200 milliseconds (please read the notes above
- * regarding the accuracy of timing under Windows).
+ * this file. It uses vTaskDelayUntil() to create a periodic task that sends
+ * the value 100 to the queue every 200 milliseconds (please read the notes
+ * above regarding the accuracy of timing under Windows).
*
* The Queue Send Software Timer:
* The timer is a one-shot timer that is reset by a key press. The timer's
@@ -108,11 +107,21 @@
* in this file. prvQueueReceiveTask() waits for data to arrive on the queue.
* When data is received, the task checks the value of the data, then outputs a
* message to indicate if the data came from the queue send task or the queue
- * send software timer. As the queue send task writes to the queue every 200ms,
- * the queue receive task will print a message indicating that it received data
- * from the queue send task every 200ms. The queue receive task will print a
- * message indicating that it received data from the queue send software timer
- * 2 seconds after a key was last pressed.
+ * send software timer.
+ *
+ * Expected Behaviour:
+ * - The queue send task writes to the queue every 200ms, so every 200ms the
+ * queue receive task will output a message indicating that data was received
+ * on the queue from the queue send task.
+ * - The queue send software timer has a period of two seconds, and is reset
+ * each time a key is pressed. So if two seconds expire without a key being
+ * pressed then the queue receive task will output a message indicating that
+ * data was received on the queue from the queue send software timer.
+ *
+ * NOTE: Console input and output relies on Windows system calls, which can
+ * interfere with the execution of the FreeRTOS Windows port. This demo only
+ * uses Windows system call occasionally. Heavier use of Windows system calls
+ * can crash the port.
*/
/* Standard includes. */
@@ -130,18 +139,13 @@
#define mainQUEUE_SEND_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )
/* The rate at which data is sent to the queue. The times are converted from
-milliseconds to ticks by the pdMS_TO_TICKS() macro where they are used. */
-#define mainTASK_SEND_FREQUENCY_MS 200
-#define mainTIMER_SEND_FREQUENCY_MS 2000
+milliseconds to ticks using the pdMS_TO_TICKS() macro. */
+#define mainTASK_SEND_FREQUENCY_MS pdMS_TO_TICKS( 200UL )
+#define mainTIMER_SEND_FREQUENCY_MS pdMS_TO_TICKS( 2000UL )
-/* The number of items the queue can hold. */
+/* The number of items the queue can hold at once. */
#define mainQUEUE_LENGTH ( 2 )
-/* Values passed to the two tasks just to check the task parameter
-functionality. */
-#define mainQUEUE_SEND_PARAMETER ( 0x1111UL )
-#define mainQUEUE_RECEIVE_PARAMETER ( 0x22UL )
-
/* The values sent to the queue receive task from the queue send task and the
queue send software timer respectively. */
#define mainVALUE_SENT_FROM_TASK ( 100UL )
@@ -170,25 +174,26 @@ static TimerHandle_t xTimer = NULL;
/*-----------------------------------------------------------*/
+/*** SEE THE COMMENTS AT THE TOP OF THIS FILE ***/
void main_blinky( void )
{
-const TickType_t xTimerPeriod = pdMS_TO_TICKS( mainTIMER_SEND_FREQUENCY_MS );
+const TickType_t xTimerPeriod = mainTIMER_SEND_FREQUENCY_MS;
/* Create the queue. */
- xQueue = xQueueCreate( mainQUEUE_LENGTH, sizeof( unsigned long ) );
+ xQueue = xQueueCreate( mainQUEUE_LENGTH, sizeof( uint32_t ) );
if( xQueue != NULL )
{
/* Start the two tasks as described in the comments at the top of this
file. */
- xTaskCreate( prvQueueReceiveTask, /* The function that implements the task. */
- "Rx", /* The text name assigned to the task - for debug only as it is not used by the kernel. */
- configMINIMAL_STACK_SIZE, /* The size of the stack to allocate to the task. */
- ( void * ) mainQUEUE_RECEIVE_PARAMETER, /* The parameter passed to the task - just to check the functionality. */
- mainQUEUE_RECEIVE_TASK_PRIORITY, /* The priority assigned to the task. */
- NULL ); /* The task handle is not required, so NULL is passed. */
+ xTaskCreate( prvQueueReceiveTask, /* The function that implements the task. */
+ "Rx", /* The text name assigned to the task - for debug only as it is not used by the kernel. */
+ configMINIMAL_STACK_SIZE, /* The size of the stack to allocate to the task. */
+ NULL, /* The parameter passed to the task - not used in this simple case. */
+ mainQUEUE_RECEIVE_TASK_PRIORITY,/* The priority assigned to the task. */
+ NULL ); /* The task handle is not required, so NULL is passed. */
- xTaskCreate( prvQueueSendTask, "TX", configMINIMAL_STACK_SIZE, ( void * ) mainQUEUE_SEND_PARAMETER, mainQUEUE_SEND_TASK_PRIORITY, NULL );
+ xTaskCreate( prvQueueSendTask, "TX", configMINIMAL_STACK_SIZE, NULL, mainQUEUE_SEND_TASK_PRIORITY, NULL );
/* Create the software timer, but don't start it yet. */
xTimer = xTimerCreate( "Timer", /* The text name assigned to the software timer - for debug only as it is not used by the kernel. */
@@ -213,29 +218,25 @@ const TickType_t xTimerPeriod = pdMS_TO_TICKS( mainTIMER_SEND_FREQUENCY_MS );
static void prvQueueSendTask( void *pvParameters )
{
TickType_t xNextWakeTime;
-const TickType_t xBlockTime = pdMS_TO_TICKS( mainTASK_SEND_FREQUENCY_MS );
+const TickType_t xBlockTime = mainTASK_SEND_FREQUENCY_MS;
const uint32_t ulValueToSend = mainVALUE_SENT_FROM_TASK;
- /* Remove compiler warning in the case that configASSERT() is not
- defined. */
+ /* Prevent the compiler warning about the unused parameter. */
( void ) pvParameters;
- /* Check the task parameter is as expected. */
- configASSERT( ( ( unsigned long ) pvParameters ) == mainQUEUE_SEND_PARAMETER );
-
/* Initialise xNextWakeTime - this only needs to be done once. */
xNextWakeTime = xTaskGetTickCount();
for( ;; )
{
/* Place this task in the blocked state until it is time to run again.
- The block time is specified in ticks, the constant used converts ticks
- to ms. While in the Blocked state this task will not consume any CPU
- time. */
+ The block time is specified in ticks, pdMS_TO_TICKS() was used to
+ convert a time specified in milliseconds into a time specified in ticks.
+ While in the Blocked state this task will not consume any CPU time. */
vTaskDelayUntil( &xNextWakeTime, xBlockTime );
/* Send to the queue - causing the queue receive task to unblock and
- toggle the LED. 0 is used as the block time so the sending operation
+ write to the console. 0 is used as the block time so the send operation
will not block - it shouldn't need to block as the queue should always
have at least one space at this point in the code. */
xQueueSend( xQueue, &ulValueToSend, 0U );
@@ -247,6 +248,11 @@ static void prvQueueSendTimerCallback( TimerHandle_t xTimerHandle )
{
const uint32_t ulValueToSend = mainVALUE_SENT_FROM_TIMER;
+ /* This is the software timer callback function. The software timer has a
+ period of two seconds and is reset each time a key is pressed. This
+ callback function will execute if the timer expires, which will only happen
+ if a key is not pressed for two seconds. */
+
/* Avoid compiler warnings resulting from the unused parameter. */
( void ) xTimerHandle;
@@ -259,26 +265,25 @@ const uint32_t ulValueToSend = mainVALUE_SENT_FROM_TIMER;
static void prvQueueReceiveTask( void *pvParameters )
{
-unsigned long ulReceivedValue;
+uint32_t ulReceivedValue;
- /* Remove compiler warning in the case that configASSERT() is not
- defined. */
+ /* Prevent the compiler warning about the unused parameter. */
( void ) pvParameters;
- /* Check the task parameter is as expected. */
- configASSERT( ( ( unsigned long ) pvParameters ) == mainQUEUE_RECEIVE_PARAMETER );
-
for( ;; )
{
/* Wait until something arrives in the queue - this task will block
indefinitely provided INCLUDE_vTaskSuspend is set to 1 in
- FreeRTOSConfig.h. */
+ FreeRTOSConfig.h. It will not use any CPU time while it is in the
+ Blocked state. */
xQueueReceive( xQueue, &ulReceivedValue, portMAX_DELAY );
/* To get here something must have been received from the queue, but
- is it the expected value? Normally calling printf() from a task is not
+ is it an expected value? Normally calling printf() from a task is not
a good idea. Here there is lots of stack space and only one task is
- using console IO so it is ok. */
+ using console IO so it is ok. However, note the comments at the top of
+ this file about the risks of making Windows system calls (such as
+ console output) from a FreeRTOS task. */
if( ulReceivedValue == mainVALUE_SENT_FROM_TASK )
{
printf( "Message received from task\r\n" );
diff --git a/FreeRTOS/Demo/WIN32-MSVC/main_full.c b/FreeRTOS/Demo/WIN32-MSVC/main_full.c
index 0c777ea52..b429d8c93 100644
--- a/FreeRTOS/Demo/WIN32-MSVC/main_full.c
+++ b/FreeRTOS/Demo/WIN32-MSVC/main_full.c
@@ -69,14 +69,12 @@
/*
*******************************************************************************
- * NOTE 1: Do not expect to get real time behaviour from the Win32 port or this
- * demo application. It is provided as a convenient development and
- * demonstration test bed only. Windows will not be running the FreeRTOS
- * threads continuously, so the timing information in the FreeRTOS+Trace logs
- * have no meaningful units. See the documentation page for the Windows
- * simulator for further explanation:
+ * NOTE: Windows will not be running the FreeRTOS demo threads continuously, so
+ * do not expect to get real time behaviour from the FreeRTOS Windows port, or
+ * this demo application. Also, the timing information in the FreeRTOS+Trace
+ * logs have no meaningful units. See the documentation page for the Windows
+ * port for further information:
* http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html
- * - READ THE WEB DOCUMENTATION FOR THIS PORT FOR MORE INFORMATION ON USING IT -
*
* NOTE 2: This project provides two demo applications. A simple blinky style
* project, and a more comprehensive test and demo application. The
@@ -100,9 +98,9 @@
* "Check" task - This only executes every five seconds but has a high priority
* to ensure it gets processor time. Its main function is to check that all the
* standard demo tasks are still operational. While no errors have been
- * discovered the check task will print out "OK" and the current simulated tick
- * time. If an error is discovered in the execution of a task then the check
- * task will print out an appropriate error message.
+ * discovered the check task will print out "No Errors" along with some system
+ * status information. If an error is discovered in the execution of a task
+ * then the check task will print out an appropriate error message.
*
*/
@@ -185,7 +183,7 @@ static void prvDemoQueueSpaceFunctions( void *pvParameters );
/*-----------------------------------------------------------*/
/* The variable into which error messages are latched. */
-static char *pcStatusMessage = "OK";
+static char *pcStatusMessage = "No errors";
/* This semaphore is created purely to test using the vSemaphoreDelete() and
semaphore tracing API functions. It has no other purpose. */
@@ -246,7 +244,7 @@ int main_full( void )
static void prvCheckTask( void *pvParameters )
{
TickType_t xNextWakeTime;
-const TickType_t xCycleFrequency = 2500 / portTICK_PERIOD_MS;
+const TickType_t xCycleFrequency = pdMS_TO_TICKS( 2500UL );
/* Just to remove compiler warning. */
( void ) pvParameters;
@@ -342,7 +340,10 @@ const TickType_t xCycleFrequency = 2500 / portTICK_PERIOD_MS;
/* This is the only task that uses stdout so its ok to call printf()
directly. */
- printf( "%s - %d\r\n", pcStatusMessage, xTaskGetTickCount() );
+ printf( "%s - tick count %d - free heap %d - min free heap %d\r\n", pcStatusMessage,
+ xTaskGetTickCount(),
+ xPortGetFreeHeapSize(),
+ xPortGetMinimumEverFreeHeapSize() );
}
}
/*-----------------------------------------------------------*/
@@ -395,7 +396,7 @@ void *pvAllocated;
/* Exercise heap_5 a bit. The malloc failed hook will trap failed
allocations so there is no need to test here. */
- pvAllocated = pvPortMalloc( ( rand() % 100 ) + 1 );
+ pvAllocated = pvPortMalloc( ( rand() % 500 ) + 1 );
vPortFree( pvAllocated );
}
/*-----------------------------------------------------------*/
diff --git a/FreeRTOS/Source/include/FreeRTOS.h b/FreeRTOS/Source/include/FreeRTOS.h
index 83ab38c85..8951b25b0 100644
--- a/FreeRTOS/Source/include/FreeRTOS.h
+++ b/FreeRTOS/Source/include/FreeRTOS.h
@@ -311,6 +311,7 @@ extern "C" {
#if ( configQUEUE_REGISTRY_SIZE < 1 )
#define vQueueAddToRegistry( xQueue, pcName )
#define vQueueUnregisterQueue( xQueue )
+ #define pcQueueGetQueueName( xQueue )
#endif
#ifndef portPOINTER_SIZE_TYPE
diff --git a/FreeRTOS/Source/include/queue.h b/FreeRTOS/Source/include/queue.h
index 2d7b5e90a..dfaa647fe 100644
--- a/FreeRTOS/Source/include/queue.h
+++ b/FreeRTOS/Source/include/queue.h
@@ -1517,7 +1517,7 @@ BaseType_t xQueueGiveMutexRecursive( QueueHandle_t pxMutex ) PRIVILEGED_FUNCTION
* stores a pointer to the string - so the string must be persistent (global or
* preferably in ROM/Flash), not on the stack.
*/
-#if configQUEUE_REGISTRY_SIZE > 0
+#if( configQUEUE_REGISTRY_SIZE > 0 )
void vQueueAddToRegistry( QueueHandle_t xQueue, const char *pcName ) PRIVILEGED_FUNCTION; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
#endif
@@ -1531,10 +1531,25 @@ BaseType_t xQueueGiveMutexRecursive( QueueHandle_t pxMutex ) PRIVILEGED_FUNCTION
*
* @param xQueue The handle of the queue being removed from the registry.
*/
-#if configQUEUE_REGISTRY_SIZE > 0
+#if( configQUEUE_REGISTRY_SIZE > 0 )
void vQueueUnregisterQueue( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
#endif
+/*
+ * The registry is provided as a means for kernel aware debuggers to
+ * locate queues, semaphores and mutexes. Call pcQueueGetQueueName() to look
+ * up and return the name of a queue in the queue registry from the queue's
+ * handle.
+ *
+ * @param xQueue The handle of the queue the name of which will be returned.
+ * @return If the queue is in the registry then a pointer to the name of the
+ * queue is returned. If the queue is not in the registry then NULL is
+ * returned.
+ */
+#if( configQUEUE_REGISTRY_SIZE > 0 )
+ const char *pcQueueGetQueueName( QueueHandle_t xQueue );
+#endif
+
/*
* Generic version of the queue creation function, which is in turn called by
* any queue, semaphore or mutex creation function or macro.
diff --git a/FreeRTOS/Source/queue.c b/FreeRTOS/Source/queue.c
index c71ef5020..7b0406d2a 100644
--- a/FreeRTOS/Source/queue.c
+++ b/FreeRTOS/Source/queue.c
@@ -2370,6 +2370,34 @@ BaseType_t xReturn;
#endif /* configQUEUE_REGISTRY_SIZE */
/*-----------------------------------------------------------*/
+#if ( configQUEUE_REGISTRY_SIZE > 0 )
+
+ const char *pcQueueGetQueueName( QueueHandle_t xQueue )
+ {
+ UBaseType_t ux;
+ const char *pcReturn = NULL;
+
+ /* Note there is nothing here to protect against another task adding or
+ removing entries from the registry while it is being searched. */
+ for( ux = ( UBaseType_t ) 0U; ux < ( UBaseType_t ) configQUEUE_REGISTRY_SIZE; ux++ )
+ {
+ if( xQueueRegistry[ ux ].xHandle == xQueue )
+ {
+ pcReturn = xQueueRegistry[ ux ].pcQueueName;
+ break;
+ }
+ else
+ {
+ mtCOVERAGE_TEST_MARKER();
+ }
+ }
+
+ return pcReturn;
+ }
+
+#endif /* configQUEUE_REGISTRY_SIZE */
+/*-----------------------------------------------------------*/
+
#if ( configQUEUE_REGISTRY_SIZE > 0 )
void vQueueUnregisterQueue( QueueHandle_t xQueue )
@@ -2384,6 +2412,11 @@ BaseType_t xReturn;
{
/* Set the name to NULL to show that this slot if free again. */
xQueueRegistry[ ux ].pcQueueName = NULL;
+
+ /* Set the handle to NULL to ensure the same queue handle cannot
+ appear in the registry twice if it is added, removed, then
+ added again. */
+ xQueueRegistry[ ux ].xHandle = ( QueueHandle_t ) 0;
break;
}
else
diff --git a/FreeRTOS/Source/tasks.c b/FreeRTOS/Source/tasks.c
index d4e5ad050..fe2f5ae1a 100644
--- a/FreeRTOS/Source/tasks.c
+++ b/FreeRTOS/Source/tasks.c
@@ -222,7 +222,7 @@ PRIVILEGED_DATA static List_t xPendingReadyList; /*< Tasks that have been r
#if ( INCLUDE_vTaskDelete == 1 )
PRIVILEGED_DATA static List_t xTasksWaitingTermination; /*< Tasks that have been deleted - but their memory not yet freed. */
- PRIVILEGED_DATA static volatile UBaseType_t uxTasksDeleted = ( UBaseType_t ) 0U;
+ PRIVILEGED_DATA static volatile UBaseType_t uxDeletedTasksWaitingCleanUp = ( UBaseType_t ) 0U;
#endif
@@ -752,10 +752,7 @@ StackType_t *pxTopOfStack;
being deleted. */
pxTCB = prvGetTCBFromHandle( xTaskToDelete );
- /* Remove task from the ready list and place in the termination list.
- This will stop the task from be scheduled. The idle task will check
- the termination list and free up any memory allocated by the
- scheduler for the TCB and stack. */
+ /* Remove task from the ready list. */
if( uxListRemove( &( pxTCB->xGenericListItem ) ) == ( UBaseType_t ) 0 )
{
taskRESET_READY_PRIORITY( pxTCB->uxPriority );
@@ -775,15 +772,28 @@ StackType_t *pxTopOfStack;
mtCOVERAGE_TEST_MARKER();
}
- vListInsertEnd( &xTasksWaitingTermination, &( pxTCB->xGenericListItem ) );
+ if( pxTCB == pxCurrentTCB )
+ {
+ /* A task is deleting itself. This cannot complete within the
+ task itself, as a context switch to another task is required.
+ Place the task in the termination list. The idle task will
+ check the termination list and free up any memory allocated by
+ the scheduler for the TCB and stack of the deleted task. */
+ vListInsertEnd( &xTasksWaitingTermination, &( pxTCB->xGenericListItem ) );
- /* Increment the ucTasksDeleted variable so the idle task knows
- there is a task that has been deleted and that it should therefore
- check the xTasksWaitingTermination list. */
- ++uxTasksDeleted;
+ /* Increment the ucTasksDeleted variable so the idle task knows
+ there is a task that has been deleted and that it should therefore
+ check the xTasksWaitingTermination list. */
+ ++uxDeletedTasksWaitingCleanUp;
+ }
+ else
+ {
+ --uxCurrentNumberOfTasks;
+ prvDeleteTCB( pxTCB );
+ }
- /* Increment the uxTaskNumberVariable also so kernel aware debuggers
- can detect that the task lists need re-generating. */
+ /* Increment the uxTaskNumber also so kernel aware debuggers can
+ detect that the task lists need re-generating. */
uxTaskNumber++;
traceTASK_DELETE( pxTCB );
@@ -1032,10 +1042,11 @@ StackType_t *pxTopOfStack;
#endif
#if ( INCLUDE_vTaskDelete == 1 )
- else if( pxStateList == &xTasksWaitingTermination )
+ else if( ( pxStateList == &xTasksWaitingTermination ) || ( pxStateList == NULL ) )
{
/* The task being queried is referenced from the deleted
- tasks list. */
+ tasks list, or it is not referenced from any lists at
+ all. */
eReturn = eDeleted;
}
#endif
@@ -3071,7 +3082,7 @@ static void prvCheckTasksWaitingTermination( void )
/* ucTasksDeleted is used to prevent vTaskSuspendAll() being called
too often in the idle task. */
- while( uxTasksDeleted > ( UBaseType_t ) 0U )
+ while( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U )
{
vTaskSuspendAll();
{
@@ -3088,7 +3099,7 @@ static void prvCheckTasksWaitingTermination( void )
pxTCB = ( TCB_t * ) listGET_OWNER_OF_HEAD_ENTRY( ( &xTasksWaitingTermination ) );
( void ) uxListRemove( &( pxTCB->xGenericListItem ) );
--uxCurrentNumberOfTasks;
- --uxTasksDeleted;
+ --uxDeletedTasksWaitingCleanUp;
}
taskEXIT_CRITICAL();
@@ -3100,7 +3111,7 @@ static void prvCheckTasksWaitingTermination( void )
}
}
}
- #endif /* vTaskDelete */
+ #endif /* INCLUDE_vTaskDelete */
}
/*-----------------------------------------------------------*/