]> git.sur5r.net Git - freertos/commitdiff
RL78 GCC: Save and restore all register banks.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 17 Mar 2013 09:27:18 +0000 (09:27 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 17 Mar 2013 09:27:18 +0000 (09:27 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1839 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

13 files changed:
FreeRTOS/Demo/RL78_E2Studio_GCC/.YRDKRL78G14linker
FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject
FreeRTOS/Demo/RL78_E2Studio_GCC/.settings/Project_Generation_Prefrences.prefs
FreeRTOS/Demo/RL78_E2Studio_GCC/RSKRL78G1C.launch [new file with mode: 0644]
FreeRTOS/Demo/RL78_E2Studio_GCC/YRDKRL78G14.launch [new file with mode: 0644]
FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/dynamic.c
FreeRTOS/Demo/RL78_E2Studio_GCC/src/FreeRTOSConfig.h
FreeRTOS/Demo/RL78_E2Studio_GCC/src/FreeRTOS_Source/portable/GCC/RL78/isr_support.h
FreeRTOS/Demo/RL78_E2Studio_GCC/src/FreeRTOS_Source/portable/GCC/RL78/port.c
FreeRTOS/Demo/RL78_E2Studio_GCC/src/FreeRTOS_Source/portable/GCC/RL78/portasm.S
FreeRTOS/Demo/RL78_E2Studio_GCC/src/FreeRTOS_Source/portable/GCC/RL78/portmacro.h
FreeRTOS/Demo/RL78_E2Studio_GCC/src/RegTest.S
FreeRTOS/Demo/RL78_E2Studio_GCC/src/main.c

index 41d71b41dbf41466c50d2abff8ceaf412b2c1dc1..6cce6bbcaa8102ba0b9f9a3d6ccbb6527d5cc582 100644 (file)
@@ -71,7 +71,7 @@
     <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
     <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_mdata"/>\r
   </sections>\r
-  <sections name=".data_original" isKeep="true">\r
+  <sections name=".data_original" isNoLoad="true" isKeep="true">\r
     <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="1023744"/>\r
     <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
     <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_data_original"/>\r
@@ -79,7 +79,6 @@
     <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".data_original.*"/>\r
     <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
     <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_edata_original"/>\r
-    <reservedMemAddress xsi:type="com.renesas.linkersection.model:ReferencedLabelAddress" label="//@sections.12/@contents.12"/>\r
   </sections>\r
   <sections name="trace_buffer" isKeep="true">\r
     <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="1024768"/>\r
@@ -90,8 +89,9 @@
     <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_data"/>\r
     <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".data"/>\r
     <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".data.*"/>\r
-    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_edata"/>\r
     <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_edata"/>\r
+    <reservedMemAddress xsi:type="com.renesas.linkersection.model:ReferencedLabelAddress" label="//@sections.12/@contents.12"/>\r
   </sections>\r
   <sections name=".bss">\r
     <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.15"/>\r
index 046f15423d64f24d3740faac7525c99e6d973f9b..cfbb8dc4546f2f7cc310e1d16f2eda64a25039e0 100644 (file)
@@ -3,8 +3,8 @@
 \r
 <cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">\r
        <storageModule moduleId="org.eclipse.cdt.core.settings">\r
-               <cconfiguration id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394">\r
-                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394" moduleId="org.eclipse.cdt.core.settings" name="HardwareDebug">\r
+               <cconfiguration id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896">\r
+                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896" moduleId="org.eclipse.cdt.core.settings" name="YRDKRL78G14">\r
                                <externalSettings/>\r
                                <extensions>\r
                                        <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>\r
                                </extensions>\r
                        </storageModule>\r
                        <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
-                               <configuration artifactExtension="mot" artifactName="RTOSDemo" buildArtefactType="com.renesas.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=com.renesas.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf *.lst *.lis *.lpp *.map" description="" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394" name="HardwareDebug" parent="com.renesas.cdt.RL78.configuration.hardwaredebug">\r
-                                       <folderInfo id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394." name="/" resourcePath="">\r
-                                               <toolChain id="com.renesas.cdt.RL78.toolChain.hardwaredebugConf.1486648127" name="KPIT GNURL78-ELF Toolchain" superClass="com.renesas.cdt.RL78.toolChain.hardwaredebugConf">\r
-                                                       <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" id="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform.458738982" osList="win32" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform"/>\r
-                                                       <builder buildPath="${workspace_loc:/RTOSDemo/HardwareDebug}" id="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id.1815542768" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="GNU Make Builder" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id"/>\r
-                                                       <tool command="rl78-elf-libgen" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id.898204242" name="Library Generator" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id">\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdio.1978567981" name="stdio.h : Performs input/oputput handling" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdio" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdlib.152368107" name="stdlib.h : Performs C program statndard processing such as storage area management" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdlib" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.string.596961681" name="string.h : Performs string comparison, copying " superClass="com.renesas.cdt.core.LibraryGenerator.option.string" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary.652647554" name="Select library" superClass="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary" value="Optimized" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.libraryType.703164222" name="Library type" superClass="com.renesas.cdt.core.LibraryGenerator.option.libraryType" value="Project-Built" valueType="enumerated"/>\r
+                               <configuration artifactExtension="mot" artifactName="RTOSDemo" buildArtefactType="com.renesas.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=com.renesas.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf *.lst *.lis *.lpp *.map" description="" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896" name="YRDKRL78G14" parent="com.renesas.cdt.RL78.configuration.hardwaredebug">\r
+                                       <folderInfo id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896." name="/" resourcePath="">\r
+                                               <toolChain id="com.renesas.cdt.RL78.toolChain.hardwaredebugConf.2105647290" name="KPIT GNURL78-ELF Toolchain" superClass="com.renesas.cdt.RL78.toolChain.hardwaredebugConf">\r
+                                                       <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" id="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform.1977742921" osList="win32" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform"/>\r
+                                                       <builder buildPath="${workspace_loc:/RTOSDemo/HardwareDebug}" id="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id.291234065" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="GNU Make Builder" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id"/>\r
+                                                       <tool command="rl78-elf-libgen" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id.915781966" name="Library Generator" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id">\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdio.442763428" name="stdio.h : Performs input/oputput handling" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdio" value="false" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdlib.73062971" name="stdlib.h : Performs C program statndard processing such as storage area management" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdlib" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.string.1752787959" name="string.h : Performs string comparison, copying " superClass="com.renesas.cdt.core.LibraryGenerator.option.string" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary.1349163289" name="Select library" superClass="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary" value="Optimized" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.libraryType.1850153794" name="Library type" superClass="com.renesas.cdt.core.LibraryGenerator.option.libraryType" value="Project-Built" valueType="enumerated"/>\r
                                                        </tool>\r
-                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id.323331132" name="Compiler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id">\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.1364542281" name="CPU Type" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.g14" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul.260959197" name="Multiplication code Generation Option" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul" value="None" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.includeFileDir.1067754383" name="Include file directories" superClass="com.renesas.cdt.core.Compiler.option.includeFileDir" valueType="includePath">\r
+                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id.1257527949" name="Compiler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id">\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.190677938" name="CPU Type" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.g14" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul.1081397113" name="Multiplication code Generation Option" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul" value="None" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.includeFileDir.18427768" name="Include file directories" superClass="com.renesas.cdt.core.Compiler.option.includeFileDir" valueType="includePath">\r
                                                                        <listOptionValue builtIn="false" value="&quot;${TCINSTALL}\rl78-elf\optlibinc&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/Common-Demo-Tasks/include}&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src}&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/FreeRTOS_Source/include}&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/FreeRTOS_Source/portable/GCC/RL78}&quot;"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.CPUSeries.880521657" name="Cpu Series" superClass="com.renesas.cdt.core.Compiler.option.CPUSeries" value="R5F10JBC" valueType="string"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning14.2112181183" name="Print extra warning messages(-Wextra)" superClass="com.renesas.cdt.core.Compiler.option.warning14" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.stdWarnings.1766930891" name="Standard Warnings" superClass="com.renesas.cdt.core.Compiler.option.stdWarnings" value="com.renesas.cdt.core.Compiler.option.stdWarnings.enableAll" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning1.1518994610" name="Issue Warning if an array subscript has type char(-Wchar-subscripts)" superClass="com.renesas.cdt.core.Compiler.option.warning1" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning2.180333158" name="Issue Warning if comment appears within comment(-Wcomment)" superClass="com.renesas.cdt.core.Compiler.option.warning2" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning3.658110954" name="Issue Warning if string functions format is incorrect(-Wformat)" superClass="com.renesas.cdt.core.Compiler.option.warning3" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning4.1235459335" name="Issue Warning if a function or parameter is implicitly declare(-Wimplicit)" superClass="com.renesas.cdt.core.Compiler.option.warning4" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning5.1569221265" name="Disable Warning about the use of #import(-Wno-import)" superClass="com.renesas.cdt.core.Compiler.option.warning5" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning6.769740812" name="Issue Warning if parantheses are omitted in certain contexts(-Wparentheses)" superClass="com.renesas.cdt.core.Compiler.option.warning6" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning7.1073639370" name="Issue Warning of possible return type problems(-Wreturn-type)" superClass="com.renesas.cdt.core.Compiler.option.warning7" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning8.1548061643" name="Issue Warning of possible switch statement problems(-Wswitch)" superClass="com.renesas.cdt.core.Compiler.option.warning8" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning9.1851919047" name="Issue Warning if any trigraphs are encountered(-Wtrigraphs)" superClass="com.renesas.cdt.core.Compiler.option.warning9" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning10.649453947" name="Issue Warning if a variable is unused aside from its declaration(-Wunused)" superClass="com.renesas.cdt.core.Compiler.option.warning10" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning11.1438339511" name="Issue Warning if an uninitialised automatic variable is used(-Wuninitialized)" superClass="com.renesas.cdt.core.Compiler.option.warning11" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning12.62902878" name="Issue Warning of member intialisation mismatch(-Wreorder)" superClass="com.renesas.cdt.core.Compiler.option.warning12" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning13.1346187712" name="Issue Warning of bad sign comparisions(-Wsign-compare)" superClass="com.renesas.cdt.core.Compiler.option.warning13" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.2111907264" name="Debug format" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.dwarf" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.474691448" name="Optimization level" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.none" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines.1975812623" name="Macro Defines" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines" valueType="stringList">\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.CPUSeries.492092351" name="Cpu Series" superClass="com.renesas.cdt.core.Compiler.option.CPUSeries" value="R5F10JBC" valueType="string"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning14.1999001488" name="Print extra warning messages(-Wextra)" superClass="com.renesas.cdt.core.Compiler.option.warning14" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.stdWarnings.2033355479" name="Standard Warnings" superClass="com.renesas.cdt.core.Compiler.option.stdWarnings" value="com.renesas.cdt.core.Compiler.option.stdWarnings.enableAll" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning1.1188153264" name="Issue Warning if an array subscript has type char(-Wchar-subscripts)" superClass="com.renesas.cdt.core.Compiler.option.warning1" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning2.1365724981" name="Issue Warning if comment appears within comment(-Wcomment)" superClass="com.renesas.cdt.core.Compiler.option.warning2" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning3.187071513" name="Issue Warning if string functions format is incorrect(-Wformat)" superClass="com.renesas.cdt.core.Compiler.option.warning3" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning4.167581461" name="Issue Warning if a function or parameter is implicitly declare(-Wimplicit)" superClass="com.renesas.cdt.core.Compiler.option.warning4" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning5.392920277" name="Disable Warning about the use of #import(-Wno-import)" superClass="com.renesas.cdt.core.Compiler.option.warning5" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning6.1735271693" name="Issue Warning if parantheses are omitted in certain contexts(-Wparentheses)" superClass="com.renesas.cdt.core.Compiler.option.warning6" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning7.1204889219" name="Issue Warning of possible return type problems(-Wreturn-type)" superClass="com.renesas.cdt.core.Compiler.option.warning7" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning8.1046413401" name="Issue Warning of possible switch statement problems(-Wswitch)" superClass="com.renesas.cdt.core.Compiler.option.warning8" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning9.150999274" name="Issue Warning if any trigraphs are encountered(-Wtrigraphs)" superClass="com.renesas.cdt.core.Compiler.option.warning9" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning10.215714668" name="Issue Warning if a variable is unused aside from its declaration(-Wunused)" superClass="com.renesas.cdt.core.Compiler.option.warning10" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning11.44335597" name="Issue Warning if an uninitialised automatic variable is used(-Wuninitialized)" superClass="com.renesas.cdt.core.Compiler.option.warning11" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning12.1212638254" name="Issue Warning of member intialisation mismatch(-Wreorder)" superClass="com.renesas.cdt.core.Compiler.option.warning12" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning13.1936980483" name="Issue Warning of bad sign comparisions(-Wsign-compare)" superClass="com.renesas.cdt.core.Compiler.option.warning13" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.1002084348" name="Debug format" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.dwarf" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.1876718114" name="Optimization level" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.none" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines.1159637418" name="Macro Defines" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines" valueType="stringList">\r
                                                                        <listOptionValue builtIn="false" value="YRDKRL78G14"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.includeSymbolTable.1341454572" name="Include Symbol Table(s)" superClass="com.renesas.cdt.core.Compiler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
-                                                               <inputType id="%Base.Compiler.C.InputType.Id.304532987" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.includeSymbolTable.318290481" name="Include Symbol Table(s)" superClass="com.renesas.cdt.core.Compiler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
+                                                               <inputType id="%Base.Compiler.C.InputType.Id.1290374987" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>\r
                                                        </tool>\r
-                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id.1483562315" name="Assembler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id">\r
-                                                               <option id="com.renesas.cdt.core.Assembler.option.includeFileDirectories.1195749866" name="Include file directories" superClass="com.renesas.cdt.core.Assembler.option.includeFileDirectories" valueType="includePath">\r
+                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id.1164252651" name="Assembler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id">\r
+                                                               <option id="com.renesas.cdt.core.Assembler.option.includeFileDirectories.611081498" name="Include file directories" superClass="com.renesas.cdt.core.Assembler.option.includeFileDirectories" valueType="includePath">\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}}\src&quot;"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.core.Assembler.option.includeSymbolTable.139641641" name="Include Symbol Table(-as)" superClass="com.renesas.cdt.core.Assembler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
-                                                               <inputType id="%Base.Assembler.inputType.Id.1124641218" name="Assembler InputType" superClass="%Base.Assembler.inputType.Id"/>\r
+                                                               <option id="com.renesas.cdt.core.Assembler.option.includeSymbolTable.2099981296" name="Include Symbol Table(-as)" superClass="com.renesas.cdt.core.Assembler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
+                                                               <inputType id="%Base.Assembler.inputType.Id.1153908375" name="Assembler InputType" superClass="%Base.Assembler.inputType.Id"/>\r
                                                        </tool>\r
-                                                       <tool command="rl78-elf-ld" commandLinePattern="${COMMAND} ${OUTPUT_FLAG}${OUTPUT_PREFIX} ${OUTPUT}${INPUTS} ${FLAGS}" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id.148124689" name="Linker" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id">\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.970009502" name="Archive search directories" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories" valueType="stringList">\r
+                                                       <tool command="rl78-elf-ld" commandLinePattern="${COMMAND} ${OUTPUT_FLAG}${OUTPUT_PREFIX} ${OUTPUT}${INPUTS} ${FLAGS}" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id.1989122310" name="Linker" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id">\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.984802356" name="Archive search directories" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories" valueType="stringList">\r
                                                                        <listOptionValue builtIn="false" value="&quot;${CONFIGDIR}&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${TCINSTALL}\lib\gcc\rl78-elf\\${GCC_VERSION}&quot;"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles.628448046" name="Archive (library) files" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles" valueType="stringList">\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles.1052424957" name="Archive (library) files" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles" valueType="stringList">\r
                                                                        <listOptionValue builtIn="false" value="${ProjName}"/>\r
                                                                        <listOptionValue builtIn="false" value="gcc"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.core.Linker.option.userDefinedOptions.1480388571" name="User defined options" superClass="com.renesas.cdt.core.Linker.option.userDefinedOptions" valueType="stringList">\r
+                                                               <option id="com.renesas.cdt.core.Linker.option.userDefinedOptions.518249328" name="User defined options" superClass="com.renesas.cdt.core.Linker.option.userDefinedOptions" valueType="stringList">\r
                                                                        <listOptionValue builtIn="false" value="-e_PowerON_Reset"/>\r
                                                                </option>\r
-                                                               <option command="-stats" id="com.renesas.cdt.core.Linker.option.misc8.1524197031" name="Compute and display statistics about the operation of the linker(-stats)" superClass="com.renesas.cdt.core.Linker.option.misc8" value="true" valueType="boolean"/>\r
+                                                               <option command="-stats" id="com.renesas.cdt.core.Linker.option.misc8.1335307106" name="Compute and display statistics about the operation of the linker(-stats)" superClass="com.renesas.cdt.core.Linker.option.misc8" value="true" valueType="boolean"/>\r
                                                        </tool>\r
-                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id.1332327082" name="Objcopy" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id"/>\r
+                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id.1661224436" name="Objcopy" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id"/>\r
                                                </toolChain>\r
                                        </folderInfo>\r
                                        <sourceEntries>\r
-                                               <entry excluding="src/RegTest.S" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>\r
                                        </sourceEntries>\r
                                </configuration>\r
                        </storageModule>\r
                        <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>\r
                        <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>\r
                </cconfiguration>\r
-               <cconfiguration id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896">\r
-                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896" moduleId="org.eclipse.cdt.core.settings" name="YRDKRL78G14">\r
+               <cconfiguration id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.848838140">\r
+                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.848838140" moduleId="org.eclipse.cdt.core.settings" name="RSKRL78G1C">\r
                                <externalSettings/>\r
                                <extensions>\r
                                        <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>\r
                                </extensions>\r
                        </storageModule>\r
                        <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
-                               <configuration artifactExtension="mot" artifactName="RTOSDemo" buildArtefactType="com.renesas.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=com.renesas.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf *.lst *.lis *.lpp *.map" description="" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896" name="YRDKRL78G14" parent="com.renesas.cdt.RL78.configuration.hardwaredebug">\r
-                                       <folderInfo id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896." name="/" resourcePath="">\r
-                                               <toolChain id="com.renesas.cdt.RL78.toolChain.hardwaredebugConf.2105647290" name="KPIT GNURL78-ELF Toolchain" superClass="com.renesas.cdt.RL78.toolChain.hardwaredebugConf">\r
-                                                       <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" id="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform.1977742921" osList="win32" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform"/>\r
-                                                       <builder buildPath="${workspace_loc:/RTOSDemo/HardwareDebug}" id="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id.291234065" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="GNU Make Builder" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id"/>\r
-                                                       <tool command="rl78-elf-libgen" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id.915781966" name="Library Generator" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id">\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdio.442763428" name="stdio.h : Performs input/oputput handling" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdio" value="false" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdlib.73062971" name="stdlib.h : Performs C program statndard processing such as storage area management" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdlib" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.string.1752787959" name="string.h : Performs string comparison, copying " superClass="com.renesas.cdt.core.LibraryGenerator.option.string" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary.1349163289" name="Select library" superClass="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary" value="Optimized" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.libraryType.1850153794" name="Library type" superClass="com.renesas.cdt.core.LibraryGenerator.option.libraryType" value="Project-Built" valueType="enumerated"/>\r
+                               <configuration artifactExtension="mot" artifactName="RTOSDemo" buildArtefactType="com.renesas.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=com.renesas.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf *.lst *.lis *.lpp *.map" description="" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.848838140" name="RSKRL78G1C" parent="com.renesas.cdt.RL78.configuration.hardwaredebug">\r
+                                       <folderInfo id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.848838140." name="/" resourcePath="">\r
+                                               <toolChain id="com.renesas.cdt.RL78.toolChain.hardwaredebugConf.1539056525" name="KPIT GNURL78-ELF Toolchain" superClass="com.renesas.cdt.RL78.toolChain.hardwaredebugConf">\r
+                                                       <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" id="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform.1930314102" osList="win32" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform"/>\r
+                                                       <builder buildPath="${workspace_loc:/RTOSDemo/HardwareDebug}" id="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id.513359906" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="GNU Make Builder" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id"/>\r
+                                                       <tool command="rl78-elf-libgen" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id.1268974285" name="Library Generator" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id">\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdio.911793759" name="stdio.h : Performs input/oputput handling" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdio" value="false" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdlib.1355603265" name="stdlib.h : Performs C program statndard processing such as storage area management" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdlib" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.string.1375717436" name="string.h : Performs string comparison, copying " superClass="com.renesas.cdt.core.LibraryGenerator.option.string" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary.2003767005" name="Select library" superClass="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary" value="Optimized" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.libraryType.1466545808" name="Library type" superClass="com.renesas.cdt.core.LibraryGenerator.option.libraryType" value="Project-Built" valueType="enumerated"/>\r
                                                        </tool>\r
-                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id.1257527949" name="Compiler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id">\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.190677938" name="CPU Type" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.g14" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul.1081397113" name="Multiplication code Generation Option" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul" value="None" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.includeFileDir.18427768" name="Include file directories" superClass="com.renesas.cdt.core.Compiler.option.includeFileDir" valueType="includePath">\r
+                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id.2123469861" name="Compiler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id">\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.973510681" name="CPU Type" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.g1c" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul.876151860" name="Multiplication code Generation Option" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul" value="None" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.includeFileDir.709582364" name="Include file directories" superClass="com.renesas.cdt.core.Compiler.option.includeFileDir" valueType="includePath">\r
                                                                        <listOptionValue builtIn="false" value="&quot;${TCINSTALL}\rl78-elf\optlibinc&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/Common-Demo-Tasks/include}&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src}&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/FreeRTOS_Source/include}&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/FreeRTOS_Source/portable/GCC/RL78}&quot;"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.CPUSeries.492092351" name="Cpu Series" superClass="com.renesas.cdt.core.Compiler.option.CPUSeries" value="R5F10JBC" valueType="string"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning14.1999001488" name="Print extra warning messages(-Wextra)" superClass="com.renesas.cdt.core.Compiler.option.warning14" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.stdWarnings.2033355479" name="Standard Warnings" superClass="com.renesas.cdt.core.Compiler.option.stdWarnings" value="com.renesas.cdt.core.Compiler.option.stdWarnings.enableAll" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning1.1188153264" name="Issue Warning if an array subscript has type char(-Wchar-subscripts)" superClass="com.renesas.cdt.core.Compiler.option.warning1" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning2.1365724981" name="Issue Warning if comment appears within comment(-Wcomment)" superClass="com.renesas.cdt.core.Compiler.option.warning2" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning3.187071513" name="Issue Warning if string functions format is incorrect(-Wformat)" superClass="com.renesas.cdt.core.Compiler.option.warning3" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning4.167581461" name="Issue Warning if a function or parameter is implicitly declare(-Wimplicit)" superClass="com.renesas.cdt.core.Compiler.option.warning4" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning5.392920277" name="Disable Warning about the use of #import(-Wno-import)" superClass="com.renesas.cdt.core.Compiler.option.warning5" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning6.1735271693" name="Issue Warning if parantheses are omitted in certain contexts(-Wparentheses)" superClass="com.renesas.cdt.core.Compiler.option.warning6" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning7.1204889219" name="Issue Warning of possible return type problems(-Wreturn-type)" superClass="com.renesas.cdt.core.Compiler.option.warning7" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning8.1046413401" name="Issue Warning of possible switch statement problems(-Wswitch)" superClass="com.renesas.cdt.core.Compiler.option.warning8" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning9.150999274" name="Issue Warning if any trigraphs are encountered(-Wtrigraphs)" superClass="com.renesas.cdt.core.Compiler.option.warning9" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning10.215714668" name="Issue Warning if a variable is unused aside from its declaration(-Wunused)" superClass="com.renesas.cdt.core.Compiler.option.warning10" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning11.44335597" name="Issue Warning if an uninitialised automatic variable is used(-Wuninitialized)" superClass="com.renesas.cdt.core.Compiler.option.warning11" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning12.1212638254" name="Issue Warning of member intialisation mismatch(-Wreorder)" superClass="com.renesas.cdt.core.Compiler.option.warning12" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.warning13.1936980483" name="Issue Warning of bad sign comparisions(-Wsign-compare)" superClass="com.renesas.cdt.core.Compiler.option.warning13" value="true" valueType="boolean"/>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.1002084348" name="Debug format" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.dwarf" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.1876718114" name="Optimization level" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.none" valueType="enumerated"/>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines.1159637418" name="Macro Defines" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines" valueType="stringList">\r
-                                                                       <listOptionValue builtIn="false" value="YRDKRL78G14"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.CPUSeries.1635355107" name="Cpu Series" superClass="com.renesas.cdt.core.Compiler.option.CPUSeries" value="R5F10JBC" valueType="string"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning14.718469333" name="Print extra warning messages(-Wextra)" superClass="com.renesas.cdt.core.Compiler.option.warning14" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.stdWarnings.1773056093" name="Standard Warnings" superClass="com.renesas.cdt.core.Compiler.option.stdWarnings" value="com.renesas.cdt.core.Compiler.option.stdWarnings.enableAll" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning1.409407684" name="Issue Warning if an array subscript has type char(-Wchar-subscripts)" superClass="com.renesas.cdt.core.Compiler.option.warning1" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning2.197154356" name="Issue Warning if comment appears within comment(-Wcomment)" superClass="com.renesas.cdt.core.Compiler.option.warning2" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning3.1784044334" name="Issue Warning if string functions format is incorrect(-Wformat)" superClass="com.renesas.cdt.core.Compiler.option.warning3" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning4.1225978557" name="Issue Warning if a function or parameter is implicitly declare(-Wimplicit)" superClass="com.renesas.cdt.core.Compiler.option.warning4" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning5.1962967676" name="Disable Warning about the use of #import(-Wno-import)" superClass="com.renesas.cdt.core.Compiler.option.warning5" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning6.248630929" name="Issue Warning if parantheses are omitted in certain contexts(-Wparentheses)" superClass="com.renesas.cdt.core.Compiler.option.warning6" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning7.1359720126" name="Issue Warning of possible return type problems(-Wreturn-type)" superClass="com.renesas.cdt.core.Compiler.option.warning7" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning8.110294476" name="Issue Warning of possible switch statement problems(-Wswitch)" superClass="com.renesas.cdt.core.Compiler.option.warning8" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning9.677978489" name="Issue Warning if any trigraphs are encountered(-Wtrigraphs)" superClass="com.renesas.cdt.core.Compiler.option.warning9" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning10.1887488640" name="Issue Warning if a variable is unused aside from its declaration(-Wunused)" superClass="com.renesas.cdt.core.Compiler.option.warning10" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning11.1812348470" name="Issue Warning if an uninitialised automatic variable is used(-Wuninitialized)" superClass="com.renesas.cdt.core.Compiler.option.warning11" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning12.803153981" name="Issue Warning of member intialisation mismatch(-Wreorder)" superClass="com.renesas.cdt.core.Compiler.option.warning12" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning13.738663367" name="Issue Warning of bad sign comparisions(-Wsign-compare)" superClass="com.renesas.cdt.core.Compiler.option.warning13" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.971374425" name="Debug format" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.dwarf" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.2018542110" name="Optimization level" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.none" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines.1382612927" name="Macro Defines" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="RSKRL78G1C"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.core.Compiler.option.includeSymbolTable.318290481" name="Include Symbol Table(s)" superClass="com.renesas.cdt.core.Compiler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
-                                                               <inputType id="%Base.Compiler.C.InputType.Id.1290374987" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.includeSymbolTable.992185200" name="Include Symbol Table(s)" superClass="com.renesas.cdt.core.Compiler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
+                                                               <inputType id="%Base.Compiler.C.InputType.Id.1356266742" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>\r
                                                        </tool>\r
-                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id.1164252651" name="Assembler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id">\r
-                                                               <option id="com.renesas.cdt.core.Assembler.option.includeFileDirectories.611081498" name="Include file directories" superClass="com.renesas.cdt.core.Assembler.option.includeFileDirectories" valueType="includePath">\r
+                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id.870260982" name="Assembler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id">\r
+                                                               <option id="com.renesas.cdt.core.Assembler.option.includeFileDirectories.2084802267" name="Include file directories" superClass="com.renesas.cdt.core.Assembler.option.includeFileDirectories" valueType="includePath">\r
                                                                        <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}}\src&quot;"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.core.Assembler.option.includeSymbolTable.2099981296" name="Include Symbol Table(-as)" superClass="com.renesas.cdt.core.Assembler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
-                                                               <inputType id="%Base.Assembler.inputType.Id.1153908375" name="Assembler InputType" superClass="%Base.Assembler.inputType.Id"/>\r
+                                                               <option id="com.renesas.cdt.core.Assembler.option.includeSymbolTable.703108790" name="Include Symbol Table(-as)" superClass="com.renesas.cdt.core.Assembler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
+                                                               <inputType id="%Base.Assembler.inputType.Id.65149048" name="Assembler InputType" superClass="%Base.Assembler.inputType.Id"/>\r
                                                        </tool>\r
-                                                       <tool command="rl78-elf-ld" commandLinePattern="${COMMAND} ${OUTPUT_FLAG}${OUTPUT_PREFIX} ${OUTPUT}${INPUTS} ${FLAGS}" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id.1989122310" name="Linker" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id">\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.984802356" name="Archive search directories" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories" valueType="stringList">\r
+                                                       <tool command="rl78-elf-ld" commandLinePattern="${COMMAND} ${OUTPUT_FLAG}${OUTPUT_PREFIX} ${OUTPUT}${INPUTS} ${FLAGS}" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id.1025535221" name="Linker" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id">\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1960648199" name="Archive search directories" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories" valueType="stringList">\r
                                                                        <listOptionValue builtIn="false" value="&quot;${CONFIGDIR}&quot;"/>\r
                                                                        <listOptionValue builtIn="false" value="&quot;${TCINSTALL}\lib\gcc\rl78-elf\\${GCC_VERSION}&quot;"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles.1052424957" name="Archive (library) files" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles" valueType="stringList">\r
+                                                               <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles.1335777265" name="Archive (library) files" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles" valueType="stringList">\r
                                                                        <listOptionValue builtIn="false" value="${ProjName}"/>\r
                                                                        <listOptionValue builtIn="false" value="gcc"/>\r
                                                                </option>\r
-                                                               <option id="com.renesas.cdt.core.Linker.option.userDefinedOptions.518249328" name="User defined options" superClass="com.renesas.cdt.core.Linker.option.userDefinedOptions" valueType="stringList">\r
+                                                               <option id="com.renesas.cdt.core.Linker.option.userDefinedOptions.1800942722" name="User defined options" superClass="com.renesas.cdt.core.Linker.option.userDefinedOptions" valueType="stringList">\r
                                                                        <listOptionValue builtIn="false" value="-e_PowerON_Reset"/>\r
                                                                </option>\r
-                                                               <option command="-stats" id="com.renesas.cdt.core.Linker.option.misc8.1335307106" name="Compute and display statistics about the operation of the linker(-stats)" superClass="com.renesas.cdt.core.Linker.option.misc8" value="true" valueType="boolean"/>\r
+                                                               <option command="-stats" id="com.renesas.cdt.core.Linker.option.misc8.661027224" name="Compute and display statistics about the operation of the linker(-stats)" superClass="com.renesas.cdt.core.Linker.option.misc8" value="true" valueType="boolean"/>\r
                                                        </tool>\r
-                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id.1661224436" name="Objcopy" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id"/>\r
+                                                       <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id.1504543797" name="Objcopy" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id"/>\r
                                                </toolChain>\r
                                        </folderInfo>\r
                                        <sourceEntries>\r
index 173fe2f6d5b58b403357d44ded45a541f41b8a8e..d51f1b1409058bad72ab881f5de216e3bac70466 100644 (file)
@@ -1,4 +1,4 @@
-#Mon Mar 04 17:13:11 GMT 2013\r
+#Wed Mar 06 15:45:34 GMT 2013\r
 Library\ Generator\ Command=rl78-elf-libgen\r
 com.renesas.cdt.core.Assembler.option.includeFileDirectories="${workspace_loc\:/${ProjName}}\\src";\r
 com.renesas.cdt.core.Compiler.option.includeFileDir.1067754383="${TCINSTALL}\\rl78-elf\\optlibinc";\r
@@ -14,6 +14,7 @@ com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType=RL78 - G1C
 com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.1364542281=RL78 - G1C\r
 com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul=None\r
 com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles=${ProjName};gcc;\r
+com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1960648199="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";\r
 com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.970009502="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";\r
 com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.984802356="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";\r
 eclipse.preferences.version=1\r
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/RSKRL78G1C.launch b/FreeRTOS/Demo/RL78_E2Studio_GCC/RSKRL78G1C.launch
new file mode 100644 (file)
index 0000000..a0ae46e
--- /dev/null
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<launchConfiguration type="com.renesas.cdt.launch.dsf.gdbremote.launchConfigurationType">\r
+<intAttribute key="com.renesas.cdt.core.admPortNumber" value="61236"/>\r
+<stringAttribute key="com.renesas.cdt.core.initCommands" value=""/>\r
+<stringAttribute key="com.renesas.cdt.core.ipAddress" value="localhost"/>\r
+<stringAttribute key="com.renesas.cdt.core.jtagDevice" value="E1 (RL78)"/>\r
+<booleanAttribute key="com.renesas.cdt.core.loadImage" value="true"/>\r
+<stringAttribute key="com.renesas.cdt.core.optionInitCommands" value=""/>\r
+<intAttribute key="com.renesas.cdt.core.portNumber" value="61234"/>\r
+<stringAttribute key="com.renesas.cdt.core.runCommands" value=""/>\r
+<stringAttribute key="com.renesas.cdt.core.serverParam" value="-g E1  -l 0 -t R5F10JGC  -p 61234 -d 61236 -umFreq= 0 -usFreq= 0 -umClock= 1 -w 0 -usupplyVoltage= 1 -ucommMethod= 0 -usecurityID= 00000000000000000000 -upermitFlash= 1 -uuseWideVoltageMode= 1 -ueraseRom= 1 -uuseOnChipDebug= 0 -uuseUserOptionByte= 0 -ustopTimerEmu= 0 -ustopSerialEmu= 0 -umaskInternalResetSignal= 0 -umaskTargetResetSignal= 0 -n 0 -uverifyOnWritingMemory= 1"/>\r
+<booleanAttribute key="com.renesas.cdt.core.setResume" value="true"/>\r
+<booleanAttribute key="com.renesas.cdt.core.setStopAt" value="true"/>\r
+<booleanAttribute key="com.renesas.cdt.core.startServer" value="true"/>\r
+<stringAttribute key="com.renesas.cdt.core.stopAt" value="main"/>\r
+<stringAttribute key="com.renesas.cdt.core.targetDevice" value="R5F10JGC"/>\r
+<booleanAttribute key="com.renesas.cdt.core.useRemoteTarget" value="true"/>\r
+<booleanAttribute key="com.renesas.cdt.core.verboseMode" value="false"/>\r
+<stringAttribute key="com.renesas.cdt.launch.dsf.IO_MAP" value="${eclipse_home}..\internal\IoFiles\RL78\R5F10JGC.sfrx"/>\r
+<booleanAttribute key="com.renesas.cdt.launch.dsf.USE_DEFAULT_IO_MAP" value="true"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.allow.clock.source.internal" value="false"/>\r
+<intAttribute key="com.renesas.hardwaredebug.e1.clock_source" value="0"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.connection.mode" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.e1_pwr" value="true"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.execute.program" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.external_memory" value=""/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.fine.baud.rate" value="2.00"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.flash_overwrite_blocks" value=""/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.hw_break" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.id_code" value="FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.inputclock" value="12.0000"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.jtag.clock.freq" value="16.5"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.jtag.or.fine" value="1"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.le" value="true"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.mode" value="0"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.mode_pin" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.prog_rewrite_dflash" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.prog_rewrite_irom" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.supply.voltage" value="3.3V"/>\r
+<intAttribute key="com.renesas.hardwaredebug.e1.work_ram_start" value="4096"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.communication.method" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.e1_pwr" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.eraseFlash" value="true"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.hw_break" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.le" value="true"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.main.clock.freq" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.mask.internal.reset.signal" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.mask.target.reset.signal" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.monitor.clock" value="1"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.permit.flash.programming" value="true"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.security.id" value="00000000000000000000"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.stopSerialEmu" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.stopTimerEmu" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.sub.clock.freq" value="0"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.supply.voltage" value="1"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.use.wide.voltage.mode" value="true"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.verify.on.writing.to.memory" value="true"/>\r
+<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.delay" value="3"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doHalt" value="true"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doReset" value="false"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageFileName" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageOffset" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.initCommands" value=""/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadImage" value="true"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadSymbols" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.pcRegister" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.runCommands" value=""/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setPcRegister" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setResume" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setStopAt" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.stopAt" value="main"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsFileName" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsOffset" value=""/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForImage" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForSymbols" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForImage" value="true"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForSymbols" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${eclipse_home}../DebugComp/rl78-elf-gdb"/>\r
+<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="true"/>\r
+<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>\r
+<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="RSKRL78G1C/RTOSDemo.x"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="RTOSDemo"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>\r
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">\r
+<listEntry value="/RTOSDemo"/>\r
+</listAttribute>\r
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">\r
+<listEntry value="4"/>\r
+</listAttribute>\r
+<booleanAttribute key="org.eclipse.debug.core.capture_output" value="false"/>\r
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON" value="false"/>\r
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>\r
+<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;memoryBlockExpressionList context=&quot;reserved-for-future-use&quot;/&gt;&#13;&#10;"/>\r
+</launchConfiguration>\r
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/YRDKRL78G14.launch b/FreeRTOS/Demo/RL78_E2Studio_GCC/YRDKRL78G14.launch
new file mode 100644 (file)
index 0000000..b600154
--- /dev/null
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<launchConfiguration type="com.renesas.cdt.launch.dsf.gdbremote.launchConfigurationType">\r
+<intAttribute key="com.renesas.cdt.core.admPortNumber" value="61236"/>\r
+<stringAttribute key="com.renesas.cdt.core.initCommands" value=""/>\r
+<stringAttribute key="com.renesas.cdt.core.ipAddress" value="localhost"/>\r
+<stringAttribute key="com.renesas.cdt.core.jtagDevice" value="E1 (RL78)"/>\r
+<booleanAttribute key="com.renesas.cdt.core.loadImage" value="true"/>\r
+<stringAttribute key="com.renesas.cdt.core.optionInitCommands" value=""/>\r
+<intAttribute key="com.renesas.cdt.core.portNumber" value="61234"/>\r
+<stringAttribute key="com.renesas.cdt.core.runCommands" value=""/>\r
+<stringAttribute key="com.renesas.cdt.core.serverParam" value="-g E1  -l 0 -t R5F104PJ  -p 61234 -d 61236 -umFreq= 0 -usFreq= 0 -umClock= 1 -w 0 -usupplyVoltage= 1 -ucommMethod= 0 -usecurityID= 00000000000000000000 -upermitFlash= 1 -uuseWideVoltageMode= 1 -ueraseRom= 1 -uuseOnChipDebug= 0 -uuseUserOptionByte= 0 -ustopTimerEmu= 0 -ustopSerialEmu= 0 -umaskInternalResetSignal= 0 -umaskTargetResetSignal= 0 -n 0 -uverifyOnWritingMemory= 1"/>\r
+<booleanAttribute key="com.renesas.cdt.core.setResume" value="true"/>\r
+<booleanAttribute key="com.renesas.cdt.core.setStopAt" value="true"/>\r
+<booleanAttribute key="com.renesas.cdt.core.startServer" value="true"/>\r
+<stringAttribute key="com.renesas.cdt.core.stopAt" value="main"/>\r
+<stringAttribute key="com.renesas.cdt.core.targetDevice" value="R5F104PJ"/>\r
+<booleanAttribute key="com.renesas.cdt.core.useRemoteTarget" value="true"/>\r
+<booleanAttribute key="com.renesas.cdt.core.verboseMode" value="false"/>\r
+<stringAttribute key="com.renesas.cdt.launch.dsf.IO_MAP" value="${eclipse_home}..\internal\IoFiles\RL78\R5F104PJ.sfrx"/>\r
+<booleanAttribute key="com.renesas.cdt.launch.dsf.USE_DEFAULT_IO_MAP" value="true"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.allow.clock.source.internal" value="false"/>\r
+<intAttribute key="com.renesas.hardwaredebug.e1.clock_source" value="0"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.connection.mode" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.e1_pwr" value="true"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.execute.program" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.external_memory" value=""/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.fine.baud.rate" value="2.00"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.flash_overwrite_blocks" value=""/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.hw_break" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.id_code" value="FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.inputclock" value="12.0000"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.jtag.clock.freq" value="16.5"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.jtag.or.fine" value="1"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.le" value="true"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.mode" value="0"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.mode_pin" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.prog_rewrite_dflash" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.prog_rewrite_irom" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.supply.voltage" value="3.3V"/>\r
+<intAttribute key="com.renesas.hardwaredebug.e1.work_ram_start" value="4096"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.communication.method" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.e1_pwr" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.eraseFlash" value="true"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.hw_break" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.le" value="true"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.main.clock.freq" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.mask.internal.reset.signal" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.mask.target.reset.signal" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.monitor.clock" value="1"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.permit.flash.programming" value="true"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.security.id" value="00000000000000000000"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.stopSerialEmu" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.stopTimerEmu" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.sub.clock.freq" value="0"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1rl78.supply.voltage" value="1"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.use.wide.voltage.mode" value="true"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1rl78.verify.on.writing.to.memory" value="true"/>\r
+<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.delay" value="3"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doHalt" value="true"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doReset" value="false"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageFileName" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageOffset" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.initCommands" value=""/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadImage" value="true"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadSymbols" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.pcRegister" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.runCommands" value=""/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setPcRegister" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setResume" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setStopAt" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.stopAt" value="main"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsFileName" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsOffset" value=""/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForImage" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForSymbols" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForImage" value="true"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForSymbols" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${eclipse_home}../DebugComp/rl78-elf-gdb"/>\r
+<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="true"/>\r
+<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>\r
+<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="YRDKRL78G14/RTOSDemo.x"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="RTOSDemo"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>\r
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">\r
+<listEntry value="/RTOSDemo"/>\r
+</listAttribute>\r
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">\r
+<listEntry value="4"/>\r
+</listAttribute>\r
+<booleanAttribute key="org.eclipse.debug.core.capture_output" value="false"/>\r
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON" value="false"/>\r
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>\r
+<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;memoryBlockExpressionList context=&quot;reserved-for-future-use&quot;/&gt;&#13;&#10;"/>\r
+</launchConfiguration>\r
index 81b3ef96cdf4d50e0fee3d29ed1aa8a41cdf2aaf..5b34d8a6a974f3ffc780f501e302df3788136d9c 100644 (file)
     ***************************************************************************\r
 \r
 \r
-    http://www.FreeRTOS.org - Documentation, books, training, latest versions, \r
+    http://www.FreeRTOS.org - Documentation, books, training, latest versions,\r
     license and Real Time Engineers Ltd. contact details.\r
 \r
     http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
     including FreeRTOS+Trace - an indispensable productivity tool, and our new\r
     fully thread aware and reentrant UDP/IP stack.\r
 \r
-    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High \r
-    Integrity Systems, who sell the code with commercial support, \r
+    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High\r
+    Integrity Systems, who sell the code with commercial support,\r
     indemnification and middleware, under the OpenRTOS brand.\r
-    \r
-    http://www.SafeRTOS.com - High Integrity Systems also provide a safety \r
-    engineered and independently SIL3 certified version for use in safety and \r
+\r
+    http://www.SafeRTOS.com - High Integrity Systems also provide a safety\r
+    engineered and independently SIL3 certified version for use in safety and\r
     mission critical applications that require provable dependability.\r
 */\r
 \r
 /*\r
- * The first test creates three tasks - two counter tasks (one continuous count \r
- * and one limited count) and one controller.  A "count" variable is shared \r
- * between all three tasks.  The two counter tasks should never be in a "ready" \r
- * state at the same time.  The controller task runs at the same priority as \r
- * the continuous count task, and at a lower priority than the limited count \r
+ * The first test creates three tasks - two counter tasks (one continuous count\r
+ * and one limited count) and one controller.  A "count" variable is shared\r
+ * between all three tasks.  The two counter tasks should never be in a "ready"\r
+ * state at the same time.  The controller task runs at the same priority as\r
+ * the continuous count task, and at a lower priority than the limited count\r
  * task.\r
  *\r
  * One counter task loops indefinitely, incrementing the shared count variable\r
  * on each iteration.  To ensure it has exclusive access to the variable it\r
- * raises it's priority above that of the controller task before each \r
+ * raises it's priority above that of the controller task before each\r
  * increment, lowering it again to it's original priority before starting the\r
  * next iteration.\r
  *\r
  * The other counter task increments the shared count variable on each\r
  * iteration of it's loop until the count has reached a limit of 0xff - at\r
- * which point it suspends itself.  It will not start a new loop until the \r
- * controller task has made it "ready" again by calling vTaskResume ().  \r
- * This second counter task operates at a higher priority than controller \r
- * task so does not need to worry about mutual exclusion of the counter \r
+ * which point it suspends itself.  It will not start a new loop until the\r
+ * controller task has made it "ready" again by calling vTaskResume ().\r
+ * This second counter task operates at a higher priority than controller\r
+ * task so does not need to worry about mutual exclusion of the counter\r
  * variable.\r
  *\r
  * The controller task is in two sections.  The first section controls and\r
- * monitors the continuous count task.  When this section is operational the \r
- * limited count task is suspended.  Likewise, the second section controls \r
- * and monitors the limited count task.  When this section is operational the \r
+ * monitors the continuous count task.  When this section is operational the\r
+ * limited count task is suspended.  Likewise, the second section controls\r
+ * and monitors the limited count task.  When this section is operational the\r
  * continuous count task is suspended.\r
  *\r
  * In the first section the controller task first takes a copy of the shared\r
  * the continuous count task will execute and increment the shared variable.\r
  * When the controller task wakes it checks that the continuous count task\r
  * has executed by comparing the copy of the shared variable with its current\r
- * value.  This time, to ensure mutual exclusion, the scheduler itself is \r
- * suspended with a call to vTaskSuspendAll ().  This is for demonstration \r
+ * value.  This time, to ensure mutual exclusion, the scheduler itself is\r
+ * suspended with a call to vTaskSuspendAll ().  This is for demonstration\r
  * purposes only and is not a recommended technique due to its inefficiency.\r
  *\r
- * After a fixed number of iterations the controller task suspends the \r
+ * After a fixed number of iterations the controller task suspends the\r
  * continuous count task, and moves on to its second section.\r
  *\r
  * At the start of the second section the shared variable is cleared to zero.\r
  * a check on the shared variable to ensure everything is as expected.\r
  *\r
  *\r
- * The second test consists of a couple of very simple tasks that post onto a \r
+ * The second test consists of a couple of very simple tasks that post onto a\r
  * queue while the scheduler is suspended.  This test was added to test parts\r
  * of the scheduler not exercised by the first test.\r
  *\r
@@ -165,7 +165,7 @@ static portTASK_FUNCTION_PROTO( vQueueSendWhenSuspendedTask, pvParameters );
 to the controller task to prevent them having to be file scope. */\r
 static xTaskHandle xContinousIncrementHandle, xLimitedIncrementHandle;\r
 \r
-/* The shared counter variable.  This is passed in as a parameter to the two \r
+/* The shared counter variable.  This is passed in as a parameter to the two\r
 counter variables for demonstration purposes. */\r
 static unsigned long ulCounter;\r
 \r
@@ -178,7 +178,7 @@ static volatile portBASE_TYPE xSuspendedQueueSendError = pdFALSE;
 static volatile portBASE_TYPE xSuspendedQueueReceiveError = pdFALSE;\r
 \r
 /* Queue used by the second test. */\r
-xQueueHandle xSuspendedTestQueue;\r
+static xQueueHandle xSuspendedTestQueue;\r
 \r
 /*-----------------------------------------------------------*/\r
 /*\r
@@ -190,10 +190,10 @@ void vStartDynamicPriorityTasks( void )
        xSuspendedTestQueue = xQueueCreate( priSUSPENDED_QUEUE_LENGTH, sizeof( unsigned long ) );\r
 \r
        /* vQueueAddToRegistry() adds the queue to the queue registry, if one is\r
-       in use.  The queue registry is provided as a means for kernel aware \r
+       in use.  The queue registry is provided as a means for kernel aware\r
        debuggers to locate queues and has no purpose if a kernel aware debugger\r
        is not being used.  The call to vQueueAddToRegistry() will be removed\r
-       by the pre-processor if configQUEUE_REGISTRY_SIZE is not defined or is \r
+       by the pre-processor if configQUEUE_REGISTRY_SIZE is not defined or is\r
        defined to be less than 1. */\r
        vQueueAddToRegistry( xSuspendedTestQueue, ( signed char * ) "Suspended_Test_Queue" );\r
 \r
@@ -207,7 +207,7 @@ void vStartDynamicPriorityTasks( void )
 \r
 /*\r
  * Just loops around incrementing the shared variable until the limit has been\r
- * reached.  Once the limit has been reached it suspends itself. \r
+ * reached.  Once the limit has been reached it suspends itself.\r
  */\r
 static portTASK_FUNCTION( vLimitedIncrementTask, pvParameters )\r
 {\r
@@ -224,12 +224,12 @@ unsigned long *pulCounter;
        for( ;; )\r
        {\r
                /* Just count up to a value then suspend. */\r
-               ( *pulCounter )++;      \r
-               \r
+               ( *pulCounter )++;\r
+\r
                if( *pulCounter >= priMAX_COUNT )\r
                {\r
                        vTaskSuspend( NULL );\r
-               }       \r
+               }\r
        }\r
 }\r
 /*-----------------------------------------------------------*/\r
@@ -247,7 +247,7 @@ unsigned portBASE_TYPE uxOurPriority;
        the task. */\r
        pulCounter = ( unsigned long * ) pvParameters;\r
 \r
-       /* Query our priority so we can raise it when exclusive access to the \r
+       /* Query our priority so we can raise it when exclusive access to the\r
        shared variable is required. */\r
        uxOurPriority = uxTaskPriorityGet( NULL );\r
 \r
@@ -256,7 +256,7 @@ unsigned portBASE_TYPE uxOurPriority;
                /* Raise our priority above the controller task to ensure a context\r
                switch does not occur while we are accessing this variable. */\r
                vTaskPrioritySet( NULL, uxOurPriority + 1 );\r
-                       ( *pulCounter )++;              \r
+                       ( *pulCounter )++;\r
                vTaskPrioritySet( NULL, uxOurPriority );\r
        }\r
 }\r
@@ -289,11 +289,11 @@ short sError = pdFALSE;
                        vTaskSuspend( xContinousIncrementHandle );\r
                                ulLastCounter = ulCounter;\r
                        vTaskResume( xContinousIncrementHandle );\r
-                       \r
+\r
                        /* Now delay to ensure the other task has processor time. */\r
                        vTaskDelay( priSLEEP_TIME );\r
 \r
-                       /* Check the shared variable again.  This time to ensure mutual \r
+                       /* Check the shared variable again.  This time to ensure mutual\r
                        exclusion the whole scheduler will be locked.  This is just for\r
                        demo purposes! */\r
                        vTaskSuspendAll();\r
@@ -380,7 +380,7 @@ portBASE_TYPE xGotValue;
        {\r
                do\r
                {\r
-                       /* Suspending the scheduler here is fairly pointless and \r
+                       /* Suspending the scheduler here is fairly pointless and\r
                        undesirable for a normal application.  It is done here purely\r
                        to test the scheduler.  The inner xTaskResumeAll() should\r
                        never return pdTRUE as the scheduler is still locked by the\r
@@ -419,7 +419,7 @@ portBASE_TYPE xGotValue;
 /* Called to check that all the created tasks are still running without error. */\r
 portBASE_TYPE xAreDynamicPriorityTasksStillRunning( void )\r
 {\r
-/* Keep a history of the check variables so we know if it has been incremented \r
+/* Keep a history of the check variables so we know if it has been incremented\r
 since the last call. */\r
 static unsigned short usLastTaskCheck = ( unsigned short ) 0;\r
 portBASE_TYPE xReturn = pdTRUE;\r
index 82dff1b8e3e99c00b325ea3004988d815e3ca253..e89a91b7c1d66918bd36d0e5770288f9c8ffbf09 100644 (file)
@@ -91,7 +91,7 @@
 #define configTICK_RATE_HZ                             ( ( unsigned short ) 1000 )\r
 #define configCPU_CLOCK_HZ                             ( ( unsigned long ) 32000000 )   /* Using the internal high speed clock */\r
 #define configMAX_PRIORITIES                   ( ( unsigned portBASE_TYPE ) 4 )\r
-#define configMINIMAL_STACK_SIZE               ( ( unsigned short ) 100 )\r
+#define configMINIMAL_STACK_SIZE               ( ( unsigned short ) 90 )\r
 #define configMAX_TASK_NAME_LEN                        ( 10 )\r
 #define configUSE_TRACE_FACILITY               0\r
 #define configUSE_16_BIT_TICKS                 1\r
 #define configUSE_MUTEXES                              1\r
 \r
 /* Hook function definitions. */\r
-#define configUSE_IDLE_HOOK                            1\r
+#define configUSE_IDLE_HOOK                            0\r
 #define configUSE_TICK_HOOK                            0\r
 #define configUSE_MALLOC_FAILED_HOOK   1\r
 \r
@@ -129,10 +129,6 @@ to exclude the API function. */
 \r
 #define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled()\r
 \r
-#define __DATA_MODEL_FAR__ 0\r
-#define __DATA_MODEL_NEAR__ 1\r
-#define __DATA_MODEL__ __DATA_MODEL_FAR__\r
-\r
 \r
 #endif /* FREERTOS_CONFIG_H */\r
 \r
index eb3c60054236da0fbc918216c56503253d855b13..39ea76797f389bd8f9215a128aa42d1af3b94929 100644 (file)
@@ -72,8 +72,6 @@
     mission critical applications that require provable dependability.\r
 */\r
 \r
-/*_RB_ #include "FreeRTOSConfig.h" */\r
-\r
 /* Variables used by scheduler */\r
        .extern    _pxCurrentTCB\r
        .extern    _usCriticalNesting\r
  */\r
        .macro portSAVE_CONTEXT\r
 \r
+       SEL     RB0\r
+\r
        /* Save AX Register to stack. */\r
-       PUSH      AX\r
-       PUSH      HL\r
-#if __DATA_MODEL__ == __DATA_MODEL_FAR__\r
+       PUSH    AX\r
+       PUSH    HL\r
        /* Save CS register. */\r
-       MOV       A, CS\r
-       XCH       A, X\r
+       MOV     A, CS\r
+       XCH             A, X\r
        /* Save ES register. */\r
-       MOV       A, ES\r
-       PUSH      AX\r
-#else\r
-       /* Save CS register. */\r
-       MOV       A, CS\r
-       PUSH      AX\r
-#endif\r
-       /* Save the remaining general purpose registers. */\r
-       PUSH      DE\r
-       PUSH      BC\r
+       MOV             A, ES\r
+       PUSH    AX\r
+       /* Save the remaining general purpose registers from bank 0. */\r
+       PUSH    DE\r
+       PUSH    BC\r
+       /* Save the other register banks - only necessary in the GCC port. */\r
+       SEL             RB1\r
+       PUSH    AX\r
+       PUSH    BC\r
+       PUSH    DE\r
+       PUSH    HL\r
+       SEL             RB2\r
+       PUSH    AX\r
+       PUSH    BC\r
+       PUSH    DE\r
+       PUSH    HL\r
+       SEL             RB3\r
+       PUSH    AX\r
+       PUSH    BC\r
+       PUSH    DE\r
+       PUSH    HL\r
+       SEL             RB0\r
        /* Save the usCriticalNesting value. */\r
-       MOVW      AX, !_usCriticalNesting\r
-       PUSH      AX\r
+       MOVW    AX, !_usCriticalNesting\r
+       PUSH    AX\r
        /* Save the Stack pointer. */\r
-       MOVW      AX, !_pxCurrentTCB\r
-       MOVW      HL, AX\r
-       MOVW      AX, SP\r
-       MOVW      [HL], AX\r
+       MOVW    AX, !_pxCurrentTCB\r
+       MOVW    HL, AX\r
+       MOVW    AX, SP\r
+       MOVW    [HL], AX\r
+       /* Switch stack pointers. */\r
+       movw sp,#_stack /* Set stack pointer */\r
 \r
        .endm\r
 \r
  * of the selected task from the task stack\r
  */\r
 .macro portRESTORE_CONTEXT MACRO\r
+       SEL             RB0\r
        /* Restore the Stack pointer. */\r
-       MOVW      AX, !_pxCurrentTCB\r
-       MOVW      HL, AX\r
-       MOVW      AX, [HL]\r
-       MOVW      SP, AX\r
+       MOVW    AX, !_pxCurrentTCB\r
+       MOVW    HL, AX\r
+       MOVW    AX, [HL]\r
+       MOVW    SP, AX\r
        /* Restore usCriticalNesting value. */\r
-       POP           AX\r
-       MOVW      !_usCriticalNesting, AX\r
+       POP             AX\r
+       MOVW    !_usCriticalNesting, AX\r
+       /* Restore the alternative register banks - only necessary in the GCC\r
+       port. */\r
+       SEL             RB3\r
+       POP             HL\r
+       POP             DE\r
+       POP             BC\r
+       POP             AX\r
+       SEL             RB2\r
+       POP             HL\r
+       POP             DE\r
+       POP             BC\r
+       POP             AX\r
+       SEL             RB1\r
+       POP             HL\r
+       POP             DE\r
+       POP             BC\r
+       POP             AX\r
+       SEL             RB0\r
        /* Restore the necessary general purpose registers. */\r
-       POP           BC\r
-       POP           DE\r
-#if __DATA_MODEL__ == __DATA_MODEL_FAR__\r
+       POP             BC\r
+       POP             DE\r
        /* Restore the ES register. */\r
-       POP       AX\r
-       MOV       ES, A\r
-       /* Restore the CS register. */\r
-       XCH       A, X\r
-       MOV       CS, A\r
-#else\r
-       POP       AX\r
+       POP             AX\r
+       MOV             ES, A\r
        /* Restore the CS register. */\r
-       MOV       CS, A\r
-#endif\r
+       XCH             A, X\r
+       MOV             CS, A\r
        /* Restore general purpose register HL. */\r
-       POP       HL\r
+       POP             HL\r
        /* Restore AX. */\r
-       POP       AX\r
+       POP             AX\r
 \r
        .endm\r
 \r
index a5bb44ce60b80f55e77bd87efb5d30360c0b64c4..41cace60c7d5febd12f7a087a003b155c5a39a50 100644 (file)
@@ -85,7 +85,7 @@ interrupts don't accidentally become enabled before the scheduler is started. */
 #define portINITIAL_CRITICAL_NESTING  ( ( unsigned short ) 10 )\r
 \r
 /* Initial PSW value allocated to a newly created task.\r
- *   1100011000000000\r
+ *   11000110\r
  *   ||||||||-------------- Fill byte\r
  *   |||||||--------------- Carry Flag cleared\r
  *   |||||----------------- In-service priority Flags set to low level\r
@@ -95,7 +95,8 @@ interrupts don't accidentally become enabled before the scheduler is started. */
  *   |--------------------- Zero Flag set\r
  *   ---------------------- Global Interrupt Flag set (enabled)\r
  */\r
-#define portPSW                  ( 0xc6UL )\r
+//#define portPSW                ( 0xc6UL )\r
+#define portPSW                  ( 0x86UL )\r
 \r
 /* The address of the pxCurrentTCB variable, but don't know or need to know its\r
 type. */\r
@@ -137,67 +138,24 @@ portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE
 {\r
 unsigned long *pulLocal;\r
 \r
-       #if __DATA_MODEL__ == __DATA_MODEL_FAR__\r
-       {\r
-               /* Parameters are passed in on the stack, and written using a 32bit value\r
-               hence a space is left for the second two bytes. */\r
-               pxTopOfStack--;\r
-\r
-               /* Write in the parameter value. */\r
-               pulLocal =  ( unsigned long * ) pxTopOfStack;\r
-               *pulLocal = ( unsigned long ) pvParameters;\r
-               pxTopOfStack--;\r
-\r
-               /* These values are just spacers.  The return address of the function\r
-               would normally be written here. */\r
-               *pxTopOfStack = ( portSTACK_TYPE ) 0x00;\r
-               pxTopOfStack--;\r
-               *pxTopOfStack = ( portSTACK_TYPE ) 0x00;\r
-               pxTopOfStack--;\r
-\r
-               /* The start address / PSW value is also written in as a 32bit value,\r
-               so leave a space for the second two bytes. */\r
-               pxTopOfStack--;\r
-\r
-               /* Task function start address combined with the PSW. */\r
-               pulLocal = ( unsigned long * ) pxTopOfStack;\r
-               *pulLocal = ( ( ( unsigned long ) pxCode ) | ( portPSW << 24UL ) );\r
-               pxTopOfStack--;\r
-\r
-               /* An initial value for the AX register. */\r
-               *pxTopOfStack = ( portSTACK_TYPE ) 0x1111;\r
-               pxTopOfStack--;\r
-       }\r
-       #else\r
-       {\r
-               /* Task function address is written to the stack first.  As it is\r
-               written as a 32bit value a space is left on the stack for the second\r
-               two bytes. */\r
-               pxTopOfStack--;\r
-\r
-               /* Task function start address combined with the PSW. */\r
-               pulLocal = ( unsigned long * ) pxTopOfStack;\r
-               *pulLocal = ( ( ( unsigned long ) pxCode ) | ( portPSW << 24UL ) );\r
-               pxTopOfStack--;\r
-\r
-               /* The parameter is passed in AX. */\r
-               *pxTopOfStack = ( portSTACK_TYPE ) pvParameters;\r
-               pxTopOfStack--;\r
-       }\r
-       #endif\r
-\r
-#ifdef This_was_an_alternative_to_the_two_above\r
-       /* Parameters are passed in on the stack. */\r
-       *pxTopOfStack = ( portSTACK_TYPE ) pvParameters;\r
+       /* Parameters are passed in on the stack, and written using a 32bit value\r
+       hence a space is left for the second two bytes. */\r
        pxTopOfStack--;\r
 \r
-#warning Why is the offset necessary?  Presumably because the parameter could be 20 bits.\r
+       /* Write in the parameter value. */\r
+       pulLocal =  ( unsigned long * ) pxTopOfStack;\r
+       *pulLocal = ( unsigned long ) pvParameters;\r
        pxTopOfStack--;\r
+\r
+       /* These values are just spacers.  The return address of the function\r
+       would normally be written here. */\r
+       *pxTopOfStack = ( portSTACK_TYPE ) 0x00;\r
+       pxTopOfStack--;\r
+       *pxTopOfStack = ( portSTACK_TYPE ) 0x00;\r
        pxTopOfStack--;\r
 \r
-       /* Task function address is written to the stack first.  As it is\r
-       written as a 32bit value a space is left on the stack for the second\r
-       two bytes. */\r
+       /* The start address / PSW value is also written in as a 32bit value,\r
+       so leave a space for the second two bytes. */\r
        pxTopOfStack--;\r
 \r
        /* Task function start address combined with the PSW. */\r
@@ -206,9 +164,9 @@ unsigned long *pulLocal;
        pxTopOfStack--;\r
 \r
        /* An initial value for the AX register. */\r
-       *pxTopOfStack = ( portSTACK_TYPE ) 0xaaaa;\r
+       *pxTopOfStack = ( portSTACK_TYPE ) 0x1111;\r
        pxTopOfStack--;\r
-#endif\r
+\r
        /* An initial value for the HL register. */\r
        *pxTopOfStack = ( portSTACK_TYPE ) 0x2222;\r
        pxTopOfStack--;\r
@@ -217,11 +175,9 @@ unsigned long *pulLocal;
        *pxTopOfStack = ( portSTACK_TYPE ) 0x0F00;\r
        pxTopOfStack--;\r
 \r
-       /* Finally the remaining general purpose registers DE and BC */\r
-       *pxTopOfStack = ( portSTACK_TYPE ) 0xDEDE;\r
-       pxTopOfStack--;\r
-       *pxTopOfStack = ( portSTACK_TYPE ) 0xBCBC;\r
-       pxTopOfStack--;\r
+       /* The remaining general purpose registers bank 0 (DE and BC) and the other\r
+       three register banks.. */\r
+       pxTopOfStack -= 14;\r
 \r
        /* Finally the critical section nesting count is set to zero when the task\r
        first starts. */\r
index cd0914cbb2bd8f9f481ab2e996ece960d3a08d30..35d6e1c34d51d2d064f97d24520c580dd252b4cd 100644 (file)
@@ -86,6 +86,7 @@
        .extern    _vTaskIncrementTick\r
 \r
        .text\r
+       .align 2\r
 \r
 /* FreeRTOS yield handler.  This is installed as the BRK software interrupt\r
 handler. */\r
@@ -101,6 +102,7 @@ _vPortYield:
 \r
 /* Starts the scheduler by restoring the context of the task that will execute\r
 first. */\r
+       .align 2\r
 _vPortStartFirstTask:\r
        /* Restore the context of whichever task will execute first. */\r
        portRESTORE_CONTEXT\r
@@ -109,6 +111,7 @@ _vPortStartFirstTask:
 \r
 /* FreeRTOS tick handler.  This is installed as the interval timer interrupt\r
 handler. */\r
+       .align 2\r
 _vPortTickISR:\r
 \r
        /* Save the context of the currently executing task. */\r
index f3d5c2184abeaa753a3cb55d9766f7f2489f8b53..de757999f492227816cb536e996101e80dd6b514 100644 (file)
@@ -156,7 +156,7 @@ extern volatile unsigned short usCriticalNesting;                                                           \
 /*-----------------------------------------------------------*/\r
 \r
 /* Task utilities. */\r
-#define portYIELD()    __asm volatile ( "BRK" )\r
+#define portYIELD()    __asm volatile ( "BRK" )\r
 #define portYIELD_FROM_ISR( xHigherPriorityTaskWoken ) if( xHigherPriorityTaskWoken ) vTaskSwitchContext()\r
 #define portNOP()      __asm volatile ( "NOP" )\r
 /*-----------------------------------------------------------*/\r
index 63587c62ed379a0aaa0798c6e9707180bd2f068c..56821eacdab9fd080801a61ee8a1d6a9761ebcde 100644 (file)
 _vRegTest1Task:\r
 \r
        /* First fill the registers. */\r
+       SEL             RB0\r
        MOVW    AX, #0x1122\r
        MOVW    BC, #0x3344\r
        MOVW    DE, #0x5566\r
        MOVW    HL, #0x7788\r
-       MOV             CS, #0x01\r
-\r
-#if __DATA_MODEL__ == __DATA_MODEL_FAR__\r
-\r
-       ; ES is not saved or restored when using the near memory model so only\r
-       ; test it when using the far model.\r
-       MOV             ES, #0x02\r
-\r
-#endif\r
+       SEL             RB1\r
+       MOVW    AX, #0x1111\r
+       MOVW    BC, #0x2222\r
+       MOVW    DE, #0x3333\r
+       MOVW    HL, #0x4444\r
+       SEL             RB2\r
+       MOVW    AX, #0x5555\r
+       MOVW    BC, #0x6666\r
+       MOVW    DE, #0x7777\r
+       MOVW    HL, #0x8888\r
+       SEL             RB3\r
+       MOVW    AX, #0xAAAA\r
+       MOVW    BC, #0xBBBB\r
+       MOVW    DE, #0xCCCC\r
+       MOVW    HL, #0xDDDD\r
+       SEL             RB0\r
 \r
 _loop1:\r
 \r
@@ -136,26 +144,72 @@ _loop1:
        CMPW    AX, #0x7788\r
        BZ              $.+5\r
        BR              !!_vRegTestError\r
-       MOV             A, CS\r
-       CMP             A, #0x01\r
+\r
+       /* Set AX back to its initial value. */\r
+       MOVW    AX, #0x1122\r
+\r
+       SEL             RB1\r
+       CMPW    AX, #0x1111\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, BC\r
+       CMPW    AX, #0x2222\r
        BZ              $.+5\r
        BR              !!_vRegTestError\r
+       MOVW    AX, DE\r
+       CMPW    AX, #0x3333\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, HL\r
+       CMPW    AX, #0x4444\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, #0x1111\r
 \r
-#if __DATA_MODEL__ == __DATA_MODEL_FAR__\r
 \r
-       /* ES is not saved or restored when using the near memory model so only\r
-       test it when using the far model. */\r
-       MOV             A, ES\r
-       CMP             A, #0x02\r
+       SEL             RB2\r
+       CMPW    AX, #0x5555\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, BC\r
+       CMPW    AX, #0x6666\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, DE\r
+       CMPW    AX, #0x7777\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, HL\r
+       CMPW    AX, #0x8888\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, #0x5555\r
+\r
+\r
+       SEL             RB3\r
+       CMPW    AX, #0xAAAA\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, BC\r
+       CMPW    AX, #0xBBBB\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, DE\r
+       CMPW    AX, #0xCCCC\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, HL\r
+       CMPW    AX, #0xDDDD\r
        BZ              $.+5\r
        BR              !!_vRegTestError\r
+       MOVW    AX, #0xAAAA\r
 \r
-#endif\r
+\r
+       SEL     RB0\r
 \r
        /* Indicate that this task is still cycling. */\r
        INCW    !_usRegTest1LoopCounter\r
 \r
-       MOVW    AX, #0x1122\r
        BR              !!_loop1\r
 \r
 \r
@@ -166,17 +220,27 @@ _loop1:
  */\r
 _vRegTest2Task:\r
 \r
+       SEL             RB0\r
        MOVW    AX, #0x99aa\r
        MOVW    BC, #0xbbcc\r
        MOVW    DE, #0xddee\r
        MOVW    HL, #0xff12\r
-       MOV             CS, #0x03\r
-\r
-#if __DATA_MODEL__ == __DATA_MODEL_FAR__\r
-\r
-       MOV             ES, #0x04\r
-\r
-#endif\r
+       SEL             RB1\r
+       MOVW    AX, #0x0110\r
+       MOVW    BC, #0x0220\r
+       MOVW    DE, #0x0330\r
+       MOVW    HL, #0x0440\r
+       SEL             RB2\r
+       MOVW    AX, #0x0550\r
+       MOVW    BC, #0x0660\r
+       MOVW    DE, #0x0770\r
+       MOVW    HL, #0x0880\r
+       SEL             RB3\r
+       MOVW    AX, #0x0AA0\r
+       MOVW    BC, #0x0BB0\r
+       MOVW    DE, #0x0CC0\r
+       MOVW    HL, #0x0DD0\r
+       SEL             RB0\r
 \r
 _loop2:\r
        CMPW    AX, #0x99aa\r
@@ -194,24 +258,67 @@ _loop2:
        CMPW    AX, #0xff12\r
        BZ              $.+5\r
        BR              !!_vRegTestError\r
-       MOV             A, CS\r
-       CMP             A, #0x03\r
+       MOVW    AX, #0x99aa\r
+\r
+       SEL             RB1\r
+       CMPW    AX, #0x0110\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, BC\r
+       CMPW    AX, #0x0220\r
        BZ              $.+5\r
        BR              !!_vRegTestError\r
+       MOVW    AX, DE\r
+       CMPW    AX, #0x0330\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, HL\r
+       CMPW    AX, #0x0440\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, #0x0110\r
 \r
-#if __DATA_MODEL__ == __DATA_MODEL_FAR__\r
+       SEL             RB2\r
+       CMPW    AX, #0x0550\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, BC\r
+       CMPW    AX, #0x0660\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, DE\r
+       CMPW    AX, #0x0770\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, HL\r
+       CMPW    AX, #0x0880\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, #0x0550\r
 \r
-       MOV             A, ES\r
-       CMP             A, #0x04\r
+       SEL             RB3\r
+       CMPW    AX, #0x0AA0\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, BC\r
+       CMPW    AX, #0x0BB0\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, DE\r
+       CMPW    AX, #0x0CC0\r
        BZ              $.+5\r
        BR              !!_vRegTestError\r
+       MOVW    AX, HL\r
+       CMPW    AX, #0x0DD0\r
+       BZ              $.+5\r
+       BR              !!_vRegTestError\r
+       MOVW    AX, #0x0AA0\r
 \r
-#endif\r
+       SEL     RB0\r
 \r
        /* Indicate that this task is still cycling. */\r
        INCW    !_usRegTest2LoopCounter\r
 \r
-       MOVW    AX, #0x99aa\r
        BR              !!_loop2\r
 \r
        .end\r
index 57c62ed734466352c45bb675bdfd291fdf4fd0e7..cfea1f0844fbebe6cb6b6ffcc0b5179bc3f67b41 100644 (file)
@@ -211,24 +211,15 @@ static xTimerHandle xDemoTimer = NULL;
 static volatile unsigned long ulDemoSoftwareTimerCounter = 0UL;\r
 \r
 /*-----------------------------------------------------------*/\r
-volatile unsigned char ucTemp;\r
+\r
 short main( void )\r
 {\r
-       ucTemp = RESF;\r
-       ucTemp = sizeof( char* );\r
-       ucTemp = sizeof( pdTASK_CODE );\r
-#warning Take out all references to the P1 LED.\r
-       P1 &= 0xFE; PM1 &= 0xFE;\r
-       P1_bit.no0 = 1;\r
-\r
-\r
        /* Creates all the tasks and timers, then starts the scheduler. */\r
 \r
        /* First create the 'standard demo' tasks.  These are used to demonstrate\r
        API functions being used and also to test the kernel port.  More information\r
        is provided on the FreeRTOS.org WEB site. */\r
        vStartDynamicPriorityTasks();\r
-#warning Runs if the debugger is not connected and vStartDynamicPriorityTasks() is commented out.\r
        vStartPolledQueueTasks( tskIDLE_PRIORITY );\r
        vCreateBlockTimeTasks();\r
 \r
@@ -262,8 +253,10 @@ short main( void )
        /* Finally start the scheduler running. */\r
        vTaskStartScheduler();\r
 \r
-       /* If this line is reached then vTaskStartScheduler() returned because there\r
-       was insufficient heap memory remaining for the idle task to be created. */\r
+       /* If all is well execution will never reach here as the scheduler will be\r
+       running.  If this null loop is reached then it is likely there was\r
+       insufficient FreeRTOS heap available for the idle task and/or timer task to\r
+       be created.  See http://www.freertos.org/a00111.html. */\r
        for( ;; );\r
 }\r
 /*-----------------------------------------------------------*/\r
@@ -353,12 +346,6 @@ static unsigned short usLastRegTest1Counter = 0, usLastRegTest2Counter = 0;
        /* Toggle the LED.  The toggle rate will depend on whether or not an error\r
        has been found in any tasks. */\r
        LED_BIT = !LED_BIT;\r
-\r
-       if( xTaskGetTickCount() > ( ( portTickType ) 10000 / portTICK_RATE_MS ) )\r
-       {\r
-               /* Turn off the LED used to visualise a reset. */\r
-               P1_bit.no0 = 0;\r
-       }\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
@@ -379,7 +366,6 @@ void vApplicationMallocFailedHook( void )
        timers, and semaphores.  The size of the FreeRTOS heap is set by the\r
        configTOTAL_HEAP_SIZE configuration constant in FreeRTOSConfig.h. */\r
        taskDISABLE_INTERRUPTS();\r
-       P1_bit.no0 = 0;\r
        for( ;; );\r
 }\r
 /*-----------------------------------------------------------*/\r
@@ -393,7 +379,6 @@ void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName
        configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2.  This hook\r
        function is called if a stack overflow is detected. */\r
        taskDISABLE_INTERRUPTS();\r
-       P1_bit.no0 = 0;\r
        for( ;; );\r
 }\r
 /*-----------------------------------------------------------*/\r
@@ -453,7 +438,15 @@ static void prvRegTest2Entry( void *pvParameters )
 \r
 void vAssertCalled( void )\r
 {\r
-       taskDISABLE_INTERRUPTS();\r
-       P1_bit.no0 = 0;\r
-       for( ;; );\r
+volatile unsigned long ul = 0;\r
+       taskENTER_CRITICAL();\r
+       {\r
+               /* Set ul to a non-zero value using the debugger to step out of this\r
+               function. */\r
+               while( ul == 0 )\r
+               {\r
+                       __asm volatile( "NOP" );\r
+               }\r
+       }\r
+       taskEXIT_CRITICAL();\r
 }\r