diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.RSKRL78L1Clinker b/FreeRTOS/Demo/RL78_E2Studio_GCC/.RSKRL78L1Clinker
new file mode 100644
index 0000000000..b933427aac
--- /dev/null
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.RSKRL78L1Clinker
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="ASCII"?>
+<com.renesas.linkersection.model:SectionContainer xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:com.renesas.linkersection.model="http:///LinkerSection.ecore" targets="GNU_RL78">
+  <sections name=".vec" isKeep="true">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".vec"/>
+  </sections>
+  <sections name=".vects" isKeep="true">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="4"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".vects"/>
+  </sections>
+  <sections name=".option_bytes" isKeep="true">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="192"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".option_bytes"/>
+  </sections>
+  <sections name=".security_id" isKeep="true">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="196"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".security_id"/>
+  </sections>
+  <sections name=".text">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="216"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".text"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".text.*"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="etext"/>
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>
+  </sections>
+  <sections name=".init">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.4"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".init"/>
+  </sections>
+  <sections name=".fini">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.5"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".fini"/>
+  </sections>
+  <sections name=".got">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.6"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".got"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".got.plt"/>
+  </sections>
+  <sections name=".rodata MAX(., 0x3000)">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.7"/>
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".rodata"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".rodata.*"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_erodata"/>
+  </sections>
+  <sections name=".eh_frame_hdr">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.8"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".eh_frame_hdr"/>
+  </sections>
+  <sections name=".eh_frame">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.9"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".eh_frame"/>
+  </sections>
+  <sections name=".jcr">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.10"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".jcr"/>
+  </sections>
+  <sections name=".tors">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.11"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__CTOR_LIST__"/>
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___ctors"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".ctors"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___ctors_end"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__CTOR_END__"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__DTOR_LIST__"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___dtors"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".dtors"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___dtors_end"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__DTOR_END__"/>
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_mdata"/>
+  </sections>
+  <sections name=".data">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="1031936"/>
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_data"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".data"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".data.*"/>
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_edata"/>
+    <reservedMemAddress xsi:type="com.renesas.linkersection.model:ReferencedLabelAddress" label="//@sections.12/@contents.12"/>
+  </sections>
+  <sections name=".bss">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.13"/>
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_bss"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".bss"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".bss.**"/>
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="COMMON"/>
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_ebss"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_end"/>
+  </sections>
+  <sections name=".stack" isNoLoad="true">
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="1048064"/>
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_stack"/>
+  </sections>
+</com.renesas.linkersection.model:SectionContainer>
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject b/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject
index 6eddd27a35..1218c25a8d 100644
--- a/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject
@@ -256,7 +256,7 @@
 								</option>
 								<option id="com.renesas.cdt.core.Compiler.option.includeSymbolTable.1827952485" name="Include Symbol Table(s)" superClass="com.renesas.cdt.core.Compiler.option.includeSymbolTable" value="true" valueType="boolean"/>
 								<option id="com.renesas.cdt.core.Compiler.option.misc2.1309529749" name="Don't search standard system directories for header files(-nostdinc)" superClass="com.renesas.cdt.core.Compiler.option.misc2" value="false" valueType="boolean"/>
-								<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions.1713741321" name="User defined options" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions" valueType="stringList"/>
+								<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions.1713741321" name="User defined options" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions"/>
 								<inputType id="%Base.Compiler.C.InputType.Id.1471081059" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>
 								<inputType id="Base.Compiler.CPP.InputType.Id.1237074300" name="C++ Input" superClass="Base.Compiler.CPP.InputType.Id"/>
 							</tool>
@@ -389,6 +389,105 @@
 			<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
 			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
 		</cconfiguration>
+		<cconfiguration id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.661607105">
+			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.661607105" moduleId="org.eclipse.cdt.core.settings" name="RSKRL78L1C">
+				<externalSettings/>
+				<extensions>
+					<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+					<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
+					<extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+					<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+					<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+					<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+					<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+				</extensions>
+			</storageModule>
+			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+				<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.661607105" name="RSKRL78L1C" parent="com.renesas.cdt.RL78.configuration.hardwaredebug">
+					<folderInfo id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.661607105." name="/" resourcePath="">
+						<toolChain id="com.renesas.cdt.RL78.toolChain.hardwaredebugConf.1925187785" name="KPIT GNURL78-ELF Toolchain" superClass="com.renesas.cdt.RL78.toolChain.hardwaredebugConf">
+							<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" id="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform.464468283" osList="win32" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform"/>
+							<builder buildPath="${workspace_loc:/RTOSDemo/HardwareDebug}" id="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id.991079889" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="GNU Make Builder" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id"/>
+							<tool command="rl78-elf-libgen" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id.150253841" name="Library Generator" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id">
+								<option id="com.renesas.cdt.core.LibraryGenerator.option.stdio.1939771009" name="stdio.h : Performs input/output handling" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdio" value="false" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.LibraryGenerator.option.stdlib.200300486" name="stdlib.h : Performs C program standard processing such as storage area management" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdlib" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.LibraryGenerator.option.string.1968503186" name="string.h : Performs string comparison, copying " superClass="com.renesas.cdt.core.LibraryGenerator.option.string" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary.689655144" name="Select library" superClass="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary" value="Optimized" valueType="enumerated"/>
+								<option id="com.renesas.cdt.core.LibraryGenerator.option.libraryType.2132503809" name="Library type" superClass="com.renesas.cdt.core.LibraryGenerator.option.libraryType" value="Project-Built" valueType="enumerated"/>
+							</tool>
+							<tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id.437851717" name="Compiler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id">
+								<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.2100632987" name="CPU Type" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.l1c" valueType="enumerated"/>
+								<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul.1101181582" name="Multiplication code Generation Option" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul" value="None" valueType="enumerated"/>
+								<option id="com.renesas.cdt.core.Compiler.option.includeFileDir.820363941" name="Include file directories" superClass="com.renesas.cdt.core.Compiler.option.includeFileDir" valueType="includePath">
+									<listOptionValue builtIn="false" value="&quot;${TCINSTALL}/rl78-elf/optlibinc&quot;"/>
+									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/Common-Demo-Tasks/include}&quot;"/>
+									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src}&quot;"/>
+									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/FreeRTOS_Source/include}&quot;"/>
+									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/FreeRTOS_Source/portable/GCC/RL78}&quot;"/>
+								</option>
+								<option id="com.renesas.cdt.core.Compiler.option.CPUSeries.823867201" name="Cpu Series" superClass="com.renesas.cdt.core.Compiler.option.CPUSeries" value="R5F10JBC" valueType="string"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning14.1288237182" name="Print extra warning messages(-Wextra)" superClass="com.renesas.cdt.core.Compiler.option.warning14" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.stdWarnings.1684617262" name="Standard Warnings" superClass="com.renesas.cdt.core.Compiler.option.stdWarnings" value="com.renesas.cdt.core.Compiler.option.stdWarnings.enableAll" valueType="enumerated"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning1.806299273" name="Issue Warning if an array subscript has type char(-Wchar-subscripts)" superClass="com.renesas.cdt.core.Compiler.option.warning1" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning2.1901581096" name="Issue Warning if comment appears within comment(-Wcomment)" superClass="com.renesas.cdt.core.Compiler.option.warning2" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning3.1541543076" name="Issue Warning if string functions format is incorrect(-Wformat)" superClass="com.renesas.cdt.core.Compiler.option.warning3" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning4.1161378198" name="Issue Warning if a function or parameter is implicitly declared(-Wimplicit)" superClass="com.renesas.cdt.core.Compiler.option.warning4" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning5.1789292050" name="Disable Warning about the use of #import(-Wno-import)" superClass="com.renesas.cdt.core.Compiler.option.warning5" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning6.84501834" name="Issue Warning if parentheses are omitted in certain contexts(-Wparentheses)" superClass="com.renesas.cdt.core.Compiler.option.warning6" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning7.1338708112" name="Issue Warning of possible return type problems(-Wreturn-type)" superClass="com.renesas.cdt.core.Compiler.option.warning7" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning8.374855392" name="Issue Warning of possible switch statement problems(-Wswitch)" superClass="com.renesas.cdt.core.Compiler.option.warning8" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning9.1983388469" name="Issue Warning if any trigraphs are encountered(-Wtrigraphs)" superClass="com.renesas.cdt.core.Compiler.option.warning9" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning10.983060895" 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"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning11.923794925" name="Issue Warning if an uninitialised automatic variable is used(-Wuninitialized)" superClass="com.renesas.cdt.core.Compiler.option.warning11" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning12.1620427209" name="Issue Warning of member initialisation mismatch(-Wreorder)" superClass="com.renesas.cdt.core.Compiler.option.warning12" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.warning13.1082135198" name="Issue Warning of bad sign comparisions(-Wsign-compare)" superClass="com.renesas.cdt.core.Compiler.option.warning13" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.549479064" name="Debug format" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.dwarf" valueType="enumerated"/>
+								<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.452759366" name="Optimization level" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.none" valueType="enumerated"/>
+								<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines.1552305025" name="Macro Defines" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines" valueType="definedSymbols">
+									<listOptionValue builtIn="false" value="RSKRL78L1C"/>
+								</option>
+								<option id="com.renesas.cdt.core.Compiler.option.includeSymbolTable.330377434" name="Include Symbol Table(s)" superClass="com.renesas.cdt.core.Compiler.option.includeSymbolTable" value="true" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.misc26.685469544" name="Ignore 'inline' keyword(-fno-inline)" superClass="com.renesas.cdt.core.Compiler.option.misc26" value="false" valueType="boolean"/>
+								<option id="com.renesas.cdt.core.Compiler.option.misc48.1598779240" name="List macro definitions but omit arguments and contents(-dN)" superClass="com.renesas.cdt.core.Compiler.option.misc48" value="false" valueType="boolean"/>
+								<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions.965893190" name="User defined options" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions"/>
+								<option id="com.renesas.cdt.core.Compiler.option.misc2.1239011445" name="Don't search standard system directories for header files(-nostdinc)" superClass="com.renesas.cdt.core.Compiler.option.misc2" value="false" valueType="boolean"/>
+								<inputType id="%Base.Compiler.C.InputType.Id.1475424543" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>
+								<inputType id="Base.Compiler.CPP.InputType.Id.13063581" name="C++ Input" superClass="Base.Compiler.CPP.InputType.Id"/>
+							</tool>
+							<tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id.1767021126" name="Assembler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id">
+								<option id="com.renesas.cdt.core.Assembler.option.includeFileDirectories.584727211" name="Include file directories" superClass="com.renesas.cdt.core.Assembler.option.includeFileDirectories" valueType="includePath">
+									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}}/src&quot;"/>
+								</option>
+								<option id="com.renesas.cdt.core.Assembler.option.includeSymbolTable.1481239232" name="Include Symbol Table(-as)" superClass="com.renesas.cdt.core.Assembler.option.includeSymbolTable" value="true" valueType="boolean"/>
+								<inputType id="%Base.Assembler.inputType.Id.1995981014" name="Assembler InputType" superClass="%Base.Assembler.inputType.Id"/>
+							</tool>
+							<tool command="rl78-elf-ld" commandLinePattern="${COMMAND} ${OUTPUT_FLAG}${OUTPUT_PREFIX} ${OUTPUT}${INPUTS} ${FLAGS}" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id.1983403774" name="Linker" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id">
+								<option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1610499591" name="Archive search directories" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories" valueType="stringList">
+									<listOptionValue builtIn="false" value="&quot;${CONFIGDIR}&quot;"/>
+									<listOptionValue builtIn="false" value="&quot;${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}&quot;"/>
+									<listOptionValue builtIn="false" value="&quot;${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}&quot;"/>
+								</option>
+								<option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles.26850450" name="Archive (library) files" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles" valueType="stringList">
+									<listOptionValue builtIn="false" value="${ProjName}"/>
+									<listOptionValue builtIn="false" value="gcc"/>
+								</option>
+								<option id="com.renesas.cdt.core.Linker.option.userDefinedOptions.490918053" name="User defined options" superClass="com.renesas.cdt.core.Linker.option.userDefinedOptions" valueType="stringList">
+									<listOptionValue builtIn="false" value="-e_PowerON_Reset"/>
+								</option>
+								<option command="-stats" id="com.renesas.cdt.core.Linker.option.misc8.1365322726" name="Compute and display statistics about the operation of the linker(-stats)" superClass="com.renesas.cdt.core.Linker.option.misc8" value="true" valueType="boolean"/>
+							</tool>
+							<tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id.529097714" name="Objcopy" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id"/>
+						</toolChain>
+					</folderInfo>
+					<sourceEntries>
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+					</sourceEntries>
+				</configuration>
+			</storageModule>
+			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+			<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
+			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
+		</cconfiguration>
 	</storageModule>
 	<storageModule moduleId="cdtBuildSystem" version="4.0.0">
 		<project id="RTOSDemo.com.renesas.cdt.RL78.projectType.1275970009" name="GNURL78" projectType="com.renesas.cdt.RL78.projectType"/>
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.info b/FreeRTOS/Demo/RL78_E2Studio_GCC/.info
index 4d59bcaded..6715fd6e68 100644
--- a/FreeRTOS/Demo/RL78_E2Studio_GCC/.info
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.info
@@ -4,4 +4,4 @@ TC_INSTALL=C:\devtools\renesas\e2studio\GNURL78v13.02-ELF\rl78-ELF\
 GCC_STRING=4.8-GNURL78_v13.02
 VERSION_IDE=3.06.02.004
 E2STUDIO_VERSION=2.2.0.13
-ACTIVE_CONFIGURATION=RSKRL78G1C
+ACTIVE_CONFIGURATION=RSKRL78L1C
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.settings/Project_Generation_Prefrences.prefs b/FreeRTOS/Demo/RL78_E2Studio_GCC/.settings/Project_Generation_Prefrences.prefs
index e40ae08f8c..e5893a3c8b 100644
--- a/FreeRTOS/Demo/RL78_E2Studio_GCC/.settings/Project_Generation_Prefrences.prefs
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.settings/Project_Generation_Prefrences.prefs
@@ -13,6 +13,7 @@ com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType=RL78 - G1C
 com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.1364542281=RL78 - G1C
 com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul=None
 com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles=${ProjName};gcc;
+com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1610499591="${CONFIGDIR}";"${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";
 com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1960648199="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";
 com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.8586332="${CONFIGDIR}";"${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";
 com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.970009502="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/PollQ.c b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/PollQ.c
index ef05d977c3..6d63d0dddc 100644
--- a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/PollQ.c
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/PollQ.c
@@ -56,19 +56,19 @@
     ***************************************************************************
 
 
-    http://www.FreeRTOS.org - Documentation, books, training, latest versions, 
+    http://www.FreeRTOS.org - Documentation, books, training, latest versions,
     license and Real Time Engineers Ltd. contact details.
 
     http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
     including FreeRTOS+Trace - an indispensable productivity tool, and our new
     fully thread aware and reentrant UDP/IP stack.
 
-    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High 
-    Integrity Systems, who sell the code with commercial support, 
+    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
+    Integrity Systems, who sell the code with commercial support,
     indemnification and middleware, under the OpenRTOS brand.
-    
-    http://www.SafeRTOS.com - High Integrity Systems also provide a safety 
-    engineered and independently SIL3 certified version for use in safety and 
+
+    http://www.SafeRTOS.com - High Integrity Systems also provide a safety
+    engineered and independently SIL3 certified version for use in safety and
     mission critical applications that require provable dependability.
 */
 
@@ -140,16 +140,16 @@ static QueueHandle_t xPolledQueue;
 	xPolledQueue = xQueueCreate( pollqQUEUE_SIZE, ( unsigned portBASE_TYPE ) sizeof( unsigned short ) );
 
 	/* vQueueAddToRegistry() adds the queue to the queue registry, if one is
-	in use.  The queue registry is provided as a means for kernel aware 
+	in use.  The queue registry is provided as a means for kernel aware
 	debuggers to locate queues and has no purpose if a kernel aware debugger
 	is not being used.  The call to vQueueAddToRegistry() will be removed
-	by the pre-processor if configQUEUE_REGISTRY_SIZE is not defined or is 
+	by the pre-processor if configQUEUE_REGISTRY_SIZE is not defined or is
 	defined to be less than 1. */
 	vQueueAddToRegistry( xPolledQueue, ( signed char * ) "Poll_Test_Queue" );
 
 	/* Spawn the producer and consumer. */
-	xTaskCreate( vPolledQueueConsumer, ( signed char * ) "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( TaskHandle_t * ) NULL );
-	xTaskCreate( vPolledQueueProducer, ( signed char * ) "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( TaskHandle_t * ) NULL );
+	xTaskCreate( vPolledQueueConsumer, "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( TaskHandle_t * ) NULL );
+	xTaskCreate( vPolledQueueProducer, "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( TaskHandle_t * ) NULL );
 }
 /*-----------------------------------------------------------*/
 
@@ -159,7 +159,7 @@ unsigned short usValue = ( unsigned short ) 0;
 signed portBASE_TYPE xError = pdFALSE, xLoop;
 
 	for( ;; )
-	{		
+	{
 		for( xLoop = 0; xLoop < pollqVALUES_TO_PRODUCE; xLoop++ )
 		{
 			/* Send an incrementing number on the queue without blocking. */
@@ -198,7 +198,7 @@ unsigned short usData, usExpectedValue = ( unsigned short ) 0;
 signed portBASE_TYPE xError = pdFALSE;
 
 	for( ;; )
-	{		
+	{
 		/* Loop until the queue is empty. */
 		while( uxQueueMessagesWaiting( *( ( QueueHandle_t * ) pvParameters ) ) )
 		{
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/dynamic.c b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/dynamic.c
index 69da6f0dcc..82eb60a7a1 100644
--- a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/dynamic.c
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/dynamic.c
@@ -197,11 +197,11 @@ void vStartDynamicPriorityTasks( void )
 	defined to be less than 1. */
 	vQueueAddToRegistry( xSuspendedTestQueue, ( signed char * ) "Suspended_Test_Queue" );
 
-	xTaskCreate( vContinuousIncrementTask, ( signed char * ) "CNT_INC", priSTACK_SIZE, ( void * ) &ulCounter, tskIDLE_PRIORITY, &xContinousIncrementHandle );
-	xTaskCreate( vLimitedIncrementTask, ( signed char * ) "LIM_INC", priSTACK_SIZE, ( void * ) &ulCounter, tskIDLE_PRIORITY + 1, &xLimitedIncrementHandle );
-	xTaskCreate( vCounterControlTask, ( signed char * ) "C_CTRL", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
-	xTaskCreate( vQueueSendWhenSuspendedTask, ( signed char * ) "SUSP_TX", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
-	xTaskCreate( vQueueReceiveWhenSuspendedTask, ( signed char * ) "SUSP_RX", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
+	xTaskCreate( vContinuousIncrementTask, "CNT_INC", priSTACK_SIZE, ( void * ) &ulCounter, tskIDLE_PRIORITY, &xContinousIncrementHandle );
+	xTaskCreate( vLimitedIncrementTask, "LIM_INC", priSTACK_SIZE, ( void * ) &ulCounter, tskIDLE_PRIORITY + 1, &xLimitedIncrementHandle );
+	xTaskCreate( vCounterControlTask, "C_CTRL", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
+	xTaskCreate( vQueueSendWhenSuspendedTask, "SUSP_TX", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
+	xTaskCreate( vQueueReceiveWhenSuspendedTask, "SUSP_RX", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
 }
 /*-----------------------------------------------------------*/
 
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/demo_specific_io.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/demo_specific_io.h
index eda45e2ffe..d34f4b9bdb 100644
--- a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/demo_specific_io.h
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/demo_specific_io.h
@@ -1,48 +1,38 @@
 /*
-    FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.
+    All rights reserved
 
-    FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME.  PLEASE VISIT
-    http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
+    VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
 
     ***************************************************************************
      *                                                                       *
-     *    FreeRTOS tutorial books are available in pdf and paperback.        *
-     *    Complete, revised, and edited pdf reference manuals are also       *
-     *    available.                                                         *
+     *    FreeRTOS provides completely free yet professionally developed,    *
+     *    robust, strictly quality controlled, supported, and cross          *
+     *    platform software that has become a de facto standard.             *
      *                                                                       *
-     *    Purchasing FreeRTOS documentation will not only help you, by       *
-     *    ensuring you get running as quickly as possible and with an        *
-     *    in-depth knowledge of how to use FreeRTOS, it will also help       *
-     *    the FreeRTOS project to continue with its mission of providing     *
-     *    professional grade, cross platform, de facto standard solutions    *
-     *    for microcontrollers - completely free of charge!                  *
+     *    Help yourself get started quickly and support the FreeRTOS         *
+     *    project by purchasing a FreeRTOS tutorial book, reference          *
+     *    manual, or both from: http://www.FreeRTOS.org/Documentation        *
      *                                                                       *
-     *    >>> See http://www.FreeRTOS.org/Documentation for details. <<<     *
-     *                                                                       *
-     *    Thank you for using FreeRTOS, and thank you for your support!      *
+     *    Thank you!                                                         *
      *                                                                       *
     ***************************************************************************
 
-
     This file is part of the FreeRTOS distribution.
 
     FreeRTOS is free software; you can redistribute it and/or modify it under
     the terms of the GNU General Public License (version 2) as published by the
-    Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
+    Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
 
-    >>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
-    distribute a combined work that includes FreeRTOS without being obliged to
-    provide the source code for proprietary components outside of the FreeRTOS
-    kernel.
+    >>! NOTE: The modification to the GPL is included to allow you to distribute
+    >>! a combined work that includes FreeRTOS without being obliged to provide
+    >>! the source code for proprietary components outside of the FreeRTOS
+    >>! kernel.
 
     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-    FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
-    details. You should have received a copy of the GNU General Public License
-    and the FreeRTOS license exception along with FreeRTOS; if not itcan be
-    viewed here: http://www.freertos.org/a00114.html and also obtained by
-    writing to Real Time Engineers Ltd., contact details for whom are available
-    on the FreeRTOS WEB site.
+    FOR A PARTICULAR PURPOSE.  Full license text is available from the following
+    link: http://www.freertos.org/a00114.html
 
     1 tab == 4 spaces!
 
@@ -55,21 +45,22 @@
      *                                                                       *
     ***************************************************************************
 
-
     http://www.FreeRTOS.org - Documentation, books, training, latest versions,
     license and Real Time Engineers Ltd. contact details.
 
     http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
-    including FreeRTOS+Trace - an indispensable productivity tool, and our new
-    fully thread aware and reentrant UDP/IP stack.
+    including FreeRTOS+Trace - an indispensable productivity tool, a DOS
+    compatible FAT file system, and our tiny thread aware UDP/IP stack.
 
     http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
-    Integrity Systems, who sell the code with commercial support,
-    indemnification and middleware, under the OpenRTOS brand.
+    Integrity Systems to sell under the OpenRTOS brand.  Low cost OpenRTOS
+    licenses offer ticketed support, indemnification and middleware.
 
     http://www.SafeRTOS.com - High Integrity Systems also provide a safety
     engineered and independently SIL3 certified version for use in safety and
     mission critical applications that require provable dependability.
+
+    1 tab == 4 spaces!
 */
 
 #ifndef LED_IO_H
@@ -98,6 +89,13 @@ included.  Alternatively, just manually include the correct files here. */
 			#define LED_INIT()		P0 &= 0xFD; PM0 &= 0xFD
 		#endif /* RSKRL78G1C */
 
+		#ifdef RSKRL78L1C
+			#include "iodefine_RL78L1C.h"
+			#include "iodefine_RL78L1C_ext.h"
+			#define LED_BIT			( P4_bit.no1 )
+			#define LED_INIT()		P4 &= 0xFD; PM4 &= 0xFD
+		#endif /* RSKRL78L1C */
+
 		#ifdef RSKRL78L13
 			#include "iodefine_RL78L13.h"
 			#include "iodefine_RL78L13_ext.h"
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C.h
new file mode 100644
index 0000000000..b20855615d
--- /dev/null
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C.h
@@ -0,0 +1,1002 @@
+   
+/************************************************************************/
+/* Header file generated from device file:                              */
+/*    DR5F110PJ.DVF                                                     */
+/*    Copyright(C) 2013 Renesas                                         */
+/*    File Version E1.00h                                               */
+/*    Tool Version 2.5.211                                              */
+/*    Date Generated 07/05/2013                                         */
+/************************************************************************/
+
+#ifndef __INTRINSIC_FUNCTIONS
+#define __INTRINSIC_FUNCTIONS
+
+#define DI() asm("di")
+#define EI() asm("ei")
+#define HALT() asm("halt")
+#define NOP() asm("nop")
+#define STOP() asm("stop")
+
+#endif
+
+#ifndef __IOREG_BIT_STRUCTURES
+#define __IOREG_BIT_STRUCTURES
+typedef struct {
+	unsigned char no0 :1;
+	unsigned char no1 :1;
+	unsigned char no2 :1;
+	unsigned char no3 :1;
+	unsigned char no4 :1;
+	unsigned char no5 :1;
+	unsigned char no6 :1;
+	unsigned char no7 :1;
+} __BITS8;
+
+typedef struct {
+	unsigned short no0 :1;
+	unsigned short no1 :1;
+	unsigned short no2 :1;
+	unsigned short no3 :1;
+	unsigned short no4 :1;
+	unsigned short no5 :1;
+	unsigned short no6 :1;
+	unsigned short no7 :1;
+	unsigned short no8 :1;
+	unsigned short no9 :1;
+	unsigned short no10 :1;
+	unsigned short no11 :1;
+	unsigned short no12 :1;
+	unsigned short no13 :1;
+	unsigned short no14 :1;
+	unsigned short no15 :1;
+} __BITS16;
+
+#endif
+
+#ifndef IODEFINE_H
+#define IODEFINE_H
+
+/*
+ IO Registers
+ */
+union un_p0 {
+	unsigned char p0;
+	__BITS8 BIT;
+};
+union un_p1 {
+	unsigned char p1;
+	__BITS8 BIT;
+};
+union un_p2 {
+	unsigned char p2;
+	__BITS8 BIT;
+};
+union un_p3 {
+	unsigned char p3;
+	__BITS8 BIT;
+};
+union un_p4 {
+	unsigned char p4;
+	__BITS8 BIT;
+};
+union un_p5 {
+	unsigned char p5;
+	__BITS8 BIT;
+};
+union un_p6 {
+	unsigned char p6;
+	__BITS8 BIT;
+};
+union un_p7 {
+	unsigned char p7;
+	__BITS8 BIT;
+};
+union un_p12 {
+	unsigned char p12;
+	__BITS8 BIT;
+};
+union un_p13 {
+	unsigned char p13;
+	__BITS8 BIT;
+};
+union un_p14 {
+	unsigned char p14;
+	__BITS8 BIT;
+};
+union un_p15 {
+	unsigned char p15;
+	__BITS8 BIT;
+};
+union un_pm0 {
+	unsigned char pm0;
+	__BITS8 BIT;
+};
+union un_pm1 {
+	unsigned char pm1;
+	__BITS8 BIT;
+};
+union un_pm2 {
+	unsigned char pm2;
+	__BITS8 BIT;
+};
+union un_pm3 {
+	unsigned char pm3;
+	__BITS8 BIT;
+};
+union un_pm4 {
+	unsigned char pm4;
+	__BITS8 BIT;
+};
+union un_pm5 {
+	unsigned char pm5;
+	__BITS8 BIT;
+};
+union un_pm6 {
+	unsigned char pm6;
+	__BITS8 BIT;
+};
+union un_pm7 {
+	unsigned char pm7;
+	__BITS8 BIT;
+};
+union un_pm12 {
+	unsigned char pm12;
+	__BITS8 BIT;
+};
+union un_pm14 {
+	unsigned char pm14;
+	__BITS8 BIT;
+};
+union un_pm15 {
+	unsigned char pm15;
+	__BITS8 BIT;
+};
+union un_adm0 {
+	unsigned char adm0;
+	__BITS8 BIT;
+};
+union un_ads {
+	unsigned char ads;
+	__BITS8 BIT;
+};
+union un_adm1 {
+	unsigned char adm1;
+	__BITS8 BIT;
+};
+union un_krctl {
+	unsigned char krctl;
+	__BITS8 BIT;
+};
+union un_krm0 {
+	unsigned char krm0;
+	__BITS8 BIT;
+};
+union un_egp0 {
+	unsigned char egp0;
+	__BITS8 BIT;
+};
+union un_egn0 {
+	unsigned char egn0;
+	__BITS8 BIT;
+};
+union un_lcdm1 {
+	unsigned char lcdm1;
+	__BITS8 BIT;
+};
+union un_mlcd {
+	unsigned char mlcd;
+	__BITS8 BIT;
+};
+union un_iics0 {
+	unsigned char iics0;
+	__BITS8 BIT;
+};
+union un_iicf0 {
+	unsigned char iicf0;
+	__BITS8 BIT;
+};
+union un_dam {
+	unsigned char dam;
+	__BITS8 BIT;
+};
+union un_rtcc0 {
+	unsigned char rtcc0;
+	__BITS8 BIT;
+};
+union un_rtcc1 {
+	unsigned char rtcc1;
+	__BITS8 BIT;
+};
+union un_csc {
+	unsigned char csc;
+	__BITS8 BIT;
+};
+union un_ostc {
+	unsigned char ostc;
+	__BITS8 BIT;
+};
+union un_ckc {
+	unsigned char ckc;
+	__BITS8 BIT;
+};
+union un_cks0 {
+	unsigned char cks0;
+	__BITS8 BIT;
+};
+union un_cks1 {
+	unsigned char cks1;
+	__BITS8 BIT;
+};
+union un_lvim {
+	unsigned char lvim;
+	__BITS8 BIT;
+};
+union un_lvis {
+	unsigned char lvis;
+	__BITS8 BIT;
+};
+union un_if2 {
+	unsigned short if2;
+	__BITS16 BIT;
+};
+union un_if2l {
+	unsigned char if2l;
+	__BITS8 BIT;
+};
+union un_if2h {
+	unsigned char if2h;
+	__BITS8 BIT;
+};
+union un_if3 {
+	unsigned short if3;
+	__BITS16 BIT;
+};
+union un_if3l {
+	unsigned char if3l;
+	__BITS8 BIT;
+};
+union un_mk2 {
+	unsigned short mk2;
+	__BITS16 BIT;
+};
+union un_mk2l {
+	unsigned char mk2l;
+	__BITS8 BIT;
+};
+union un_mk2h {
+	unsigned char mk2h;
+	__BITS8 BIT;
+};
+union un_mk3 {
+	unsigned short mk3;
+	__BITS16 BIT;
+};
+union un_mk3l {
+	unsigned char mk3l;
+	__BITS8 BIT;
+};
+union un_pr02 {
+	unsigned short pr02;
+	__BITS16 BIT;
+};
+union un_pr02l {
+	unsigned char pr02l;
+	__BITS8 BIT;
+};
+union un_pr02h {
+	unsigned char pr02h;
+	__BITS8 BIT;
+};
+union un_pr03 {
+	unsigned short pr03;
+	__BITS16 BIT;
+};
+union un_pr03l {
+	unsigned char pr03l;
+	__BITS8 BIT;
+};
+union un_pr12 {
+	unsigned short pr12;
+	__BITS16 BIT;
+};
+union un_pr12l {
+	unsigned char pr12l;
+	__BITS8 BIT;
+};
+union un_pr12h {
+	unsigned char pr12h;
+	__BITS8 BIT;
+};
+union un_pr13 {
+	unsigned short pr13;
+	__BITS16 BIT;
+};
+union un_pr13l {
+	unsigned char pr13l;
+	__BITS8 BIT;
+};
+union un_if0 {
+	unsigned short if0;
+	__BITS16 BIT;
+};
+union un_if0l {
+	unsigned char if0l;
+	__BITS8 BIT;
+};
+union un_if0h {
+	unsigned char if0h;
+	__BITS8 BIT;
+};
+union un_if1 {
+	unsigned short if1;
+	__BITS16 BIT;
+};
+union un_if1l {
+	unsigned char if1l;
+	__BITS8 BIT;
+};
+union un_if1h {
+	unsigned char if1h;
+	__BITS8 BIT;
+};
+union un_mk0 {
+	unsigned short mk0;
+	__BITS16 BIT;
+};
+union un_mk0l {
+	unsigned char mk0l;
+	__BITS8 BIT;
+};
+union un_mk0h {
+	unsigned char mk0h;
+	__BITS8 BIT;
+};
+union un_mk1 {
+	unsigned short mk1;
+	__BITS16 BIT;
+};
+union un_mk1l {
+	unsigned char mk1l;
+	__BITS8 BIT;
+};
+union un_mk1h {
+	unsigned char mk1h;
+	__BITS8 BIT;
+};
+union un_pr00 {
+	unsigned short pr00;
+	__BITS16 BIT;
+};
+union un_pr00l {
+	unsigned char pr00l;
+	__BITS8 BIT;
+};
+union un_pr00h {
+	unsigned char pr00h;
+	__BITS8 BIT;
+};
+union un_pr01 {
+	unsigned short pr01;
+	__BITS16 BIT;
+};
+union un_pr01l {
+	unsigned char pr01l;
+	__BITS8 BIT;
+};
+union un_pr01h {
+	unsigned char pr01h;
+	__BITS8 BIT;
+};
+union un_pr10 {
+	unsigned short pr10;
+	__BITS16 BIT;
+};
+union un_pr10l {
+	unsigned char pr10l;
+	__BITS8 BIT;
+};
+union un_pr10h {
+	unsigned char pr10h;
+	__BITS8 BIT;
+};
+union un_pr11 {
+	unsigned short pr11;
+	__BITS16 BIT;
+};
+union un_pr11l {
+	unsigned char pr11l;
+	__BITS8 BIT;
+};
+union un_pr11h {
+	unsigned char pr11h;
+	__BITS8 BIT;
+};
+union un_pmc {
+	unsigned char pmc;
+	__BITS8 BIT;
+};
+
+#define P0 (*(volatile union un_p0 *)0xFFF00).p0
+#define P0_bit (*(volatile union un_p0 *)0xFFF00).BIT
+#define P1 (*(volatile union un_p1 *)0xFFF01).p1
+#define P1_bit (*(volatile union un_p1 *)0xFFF01).BIT
+#define P2 (*(volatile union un_p2 *)0xFFF02).p2
+#define P2_bit (*(volatile union un_p2 *)0xFFF02).BIT
+#define P3 (*(volatile union un_p3 *)0xFFF03).p3
+#define P3_bit (*(volatile union un_p3 *)0xFFF03).BIT
+#define P4 (*(volatile union un_p4 *)0xFFF04).p4
+#define P4_bit (*(volatile union un_p4 *)0xFFF04).BIT
+#define P5 (*(volatile union un_p5 *)0xFFF05).p5
+#define P5_bit (*(volatile union un_p5 *)0xFFF05).BIT
+#define P6 (*(volatile union un_p6 *)0xFFF06).p6
+#define P6_bit (*(volatile union un_p6 *)0xFFF06).BIT
+#define P7 (*(volatile union un_p7 *)0xFFF07).p7
+#define P7_bit (*(volatile union un_p7 *)0xFFF07).BIT
+#define P12 (*(volatile union un_p12 *)0xFFF0C).p12
+#define P12_bit (*(volatile union un_p12 *)0xFFF0C).BIT
+#define P13 (*(volatile union un_p13 *)0xFFF0D).p13
+#define P13_bit (*(volatile union un_p13 *)0xFFF0D).BIT
+#define P14 (*(volatile union un_p14 *)0xFFF0E).p14
+#define P14_bit (*(volatile union un_p14 *)0xFFF0E).BIT
+#define P15 (*(volatile union un_p15 *)0xFFF0F).p15
+#define P15_bit (*(volatile union un_p15 *)0xFFF0F).BIT
+#define SDR00 (*(volatile unsigned short *)0xFFF10)
+#define SIO00 (*(volatile unsigned char *)0xFFF10)
+#define TXD0 (*(volatile unsigned char *)0xFFF10)
+#define SDR01 (*(volatile unsigned short *)0xFFF12)
+#define RXD0 (*(volatile unsigned char *)0xFFF12)
+#define SDR12 (*(volatile unsigned short *)0xFFF14)
+#define SIO30 (*(volatile unsigned char *)0xFFF14)
+#define TXD3 (*(volatile unsigned char *)0xFFF14)
+#define SDR13 (*(volatile unsigned short *)0xFFF16)
+#define RXD3 (*(volatile unsigned char *)0xFFF16)
+#define TDR00 (*(volatile unsigned short *)0xFFF18)
+#define TDR01 (*(volatile unsigned short *)0xFFF1A)
+#define TDR01L (*(volatile unsigned char *)0xFFF1A)
+#define TDR01H (*(volatile unsigned char *)0xFFF1B)
+#define ADCR (*(volatile unsigned short *)0xFFF1E)
+#define ADCRH (*(volatile unsigned char *)0xFFF1F)
+#define PM0 (*(volatile union un_pm0 *)0xFFF20).pm0
+#define PM0_bit (*(volatile union un_pm0 *)0xFFF20).BIT
+#define PM1 (*(volatile union un_pm1 *)0xFFF21).pm1
+#define PM1_bit (*(volatile union un_pm1 *)0xFFF21).BIT
+#define PM2 (*(volatile union un_pm2 *)0xFFF22).pm2
+#define PM2_bit (*(volatile union un_pm2 *)0xFFF22).BIT
+#define PM3 (*(volatile union un_pm3 *)0xFFF23).pm3
+#define PM3_bit (*(volatile union un_pm3 *)0xFFF23).BIT
+#define PM4 (*(volatile union un_pm4 *)0xFFF24).pm4
+#define PM4_bit (*(volatile union un_pm4 *)0xFFF24).BIT
+#define PM5 (*(volatile union un_pm5 *)0xFFF25).pm5
+#define PM5_bit (*(volatile union un_pm5 *)0xFFF25).BIT
+#define PM6 (*(volatile union un_pm6 *)0xFFF26).pm6
+#define PM6_bit (*(volatile union un_pm6 *)0xFFF26).BIT
+#define PM7 (*(volatile union un_pm7 *)0xFFF27).pm7
+#define PM7_bit (*(volatile union un_pm7 *)0xFFF27).BIT
+#define PM12 (*(volatile union un_pm12 *)0xFFF2C).pm12
+#define PM12_bit (*(volatile union un_pm12 *)0xFFF2C).BIT
+#define PM14 (*(volatile union un_pm14 *)0xFFF2E).pm14
+#define PM14_bit (*(volatile union un_pm14 *)0xFFF2E).BIT
+#define PM15 (*(volatile union un_pm15 *)0xFFF2F).pm15
+#define PM15_bit (*(volatile union un_pm15 *)0xFFF2F).BIT
+#define ADM0 (*(volatile union un_adm0 *)0xFFF30).adm0
+#define ADM0_bit (*(volatile union un_adm0 *)0xFFF30).BIT
+#define ADS (*(volatile union un_ads *)0xFFF31).ads
+#define ADS_bit (*(volatile union un_ads *)0xFFF31).BIT
+#define ADM1 (*(volatile union un_adm1 *)0xFFF32).adm1
+#define ADM1_bit (*(volatile union un_adm1 *)0xFFF32).BIT
+#define KRCTL (*(volatile union un_krctl *)0xFFF34).krctl
+#define KRCTL_bit (*(volatile union un_krctl *)0xFFF34).BIT
+#define KRF (*(volatile unsigned char *)0xFFF35)
+#define KRM0 (*(volatile union un_krm0 *)0xFFF37).krm0
+#define KRM0_bit (*(volatile union un_krm0 *)0xFFF37).BIT
+#define EGP0 (*(volatile union un_egp0 *)0xFFF38).egp0
+#define EGP0_bit (*(volatile union un_egp0 *)0xFFF38).BIT
+#define EGN0 (*(volatile union un_egn0 *)0xFFF39).egn0
+#define EGN0_bit (*(volatile union un_egn0 *)0xFFF39).BIT
+#define LCDM0 (*(volatile unsigned char *)0xFFF40)
+#define LCDM1 (*(volatile union un_lcdm1 *)0xFFF41).lcdm1
+#define LCDM1_bit (*(volatile union un_lcdm1 *)0xFFF41).BIT
+#define LCDC0 (*(volatile unsigned char *)0xFFF42)
+#define VLCD (*(volatile unsigned char *)0xFFF43)
+#define SDR02 (*(volatile unsigned short *)0xFFF44)
+#define SIO10 (*(volatile unsigned char *)0xFFF44)
+#define TXD1 (*(volatile unsigned char *)0xFFF44)
+#define SDR03 (*(volatile unsigned short *)0xFFF46)
+#define RXD1 (*(volatile unsigned char *)0xFFF46)
+#define SDR10 (*(volatile unsigned short *)0xFFF48)
+#define SIO20 (*(volatile unsigned char *)0xFFF48)
+#define TXD2 (*(volatile unsigned char *)0xFFF48)
+#define SDR11 (*(volatile unsigned short *)0xFFF4A)
+#define RXD2 (*(volatile unsigned char *)0xFFF4A)
+#define MLCD (*(volatile union un_mlcd *)0xFFF4C).mlcd
+#define MLCD_bit (*(volatile union un_mlcd *)0xFFF4C).BIT
+#define IICA0 (*(volatile unsigned char *)0xFFF50)
+#define IICS0 (*(volatile union un_iics0 *)0xFFF51).iics0
+#define IICS0_bit (*(volatile union un_iics0 *)0xFFF51).BIT
+#define IICF0 (*(volatile union un_iicf0 *)0xFFF52).iicf0
+#define IICF0_bit (*(volatile union un_iicf0 *)0xFFF52).BIT
+#define TDR02 (*(volatile unsigned short *)0xFFF64)
+#define TDR03 (*(volatile unsigned short *)0xFFF66)
+#define TDR03L (*(volatile unsigned char *)0xFFF66)
+#define TDR03H (*(volatile unsigned char *)0xFFF67)
+#define TDR04 (*(volatile unsigned short *)0xFFF68)
+#define TDR05 (*(volatile unsigned short *)0xFFF6A)
+#define TDR06 (*(volatile unsigned short *)0xFFF6C)
+#define TDR07 (*(volatile unsigned short *)0xFFF6E)
+#define DACS0 (*(volatile unsigned char *)0xFFF74)
+#define DACS1 (*(volatile unsigned char *)0xFFF75)
+#define DAM (*(volatile union un_dam *)0xFFF76).dam
+#define DAM_bit (*(volatile union un_dam *)0xFFF76).BIT
+#define ITMC (*(volatile unsigned short *)0xFFF90)
+#define SEC (*(volatile unsigned char *)0xFFF92)
+#define MIN (*(volatile unsigned char *)0xFFF93)
+#define HOUR (*(volatile unsigned char *)0xFFF94)
+#define WEEK (*(volatile unsigned char *)0xFFF95)
+#define DAY (*(volatile unsigned char *)0xFFF96)
+#define MONTH (*(volatile unsigned char *)0xFFF97)
+#define YEAR (*(volatile unsigned char *)0xFFF98)
+#define ALARMWM (*(volatile unsigned char *)0xFFF9A)
+#define ALARMWH (*(volatile unsigned char *)0xFFF9B)
+#define ALARMWW (*(volatile unsigned char *)0xFFF9C)
+#define RTCC0 (*(volatile union un_rtcc0 *)0xFFF9D).rtcc0
+#define RTCC0_bit (*(volatile union un_rtcc0 *)0xFFF9D).BIT
+#define RTCC1 (*(volatile union un_rtcc1 *)0xFFF9E).rtcc1
+#define RTCC1_bit (*(volatile union un_rtcc1 *)0xFFF9E).BIT
+#define CMC (*(volatile unsigned char *)0xFFFA0)
+#define CSC (*(volatile union un_csc *)0xFFFA1).csc
+#define CSC_bit (*(volatile union un_csc *)0xFFFA1).BIT
+#define OSTC (*(volatile union un_ostc *)0xFFFA2).ostc
+#define OSTC_bit (*(volatile union un_ostc *)0xFFFA2).BIT
+#define OSTS (*(volatile unsigned char *)0xFFFA3)
+#define CKC (*(volatile union un_ckc *)0xFFFA4).ckc
+#define CKC_bit (*(volatile union un_ckc *)0xFFFA4).BIT
+#define CKS0 (*(volatile union un_cks0 *)0xFFFA5).cks0
+#define CKS0_bit (*(volatile union un_cks0 *)0xFFFA5).BIT
+#define CKS1 (*(volatile union un_cks1 *)0xFFFA6).cks1
+#define CKS1_bit (*(volatile union un_cks1 *)0xFFFA6).BIT
+#define RESF (*(volatile unsigned char *)0xFFFA8)
+#define LVIM (*(volatile union un_lvim *)0xFFFA9).lvim
+#define LVIM_bit (*(volatile union un_lvim *)0xFFFA9).BIT
+#define LVIS (*(volatile union un_lvis *)0xFFFAA).lvis
+#define LVIS_bit (*(volatile union un_lvis *)0xFFFAA).BIT
+#define WDTE (*(volatile unsigned char *)0xFFFAB)
+#define CRCIN (*(volatile unsigned char *)0xFFFAC)
+#define IF2 (*(volatile union un_if2 *)0xFFFD0).if2
+#define IF2_bit (*(volatile union un_if2 *)0xFFFD0).BIT
+#define IF2L (*(volatile union un_if2l *)0xFFFD0).if2l
+#define IF2L_bit (*(volatile union un_if2l *)0xFFFD0).BIT
+#define IF2H (*(volatile union un_if2h *)0xFFFD1).if2h
+#define IF2H_bit (*(volatile union un_if2h *)0xFFFD1).BIT
+#define IF3 (*(volatile union un_if3 *)0xFFFD2).if3
+#define IF3_bit (*(volatile union un_if3 *)0xFFFD2).BIT
+#define IF3L (*(volatile union un_if3l *)0xFFFD2).if3l
+#define IF3L_bit (*(volatile union un_if3l *)0xFFFD2).BIT
+#define MK2 (*(volatile union un_mk2 *)0xFFFD4).mk2
+#define MK2_bit (*(volatile union un_mk2 *)0xFFFD4).BIT
+#define MK2L (*(volatile union un_mk2l *)0xFFFD4).mk2l
+#define MK2L_bit (*(volatile union un_mk2l *)0xFFFD4).BIT
+#define MK2H (*(volatile union un_mk2h *)0xFFFD5).mk2h
+#define MK2H_bit (*(volatile union un_mk2h *)0xFFFD5).BIT
+#define MK3 (*(volatile union un_mk3 *)0xFFFD6).mk3
+#define MK3_bit (*(volatile union un_mk3 *)0xFFFD6).BIT
+#define MK3L (*(volatile union un_mk3l *)0xFFFD6).mk3l
+#define MK3L_bit (*(volatile union un_mk3l *)0xFFFD6).BIT
+#define PR02 (*(volatile union un_pr02 *)0xFFFD8).pr02
+#define PR02_bit (*(volatile union un_pr02 *)0xFFFD8).BIT
+#define PR02L (*(volatile union un_pr02l *)0xFFFD8).pr02l
+#define PR02L_bit (*(volatile union un_pr02l *)0xFFFD8).BIT
+#define PR02H (*(volatile union un_pr02h *)0xFFFD9).pr02h
+#define PR02H_bit (*(volatile union un_pr02h *)0xFFFD9).BIT
+#define PR03 (*(volatile union un_pr03 *)0xFFFDA).pr03
+#define PR03_bit (*(volatile union un_pr03 *)0xFFFDA).BIT
+#define PR03L (*(volatile union un_pr03l *)0xFFFDA).pr03l
+#define PR03L_bit (*(volatile union un_pr03l *)0xFFFDA).BIT
+#define PR12 (*(volatile union un_pr12 *)0xFFFDC).pr12
+#define PR12_bit (*(volatile union un_pr12 *)0xFFFDC).BIT
+#define PR12L (*(volatile union un_pr12l *)0xFFFDC).pr12l
+#define PR12L_bit (*(volatile union un_pr12l *)0xFFFDC).BIT
+#define PR12H (*(volatile union un_pr12h *)0xFFFDD).pr12h
+#define PR12H_bit (*(volatile union un_pr12h *)0xFFFDD).BIT
+#define PR13 (*(volatile union un_pr13 *)0xFFFDE).pr13
+#define PR13_bit (*(volatile union un_pr13 *)0xFFFDE).BIT
+#define PR13L (*(volatile union un_pr13l *)0xFFFDE).pr13l
+#define PR13L_bit (*(volatile union un_pr13l *)0xFFFDE).BIT
+#define IF0 (*(volatile union un_if0 *)0xFFFE0).if0
+#define IF0_bit (*(volatile union un_if0 *)0xFFFE0).BIT
+#define IF0L (*(volatile union un_if0l *)0xFFFE0).if0l
+#define IF0L_bit (*(volatile union un_if0l *)0xFFFE0).BIT
+#define IF0H (*(volatile union un_if0h *)0xFFFE1).if0h
+#define IF0H_bit (*(volatile union un_if0h *)0xFFFE1).BIT
+#define IF1 (*(volatile union un_if1 *)0xFFFE2).if1
+#define IF1_bit (*(volatile union un_if1 *)0xFFFE2).BIT
+#define IF1L (*(volatile union un_if1l *)0xFFFE2).if1l
+#define IF1L_bit (*(volatile union un_if1l *)0xFFFE2).BIT
+#define IF1H (*(volatile union un_if1h *)0xFFFE3).if1h
+#define IF1H_bit (*(volatile union un_if1h *)0xFFFE3).BIT
+#define MK0 (*(volatile union un_mk0 *)0xFFFE4).mk0
+#define MK0_bit (*(volatile union un_mk0 *)0xFFFE4).BIT
+#define MK0L (*(volatile union un_mk0l *)0xFFFE4).mk0l
+#define MK0L_bit (*(volatile union un_mk0l *)0xFFFE4).BIT
+#define MK0H (*(volatile union un_mk0h *)0xFFFE5).mk0h
+#define MK0H_bit (*(volatile union un_mk0h *)0xFFFE5).BIT
+#define MK1 (*(volatile union un_mk1 *)0xFFFE6).mk1
+#define MK1_bit (*(volatile union un_mk1 *)0xFFFE6).BIT
+#define MK1L (*(volatile union un_mk1l *)0xFFFE6).mk1l
+#define MK1L_bit (*(volatile union un_mk1l *)0xFFFE6).BIT
+#define MK1H (*(volatile union un_mk1h *)0xFFFE7).mk1h
+#define MK1H_bit (*(volatile union un_mk1h *)0xFFFE7).BIT
+#define PR00 (*(volatile union un_pr00 *)0xFFFE8).pr00
+#define PR00_bit (*(volatile union un_pr00 *)0xFFFE8).BIT
+#define PR00L (*(volatile union un_pr00l *)0xFFFE8).pr00l
+#define PR00L_bit (*(volatile union un_pr00l *)0xFFFE8).BIT
+#define PR00H (*(volatile union un_pr00h *)0xFFFE9).pr00h
+#define PR00H_bit (*(volatile union un_pr00h *)0xFFFE9).BIT
+#define PR01 (*(volatile union un_pr01 *)0xFFFEA).pr01
+#define PR01_bit (*(volatile union un_pr01 *)0xFFFEA).BIT
+#define PR01L (*(volatile union un_pr01l *)0xFFFEA).pr01l
+#define PR01L_bit (*(volatile union un_pr01l *)0xFFFEA).BIT
+#define PR01H (*(volatile union un_pr01h *)0xFFFEB).pr01h
+#define PR01H_bit (*(volatile union un_pr01h *)0xFFFEB).BIT
+#define PR10 (*(volatile union un_pr10 *)0xFFFEC).pr10
+#define PR10_bit (*(volatile union un_pr10 *)0xFFFEC).BIT
+#define PR10L (*(volatile union un_pr10l *)0xFFFEC).pr10l
+#define PR10L_bit (*(volatile union un_pr10l *)0xFFFEC).BIT
+#define PR10H (*(volatile union un_pr10h *)0xFFFED).pr10h
+#define PR10H_bit (*(volatile union un_pr10h *)0xFFFED).BIT
+#define PR11 (*(volatile union un_pr11 *)0xFFFEE).pr11
+#define PR11_bit (*(volatile union un_pr11 *)0xFFFEE).BIT
+#define PR11L (*(volatile union un_pr11l *)0xFFFEE).pr11l
+#define PR11L_bit (*(volatile union un_pr11l *)0xFFFEE).BIT
+#define PR11H (*(volatile union un_pr11h *)0xFFFEF).pr11h
+#define PR11H_bit (*(volatile union un_pr11h *)0xFFFEF).BIT
+#define MACRL (*(volatile unsigned short *)0xFFFF0)
+#define MACRH (*(volatile unsigned short *)0xFFFF2)
+#define PMC (*(volatile union un_pmc *)0xFFFFE).pmc
+#define PMC_bit (*(volatile union un_pmc *)0xFFFFE).BIT
+
+/*
+ Sfr bits
+ */
+#define ADCE ADM0_bit.no0
+#define ADCS ADM0_bit.no7
+#define LCDVLM LCDM1_bit.no0
+#define LCDSEL LCDM1_bit.no3
+#define BLON LCDM1_bit.no4
+#define VLCON LCDM1_bit.no5
+#define SCOC LCDM1_bit.no6
+#define LCDON LCDM1_bit.no7
+#define OPTCKE MLCD_bit.no4
+#define COMEXP MLCD_bit.no6
+#define LCTZS MLCD_bit.no7
+#define SPD0 IICS0_bit.no0
+#define STD0 IICS0_bit.no1
+#define ACKD0 IICS0_bit.no2
+#define TRC0 IICS0_bit.no3
+#define COI0 IICS0_bit.no4
+#define EXC0 IICS0_bit.no5
+#define ALD0 IICS0_bit.no6
+#define MSTS0 IICS0_bit.no7
+#define IICRSV0 IICF0_bit.no0
+#define STCEN0 IICF0_bit.no1
+#define IICBSY0 IICF0_bit.no6
+#define STCF0 IICF0_bit.no7
+#define DACE0 DAM_bit.no4
+#define DACE1 DAM_bit.no5
+#define CLOE1 RTCC0_bit.no5
+#define RTCE RTCC0_bit.no7
+#define RWAIT RTCC1_bit.no0
+#define RWST RTCC1_bit.no1
+#define RIFG RTCC1_bit.no3
+#define WAFG RTCC1_bit.no4
+#define RITE RTCC1_bit.no5
+#define WALIE RTCC1_bit.no6
+#define WALE RTCC1_bit.no7
+#define HIOSTOP CSC_bit.no0
+#define XTSTOP CSC_bit.no6
+#define MSTOP CSC_bit.no7
+#define SDIV CKC_bit.no3
+#define MCM0 CKC_bit.no4
+#define MCS CKC_bit.no5
+#define CSS CKC_bit.no6
+#define CLS CKC_bit.no7
+#define PCLOE0 CKS0_bit.no7
+#define PCLOE1 CKS1_bit.no7
+#define LVIF LVIM_bit.no0
+#define LVIOMSK LVIM_bit.no1
+#define LVISEN LVIM_bit.no7
+#define LVILV LVIS_bit.no0
+#define LVIMD LVIS_bit.no7
+#define TMIF04 IF2_bit.no1
+#define TMIF05 IF2_bit.no2
+#define PIF6 IF2_bit.no3
+#define PIF7 IF2_bit.no4
+#define LCDIF0 IF2_bit.no5
+#define CMPIF0 IF2_bit.no6
+#define CMPIF1 IF2_bit.no7
+#define TMIF06 IF2H_bit.no0
+#define TMIF07 IF2H_bit.no1
+#define USBIF IF2H_bit.no2
+#define RSUIF IF2H_bit.no3
+#define SREIF3 IF2H_bit.no4
+#define TKB2IF0 IF2H_bit.no5
+#define TKB2IF1 IF2H_bit.no6
+#define FLIF IF2H_bit.no7
+#define TKB2IF2 IF3_bit.no0
+#define FIFOIF0 IF3_bit.no1
+#define FIFOIF1 IF3_bit.no2
+#define TMMK04 MK2_bit.no1
+#define TMMK05 MK2_bit.no2
+#define PMK6 MK2_bit.no3
+#define PMK7 MK2_bit.no4
+#define LCDMK0 MK2_bit.no5
+#define CMPMK0 MK2_bit.no6
+#define CMPMK1 MK2_bit.no7
+#define TMMK06 MK2H_bit.no0
+#define TMMK07 MK2H_bit.no1
+#define USBMK MK2H_bit.no2
+#define RSUMK MK2H_bit.no3
+#define SREMK3 MK2H_bit.no4
+#define TKB2MK0 MK2H_bit.no5
+#define TKB2MK1 MK2H_bit.no6
+#define FLMK MK2H_bit.no7
+#define TKB2MK2 MK3_bit.no0
+#define FIFOMK0 MK3_bit.no1
+#define FIFOMK1 MK3_bit.no2
+#define TMPR004 PR02_bit.no1
+#define TMPR005 PR02_bit.no2
+#define PPR06 PR02_bit.no3
+#define PPR07 PR02_bit.no4
+#define LCDPR00 PR02_bit.no5
+#define CMPPR00 PR02_bit.no6
+#define CMPPR01 PR02_bit.no7
+#define TMPR006 PR02H_bit.no0
+#define TMPR007 PR02H_bit.no1
+#define USBPR0 PR02H_bit.no2
+#define RSUPR0 PR02H_bit.no3
+#define SREPR03 PR02H_bit.no4
+#define TKB2PR00 PR02H_bit.no5
+#define TKB2PR01 PR02H_bit.no6
+#define FLPR0 PR02H_bit.no7
+#define TKB2PR02 PR03_bit.no0
+#define FIFOPR00 PR03_bit.no1
+#define FIFOPR01 PR03_bit.no2
+#define TMPR104 PR12_bit.no1
+#define TMPR105 PR12_bit.no2
+#define PPR16 PR12_bit.no3
+#define PPR17 PR12_bit.no4
+#define LCDPR10 PR12_bit.no5
+#define CMPPR10 PR12_bit.no6
+#define CMPPR11 PR12_bit.no7
+#define TMPR106 PR12H_bit.no0
+#define TMPR107 PR12H_bit.no1
+#define USBPR1 PR12H_bit.no2
+#define RSUPR1 PR12H_bit.no3
+#define SREPR13 PR12H_bit.no4
+#define TKB2PR10 PR12H_bit.no5
+#define TKB2PR11 PR12H_bit.no6
+#define FLPR1 PR12H_bit.no7
+#define TKB2PR12 PR13_bit.no0
+#define FIFOPR10 PR13_bit.no1
+#define FIFOPR11 PR13_bit.no2
+#define WDTIIF IF0_bit.no0
+#define LVIIF IF0_bit.no1
+#define PIF0 IF0_bit.no2
+#define PIF1 IF0_bit.no3
+#define PIF2 IF0_bit.no4
+#define PIF3 IF0_bit.no5
+#define PIF4 IF0_bit.no6
+#define PIF5 IF0_bit.no7
+#define CSIIF20 IF0H_bit.no0
+#define IICIF20 IF0H_bit.no0
+#define STIF2 IF0H_bit.no0
+#define SRIF2 IF0H_bit.no1
+#define SREIF2 IF0H_bit.no2
+#define CSIIF00 IF0H_bit.no5
+#define IICIF00 IF0H_bit.no5
+#define STIF0 IF0H_bit.no5
+#define TMIF00 IF0H_bit.no6
+#define SRIF0 IF0H_bit.no7
+#define SREIF0 IF1_bit.no0
+#define TMIF01H IF1_bit.no0
+#define CSIIF10 IF1_bit.no1
+#define IICIF10 IF1_bit.no1
+#define STIF1 IF1_bit.no1
+#define SRIF1 IF1_bit.no2
+#define SREIF1 IF1_bit.no3
+#define TMIF03H IF1_bit.no3
+#define IICAIF0 IF1_bit.no4
+#define RTITIF IF1_bit.no5
+#define TMIF01 IF1_bit.no7
+#define TMIF02 IF1H_bit.no0
+#define TMIF03 IF1H_bit.no1
+#define ADIF IF1H_bit.no2
+#define RTCIF IF1H_bit.no3
+#define TMKAIF IF1H_bit.no4
+#define KRIF IF1H_bit.no5
+#define CSIIF30 IF1H_bit.no6
+#define IICIF30 IF1H_bit.no6
+#define STIF3 IF1H_bit.no6
+#define SRIF3 IF1H_bit.no7
+#define WDTIMK MK0_bit.no0
+#define LVIMK MK0_bit.no1
+#define PMK0 MK0_bit.no2
+#define PMK1 MK0_bit.no3
+#define PMK2 MK0_bit.no4
+#define PMK3 MK0_bit.no5
+#define PMK4 MK0_bit.no6
+#define PMK5 MK0_bit.no7
+#define CSIMK20 MK0H_bit.no0
+#define IICMK20 MK0H_bit.no0
+#define STMK2 MK0H_bit.no0
+#define SRMK2 MK0H_bit.no1
+#define SREMK2 MK0H_bit.no2
+#define CSIMK00 MK0H_bit.no5
+#define IICMK00 MK0H_bit.no5
+#define STMK0 MK0H_bit.no5
+#define TMMK00 MK0H_bit.no6
+#define SRMK0 MK0H_bit.no7
+#define SREMK0 MK1_bit.no0
+#define TMMK01H MK1_bit.no0
+#define CSIMK10 MK1_bit.no1
+#define IICMK10 MK1_bit.no1
+#define STMK1 MK1_bit.no1
+#define SRMK1 MK1_bit.no2
+#define SREMK1 MK1_bit.no3
+#define TMMK03H MK1_bit.no3
+#define IICAMK0 MK1_bit.no4
+#define RTITMK MK1_bit.no5
+#define TMMK01 MK1_bit.no7
+#define TMMK02 MK1H_bit.no0
+#define TMMK03 MK1H_bit.no1
+#define ADMK MK1H_bit.no2
+#define RTCMK MK1H_bit.no3
+#define TMKAMK MK1H_bit.no4
+#define KRMK MK1H_bit.no5
+#define CSIMK30 MK1H_bit.no6
+#define IICMK30 MK1H_bit.no6
+#define STMK3 MK1H_bit.no6
+#define SRMK3 MK1H_bit.no7
+#define WDTIPR0 PR00_bit.no0
+#define LVIPR0 PR00_bit.no1
+#define PPR00 PR00_bit.no2
+#define PPR01 PR00_bit.no3
+#define PPR02 PR00_bit.no4
+#define PPR03 PR00_bit.no5
+#define PPR04 PR00_bit.no6
+#define PPR05 PR00_bit.no7
+#define CSIPR020 PR00H_bit.no0
+#define IICPR020 PR00H_bit.no0
+#define STPR02 PR00H_bit.no0
+#define SRPR02 PR00H_bit.no1
+#define SREPR02 PR00H_bit.no2
+#define CSIPR000 PR00H_bit.no5
+#define IICPR000 PR00H_bit.no5
+#define STPR00 PR00H_bit.no5
+#define TMPR000 PR00H_bit.no6
+#define SRPR00 PR00H_bit.no7
+#define SREPR00 PR01_bit.no0
+#define TMPR001H PR01_bit.no0
+#define CSIPR010 PR01_bit.no1
+#define IICPR010 PR01_bit.no1
+#define STPR01 PR01_bit.no1
+#define SRPR01 PR01_bit.no2
+#define SREPR01 PR01_bit.no3
+#define TMPR003H PR01_bit.no3
+#define IICAPR00 PR01_bit.no4
+#define RTITPR0 PR01_bit.no5
+#define TMPR001 PR01_bit.no7
+#define TMPR002 PR01H_bit.no0
+#define TMPR003 PR01H_bit.no1
+#define ADPR0 PR01H_bit.no2
+#define RTCPR0 PR01H_bit.no3
+#define TMKAPR0 PR01H_bit.no4
+#define KRPR0 PR01H_bit.no5
+#define CSIPR030 PR01H_bit.no6
+#define IICPR030 PR01H_bit.no6
+#define STPR03 PR01H_bit.no6
+#define SRPR03 PR01H_bit.no7
+#define WDTIPR1 PR10_bit.no0
+#define LVIPR1 PR10_bit.no1
+#define PPR10 PR10_bit.no2
+#define PPR11 PR10_bit.no3
+#define PPR12 PR10_bit.no4
+#define PPR13 PR10_bit.no5
+#define PPR14 PR10_bit.no6
+#define PPR15 PR10_bit.no7
+#define CSIPR120 PR10H_bit.no0
+#define IICPR120 PR10H_bit.no0
+#define STPR12 PR10H_bit.no0
+#define SRPR12 PR10H_bit.no1
+#define SREPR12 PR10H_bit.no2
+#define CSIPR100 PR10H_bit.no5
+#define IICPR100 PR10H_bit.no5
+#define STPR10 PR10H_bit.no5
+#define TMPR100 PR10H_bit.no6
+#define SRPR10 PR10H_bit.no7
+#define SREPR10 PR11_bit.no0
+#define TMPR101H PR11_bit.no0
+#define CSIPR110 PR11_bit.no1
+#define IICPR110 PR11_bit.no1
+#define STPR11 PR11_bit.no1
+#define SRPR11 PR11_bit.no2
+#define SREPR11 PR11_bit.no3
+#define TMPR103H PR11_bit.no3
+#define IICAPR10 PR11_bit.no4
+#define RTITPR1 PR11_bit.no5
+#define TMPR101 PR11_bit.no7
+#define TMPR102 PR11H_bit.no0
+#define TMPR103 PR11H_bit.no1
+#define ADPR1 PR11H_bit.no2
+#define RTCPR1 PR11H_bit.no3
+#define TMKAPR1 PR11H_bit.no4
+#define KRPR1 PR11H_bit.no5
+#define CSIPR130 PR11H_bit.no6
+#define IICPR130 PR11H_bit.no6
+#define STPR13 PR11H_bit.no6
+#define SRPR13 PR11H_bit.no7
+#define MAA PMC_bit.no0
+
+/*
+ Interrupt vector addresses
+ */
+#define RST_vect (0x0)
+#define INTDBG_vect (0x2)
+#define INTWDTI_vect (0x4)
+#define INTLVI_vect (0x6)
+#define INTP0_vect (0x8)
+#define INTP1_vect (0xA)
+#define INTP2_vect (0xC)
+#define INTP3_vect (0xE)
+#define INTP4_vect (0x10)
+#define INTP5_vect (0x12)
+#define INTCSI20_vect (0x14)
+#define INTIIC20_vect (0x14)
+#define INTST2_vect (0x14)
+#define INTSR2_vect (0x16)
+#define INTSRE2_vect (0x18)
+#define INTCSI00_vect (0x1E)
+#define INTIIC00_vect (0x1E)
+#define INTST0_vect (0x1E)
+#define INTTM00_vect (0x20)
+#define INTSR0_vect (0x22)
+#define INTSRE0_vect (0x24)
+#define INTTM01H_vect (0x24)
+#define INTCSI10_vect (0x26)
+#define INTIIC10_vect (0x26)
+#define INTST1_vect (0x26)
+#define INTSR1_vect (0x28)
+#define INTSRE1_vect (0x2A)
+#define INTTM03H_vect (0x2A)
+#define INTIICA0_vect (0x2C)
+#define INTRTIT_vect (0x2E)
+#define INTTM01_vect (0x32)
+#define INTTM02_vect (0x34)
+#define INTTM03_vect (0x36)
+#define INTAD_vect (0x38)
+#define INTRTC_vect (0x3A)
+#define INTIT_vect (0x3C)
+#define INTKR_vect (0x3E)
+#define INTCSI30_vect (0x40)
+#define INTIIC30_vect (0x40)
+#define INTST3_vect (0x40)
+#define INTSR3_vect (0x42)
+#define INTTM04_vect (0x46)
+#define INTTM05_vect (0x48)
+#define INTP6_vect (0x4A)
+#define INTP7_vect (0x4C)
+#define INTLCD0_vect (0x4E)
+#define INTCMP0_vect (0x50)
+#define INTCMP1_vect (0x52)
+#define INTTM06_vect (0x54)
+#define INTTM07_vect (0x56)
+#define INTUSB_vect (0x58)
+#define INTRSUM_vect (0x5A)
+#define INTSRE3_vect (0x5C)
+#define INTTKB20_vect (0x5E)
+#define INTTKB21_vect (0x60)
+#define INTFL_vect (0x62)
+#define INTTKB22_vect (0x64)
+#define DTC0FIFO_vect (0x66)
+#define DTC1FIFO_vect (0x68)
+#define BRK_I_vect (0x7E)
+#endif
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C_ext.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C_ext.h
new file mode 100644
index 0000000000..9460259b2e
--- /dev/null
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C_ext.h
@@ -0,0 +1,1178 @@
+/************************************************************************/
+/* Header file generated from device file:                              */
+/*    DR5F110PJ.DVF                                                     */
+/*    Copyright(C) 2013 Renesas                                         */
+/*    File Version E1.00h                                               */
+/*    Tool Version 2.5.211                                              */
+/*    Date Generated 07/05/2013                                         */
+/************************************************************************/
+
+#ifndef __INTRINSIC_FUNCTIONS
+#define __INTRINSIC_FUNCTIONS
+
+#define DI() asm("di")
+#define EI() asm("ei")
+#define HALT() asm("halt")
+#define NOP() asm("nop")
+#define STOP() asm("stop")
+
+#endif
+
+#ifndef __IOREG_BIT_STRUCTURES
+#define __IOREG_BIT_STRUCTURES
+typedef struct {
+	unsigned char no0 :1;
+	unsigned char no1 :1;
+	unsigned char no2 :1;
+	unsigned char no3 :1;
+	unsigned char no4 :1;
+	unsigned char no5 :1;
+	unsigned char no6 :1;
+	unsigned char no7 :1;
+} __BITS8;
+
+typedef struct {
+	unsigned short no0 :1;
+	unsigned short no1 :1;
+	unsigned short no2 :1;
+	unsigned short no3 :1;
+	unsigned short no4 :1;
+	unsigned short no5 :1;
+	unsigned short no6 :1;
+	unsigned short no7 :1;
+	unsigned short no8 :1;
+	unsigned short no9 :1;
+	unsigned short no10 :1;
+	unsigned short no11 :1;
+	unsigned short no12 :1;
+	unsigned short no13 :1;
+	unsigned short no14 :1;
+	unsigned short no15 :1;
+} __BITS16;
+
+#endif
+
+#ifndef IODEFINE_EXT_H
+#define IODEFINE_EXT_H
+
+/*
+ IO Registers
+ */
+union un_adm2 {
+	unsigned char adm2;
+	__BITS8 BIT;
+};
+union un_pu0 {
+	unsigned char pu0;
+	__BITS8 BIT;
+};
+union un_pu1 {
+	unsigned char pu1;
+	__BITS8 BIT;
+};
+union un_pu2 {
+	unsigned char pu2;
+	__BITS8 BIT;
+};
+union un_pu3 {
+	unsigned char pu3;
+	__BITS8 BIT;
+};
+union un_pu4 {
+	unsigned char pu4;
+	__BITS8 BIT;
+};
+union un_pu5 {
+	unsigned char pu5;
+	__BITS8 BIT;
+};
+union un_pu7 {
+	unsigned char pu7;
+	__BITS8 BIT;
+};
+union un_pu12 {
+	unsigned char pu12;
+	__BITS8 BIT;
+};
+union un_pu14 {
+	unsigned char pu14;
+	__BITS8 BIT;
+};
+union un_pim0 {
+	unsigned char pim0;
+	__BITS8 BIT;
+};
+union un_pim1 {
+	unsigned char pim1;
+	__BITS8 BIT;
+};
+union un_pim2 {
+	unsigned char pim2;
+	__BITS8 BIT;
+};
+union un_pim3 {
+	unsigned char pim3;
+	__BITS8 BIT;
+};
+union un_pim4 {
+	unsigned char pim4;
+	__BITS8 BIT;
+};
+union un_pom0 {
+	unsigned char pom0;
+	__BITS8 BIT;
+};
+union un_pom1 {
+	unsigned char pom1;
+	__BITS8 BIT;
+};
+union un_pom2 {
+	unsigned char pom2;
+	__BITS8 BIT;
+};
+union un_pom3 {
+	unsigned char pom3;
+	__BITS8 BIT;
+};
+union un_pom4 {
+	unsigned char pom4;
+	__BITS8 BIT;
+};
+union un_pmc2 {
+	unsigned char pmc2;
+	__BITS8 BIT;
+};
+union un_pmc4 {
+	unsigned char pmc4;
+	__BITS8 BIT;
+};
+union un_pmc14 {
+	unsigned char pmc14;
+	__BITS8 BIT;
+};
+union un_nfen0 {
+	unsigned char nfen0;
+	__BITS8 BIT;
+};
+union un_nfen1 {
+	unsigned char nfen1;
+	__BITS8 BIT;
+};
+union un_isc {
+	unsigned char isc;
+	__BITS8 BIT;
+};
+union un_tos {
+	unsigned char tos;
+	__BITS8 BIT;
+};
+union un_per1 {
+	unsigned char per1;
+	__BITS8 BIT;
+};
+union un_pms {
+	unsigned char pms;
+	__BITS8 BIT;
+};
+union un_dflctl {
+	unsigned char dflctl;
+	__BITS8 BIT;
+};
+union un_per0 {
+	unsigned char per0;
+	__BITS8 BIT;
+};
+union un_rpectl {
+	unsigned char rpectl;
+	__BITS8 BIT;
+};
+union un_per2 {
+	unsigned char per2;
+	__BITS8 BIT;
+};
+union un_se0l {
+	unsigned char se0l;
+	__BITS8 BIT;
+};
+union un_ss0l {
+	unsigned char ss0l;
+	__BITS8 BIT;
+};
+union un_st0l {
+	unsigned char st0l;
+	__BITS8 BIT;
+};
+union un_soe0l {
+	unsigned char soe0l;
+	__BITS8 BIT;
+};
+union un_se1l {
+	unsigned char se1l;
+	__BITS8 BIT;
+};
+union un_ss1l {
+	unsigned char ss1l;
+	__BITS8 BIT;
+};
+union un_st1l {
+	unsigned char st1l;
+	__BITS8 BIT;
+};
+union un_soe1l {
+	unsigned char soe1l;
+	__BITS8 BIT;
+};
+union un_te0l {
+	unsigned char te0l;
+	__BITS8 BIT;
+};
+union un_ts0l {
+	unsigned char ts0l;
+	__BITS8 BIT;
+};
+union un_tt0l {
+	unsigned char tt0l;
+	__BITS8 BIT;
+};
+union un_toe0l {
+	unsigned char toe0l;
+	__BITS8 BIT;
+};
+union un_iicctl00 {
+	unsigned char iicctl00;
+	__BITS8 BIT;
+};
+union un_iicctl01 {
+	unsigned char iicctl01;
+	__BITS8 BIT;
+};
+union un_tkbtrg1 {
+	unsigned char tkbtrg1;
+	__BITS8 BIT;
+};
+union un_tkbflg1 {
+	unsigned char tkbflg1;
+	__BITS8 BIT;
+};
+union un_tkbioc10 {
+	unsigned char tkbioc10;
+	__BITS8 BIT;
+};
+union un_tkbclr1 {
+	unsigned char tkbclr1;
+	__BITS8 BIT;
+};
+union un_tkbioc11 {
+	unsigned char tkbioc11;
+	__BITS8 BIT;
+};
+union un_tkbctl11 {
+	unsigned char tkbctl11;
+	__BITS8 BIT;
+};
+union un_tkbpahfs1 {
+	unsigned char tkbpahfs1;
+	__BITS8 BIT;
+};
+union un_tkbpahft1 {
+	unsigned char tkbpahft1;
+	__BITS8 BIT;
+};
+union un_tkbpaflg1 {
+	unsigned char tkbpaflg1;
+	__BITS8 BIT;
+};
+union un_tkbpactl12 {
+	unsigned char tkbpactl12;
+	__BITS8 BIT;
+};
+union un_tkbtrg2 {
+	unsigned char tkbtrg2;
+	__BITS8 BIT;
+};
+union un_tkbflg2 {
+	unsigned char tkbflg2;
+	__BITS8 BIT;
+};
+union un_tkbioc20 {
+	unsigned char tkbioc20;
+	__BITS8 BIT;
+};
+union un_tkbclr2 {
+	unsigned char tkbclr2;
+	__BITS8 BIT;
+};
+union un_tkbioc21 {
+	unsigned char tkbioc21;
+	__BITS8 BIT;
+};
+union un_tkbctl21 {
+	unsigned char tkbctl21;
+	__BITS8 BIT;
+};
+union un_tkbpahfs2 {
+	unsigned char tkbpahfs2;
+	__BITS8 BIT;
+};
+union un_tkbpahft2 {
+	unsigned char tkbpahft2;
+	__BITS8 BIT;
+};
+union un_tkbpaflg2 {
+	unsigned char tkbpaflg2;
+	__BITS8 BIT;
+};
+union un_tkbpactl22 {
+	unsigned char tkbpactl22;
+	__BITS8 BIT;
+};
+union un_dscctl {
+	unsigned char dscctl;
+	__BITS8 BIT;
+};
+union un_mckc {
+	unsigned char mckc;
+	__BITS8 BIT;
+};
+union un_dtcen0 {
+	unsigned char dtcen0;
+	__BITS8 BIT;
+};
+union un_dtcen1 {
+	unsigned char dtcen1;
+	__BITS8 BIT;
+};
+union un_dtcen2 {
+	unsigned char dtcen2;
+	__BITS8 BIT;
+};
+union un_dtcen3 {
+	unsigned char dtcen3;
+	__BITS8 BIT;
+};
+union un_dtcen4 {
+	unsigned char dtcen4;
+	__BITS8 BIT;
+};
+union un_crc0ctl {
+	unsigned char crc0ctl;
+	__BITS8 BIT;
+};
+union un_pfseg0 {
+	unsigned char pfseg0;
+	__BITS8 BIT;
+};
+union un_pfseg1 {
+	unsigned char pfseg1;
+	__BITS8 BIT;
+};
+union un_pfseg2 {
+	unsigned char pfseg2;
+	__BITS8 BIT;
+};
+union un_pfseg3 {
+	unsigned char pfseg3;
+	__BITS8 BIT;
+};
+union un_pfseg4 {
+	unsigned char pfseg4;
+	__BITS8 BIT;
+};
+union un_pfseg5 {
+	unsigned char pfseg5;
+	__BITS8 BIT;
+};
+union un_pfseg6 {
+	unsigned char pfseg6;
+	__BITS8 BIT;
+};
+union un_isclcd {
+	unsigned char isclcd;
+	__BITS8 BIT;
+};
+union un_compmdr {
+	unsigned char compmdr;
+	__BITS8 BIT;
+};
+union un_compfir {
+	unsigned char compfir;
+	__BITS8 BIT;
+};
+union un_compocr {
+	unsigned char compocr;
+	__BITS8 BIT;
+};
+union un_tkbtrg0 {
+	unsigned char tkbtrg0;
+	__BITS8 BIT;
+};
+union un_tkbflg0 {
+	unsigned char tkbflg0;
+	__BITS8 BIT;
+};
+union un_tkbioc00 {
+	unsigned char tkbioc00;
+	__BITS8 BIT;
+};
+union un_tkbclr0 {
+	unsigned char tkbclr0;
+	__BITS8 BIT;
+};
+union un_tkbioc01 {
+	unsigned char tkbioc01;
+	__BITS8 BIT;
+};
+union un_tkbctl01 {
+	unsigned char tkbctl01;
+	__BITS8 BIT;
+};
+union un_tkbpahfs0 {
+	unsigned char tkbpahfs0;
+	__BITS8 BIT;
+};
+union un_tkbpahft0 {
+	unsigned char tkbpahft0;
+	__BITS8 BIT;
+};
+union un_tkbpaflg0 {
+	unsigned char tkbpaflg0;
+	__BITS8 BIT;
+};
+union un_tkbpactl02 {
+	unsigned char tkbpactl02;
+	__BITS8 BIT;
+};
+
+#define ADM2 (*(volatile union un_adm2 *)0xF0010).adm2
+#define ADM2_bit (*(volatile union un_adm2 *)0xF0010).BIT
+#define ADUL (*(volatile unsigned char *)0xF0011)
+#define ADLL (*(volatile unsigned char *)0xF0012)
+#define ADTES (*(volatile unsigned char *)0xF0013)
+#define PU0 (*(volatile union un_pu0 *)0xF0030).pu0
+#define PU0_bit (*(volatile union un_pu0 *)0xF0030).BIT
+#define PU1 (*(volatile union un_pu1 *)0xF0031).pu1
+#define PU1_bit (*(volatile union un_pu1 *)0xF0031).BIT
+#define PU2 (*(volatile union un_pu2 *)0xF0032).pu2
+#define PU2_bit (*(volatile union un_pu2 *)0xF0032).BIT
+#define PU3 (*(volatile union un_pu3 *)0xF0033).pu3
+#define PU3_bit (*(volatile union un_pu3 *)0xF0033).BIT
+#define PU4 (*(volatile union un_pu4 *)0xF0034).pu4
+#define PU4_bit (*(volatile union un_pu4 *)0xF0034).BIT
+#define PU5 (*(volatile union un_pu5 *)0xF0035).pu5
+#define PU5_bit (*(volatile union un_pu5 *)0xF0035).BIT
+#define PU7 (*(volatile union un_pu7 *)0xF0037).pu7
+#define PU7_bit (*(volatile union un_pu7 *)0xF0037).BIT
+#define PU12 (*(volatile union un_pu12 *)0xF003C).pu12
+#define PU12_bit (*(volatile union un_pu12 *)0xF003C).BIT
+#define PU14 (*(volatile union un_pu14 *)0xF003E).pu14
+#define PU14_bit (*(volatile union un_pu14 *)0xF003E).BIT
+#define PIM0 (*(volatile union un_pim0 *)0xF0040).pim0
+#define PIM0_bit (*(volatile union un_pim0 *)0xF0040).BIT
+#define PIM1 (*(volatile union un_pim1 *)0xF0041).pim1
+#define PIM1_bit (*(volatile union un_pim1 *)0xF0041).BIT
+#define PIM2 (*(volatile union un_pim2 *)0xF0042).pim2
+#define PIM2_bit (*(volatile union un_pim2 *)0xF0042).BIT
+#define PIM3 (*(volatile union un_pim3 *)0xF0043).pim3
+#define PIM3_bit (*(volatile union un_pim3 *)0xF0043).BIT
+#define PIM4 (*(volatile union un_pim4 *)0xF0044).pim4
+#define PIM4_bit (*(volatile union un_pim4 *)0xF0044).BIT
+#define POM0 (*(volatile union un_pom0 *)0xF0050).pom0
+#define POM0_bit (*(volatile union un_pom0 *)0xF0050).BIT
+#define POM1 (*(volatile union un_pom1 *)0xF0051).pom1
+#define POM1_bit (*(volatile union un_pom1 *)0xF0051).BIT
+#define POM2 (*(volatile union un_pom2 *)0xF0052).pom2
+#define POM2_bit (*(volatile union un_pom2 *)0xF0052).BIT
+#define POM3 (*(volatile union un_pom3 *)0xF0053).pom3
+#define POM3_bit (*(volatile union un_pom3 *)0xF0053).BIT
+#define POM4 (*(volatile union un_pom4 *)0xF0054).pom4
+#define POM4_bit (*(volatile union un_pom4 *)0xF0054).BIT
+#define PMC2 (*(volatile union un_pmc2 *)0xF0062).pmc2
+#define PMC2_bit (*(volatile union un_pmc2 *)0xF0062).BIT
+#define PMC4 (*(volatile union un_pmc4 *)0xF0064).pmc4
+#define PMC4_bit (*(volatile union un_pmc4 *)0xF0064).BIT
+#define PMC14 (*(volatile union un_pmc14 *)0xF006E).pmc14
+#define PMC14_bit (*(volatile union un_pmc14 *)0xF006E).BIT
+#define NFEN0 (*(volatile union un_nfen0 *)0xF0070).nfen0
+#define NFEN0_bit (*(volatile union un_nfen0 *)0xF0070).BIT
+#define NFEN1 (*(volatile union un_nfen1 *)0xF0071).nfen1
+#define NFEN1_bit (*(volatile union un_nfen1 *)0xF0071).BIT
+#define ISC (*(volatile union un_isc *)0xF0073).isc
+#define ISC_bit (*(volatile union un_isc *)0xF0073).BIT
+#define TIS0 (*(volatile unsigned char *)0xF0074)
+#define ADPC (*(volatile unsigned char *)0xF0076)
+#define PIOR (*(volatile unsigned char *)0xF0077)
+#define IAWCTL (*(volatile unsigned char *)0xF0078)
+#define TOS (*(volatile union un_tos *)0xF0079).tos
+#define TOS_bit (*(volatile union un_tos *)0xF0079).BIT
+#define PER1 (*(volatile union un_per1 *)0xF007A).per1
+#define PER1_bit (*(volatile union un_per1 *)0xF007A).BIT
+#define PMS (*(volatile union un_pms *)0xF007B).pms
+#define PMS_bit (*(volatile union un_pms *)0xF007B).BIT
+#define GAIDIS (*(volatile unsigned char *)0xF007C)
+#define DFLCTL (*(volatile union un_dflctl *)0xF0090).dflctl
+#define DFLCTL_bit (*(volatile union un_dflctl *)0xF0090).BIT
+#define HOCODIV (*(volatile unsigned char *)0xF00A8)
+#define PER0 (*(volatile union un_per0 *)0xF00F0).per0
+#define PER0_bit (*(volatile union un_per0 *)0xF00F0).BIT
+#define OSMC (*(volatile unsigned char *)0xF00F3)
+#define RPECTL (*(volatile union un_rpectl *)0xF00F5).rpectl
+#define RPECTL_bit (*(volatile union un_rpectl *)0xF00F5).BIT
+#define PORSR (*(volatile unsigned char *)0xF00F9)
+#define PER2 (*(volatile union un_per2 *)0xF00FD).per2
+#define PER2_bit (*(volatile union un_per2 *)0xF00FD).BIT
+#define BCDADJ (*(volatile unsigned char *)0xF00FE)
+#define SSR00 (*(volatile unsigned short *)0xF0100)
+#define SSR00L (*(volatile unsigned char *)0xF0100)
+#define SSR01 (*(volatile unsigned short *)0xF0102)
+#define SSR01L (*(volatile unsigned char *)0xF0102)
+#define SSR02 (*(volatile unsigned short *)0xF0104)
+#define SSR02L (*(volatile unsigned char *)0xF0104)
+#define SSR03 (*(volatile unsigned short *)0xF0106)
+#define SSR03L (*(volatile unsigned char *)0xF0106)
+#define SIR00 (*(volatile unsigned short *)0xF0108)
+#define SIR00L (*(volatile unsigned char *)0xF0108)
+#define SIR01 (*(volatile unsigned short *)0xF010A)
+#define SIR01L (*(volatile unsigned char *)0xF010A)
+#define SIR02 (*(volatile unsigned short *)0xF010C)
+#define SIR02L (*(volatile unsigned char *)0xF010C)
+#define SIR03 (*(volatile unsigned short *)0xF010E)
+#define SIR03L (*(volatile unsigned char *)0xF010E)
+#define SMR00 (*(volatile unsigned short *)0xF0110)
+#define SMR01 (*(volatile unsigned short *)0xF0112)
+#define SMR02 (*(volatile unsigned short *)0xF0114)
+#define SMR03 (*(volatile unsigned short *)0xF0116)
+#define SCR00 (*(volatile unsigned short *)0xF0118)
+#define SCR01 (*(volatile unsigned short *)0xF011A)
+#define SCR02 (*(volatile unsigned short *)0xF011C)
+#define SCR03 (*(volatile unsigned short *)0xF011E)
+#define SE0 (*(volatile unsigned short *)0xF0120)
+#define SE0L (*(volatile union un_se0l *)0xF0120).se0l
+#define SE0L_bit (*(volatile union un_se0l *)0xF0120).BIT
+#define SS0 (*(volatile unsigned short *)0xF0122)
+#define SS0L (*(volatile union un_ss0l *)0xF0122).ss0l
+#define SS0L_bit (*(volatile union un_ss0l *)0xF0122).BIT
+#define ST0 (*(volatile unsigned short *)0xF0124)
+#define ST0L (*(volatile union un_st0l *)0xF0124).st0l
+#define ST0L_bit (*(volatile union un_st0l *)0xF0124).BIT
+#define SPS0 (*(volatile unsigned short *)0xF0126)
+#define SPS0L (*(volatile unsigned char *)0xF0126)
+#define SO0 (*(volatile unsigned short *)0xF0128)
+#define SOE0 (*(volatile unsigned short *)0xF012A)
+#define SOE0L (*(volatile union un_soe0l *)0xF012A).soe0l
+#define SOE0L_bit (*(volatile union un_soe0l *)0xF012A).BIT
+#define SOL0 (*(volatile unsigned short *)0xF0134)
+#define SOL0L (*(volatile unsigned char *)0xF0134)
+#define SSC0 (*(volatile unsigned short *)0xF0138)
+#define SSC0L (*(volatile unsigned char *)0xF0138)
+#define SSR10 (*(volatile unsigned short *)0xF0140)
+#define SSR10L (*(volatile unsigned char *)0xF0140)
+#define SSR11 (*(volatile unsigned short *)0xF0142)
+#define SSR11L (*(volatile unsigned char *)0xF0142)
+#define SSR12 (*(volatile unsigned short *)0xF0144)
+#define SSR12L (*(volatile unsigned char *)0xF0144)
+#define SSR13 (*(volatile unsigned short *)0xF0146)
+#define SSR13L (*(volatile unsigned char *)0xF0146)
+#define SIR10 (*(volatile unsigned short *)0xF0148)
+#define SIR10L (*(volatile unsigned char *)0xF0148)
+#define SIR11 (*(volatile unsigned short *)0xF014A)
+#define SIR11L (*(volatile unsigned char *)0xF014A)
+#define SIR12 (*(volatile unsigned short *)0xF014C)
+#define SIR12L (*(volatile unsigned char *)0xF014C)
+#define SIR13 (*(volatile unsigned short *)0xF014E)
+#define SIR13L (*(volatile unsigned char *)0xF014E)
+#define SMR10 (*(volatile unsigned short *)0xF0150)
+#define SMR11 (*(volatile unsigned short *)0xF0152)
+#define SMR12 (*(volatile unsigned short *)0xF0154)
+#define SMR13 (*(volatile unsigned short *)0xF0156)
+#define SCR10 (*(volatile unsigned short *)0xF0158)
+#define SCR11 (*(volatile unsigned short *)0xF015A)
+#define SCR12 (*(volatile unsigned short *)0xF015C)
+#define SCR13 (*(volatile unsigned short *)0xF015E)
+#define SE1 (*(volatile unsigned short *)0xF0160)
+#define SE1L (*(volatile union un_se1l *)0xF0160).se1l
+#define SE1L_bit (*(volatile union un_se1l *)0xF0160).BIT
+#define SS1 (*(volatile unsigned short *)0xF0162)
+#define SS1L (*(volatile union un_ss1l *)0xF0162).ss1l
+#define SS1L_bit (*(volatile union un_ss1l *)0xF0162).BIT
+#define ST1 (*(volatile unsigned short *)0xF0164)
+#define ST1L (*(volatile union un_st1l *)0xF0164).st1l
+#define ST1L_bit (*(volatile union un_st1l *)0xF0164).BIT
+#define SPS1 (*(volatile unsigned short *)0xF0166)
+#define SPS1L (*(volatile unsigned char *)0xF0166)
+#define SO1 (*(volatile unsigned short *)0xF0168)
+#define SOE1 (*(volatile unsigned short *)0xF016A)
+#define SOE1L (*(volatile union un_soe1l *)0xF016A).soe1l
+#define SOE1L_bit (*(volatile union un_soe1l *)0xF016A).BIT
+#define SOL1 (*(volatile unsigned short *)0xF0174)
+#define SOL1L (*(volatile unsigned char *)0xF0174)
+#define SSC1 (*(volatile unsigned short *)0xF0178)
+#define SSC1L (*(volatile unsigned char *)0xF0178)
+#define TCR00 (*(volatile unsigned short *)0xF0180)
+#define TCR01 (*(volatile unsigned short *)0xF0182)
+#define TCR02 (*(volatile unsigned short *)0xF0184)
+#define TCR03 (*(volatile unsigned short *)0xF0186)
+#define TCR04 (*(volatile unsigned short *)0xF0188)
+#define TCR05 (*(volatile unsigned short *)0xF018A)
+#define TCR06 (*(volatile unsigned short *)0xF018C)
+#define TCR07 (*(volatile unsigned short *)0xF018E)
+#define TMR00 (*(volatile unsigned short *)0xF0190)
+#define TMR01 (*(volatile unsigned short *)0xF0192)
+#define TMR02 (*(volatile unsigned short *)0xF0194)
+#define TMR03 (*(volatile unsigned short *)0xF0196)
+#define TMR04 (*(volatile unsigned short *)0xF0198)
+#define TMR05 (*(volatile unsigned short *)0xF019A)
+#define TMR06 (*(volatile unsigned short *)0xF019C)
+#define TMR07 (*(volatile unsigned short *)0xF019E)
+#define TSR00 (*(volatile unsigned short *)0xF01A0)
+#define TSR00L (*(volatile unsigned char *)0xF01A0)
+#define TSR01 (*(volatile unsigned short *)0xF01A2)
+#define TSR01L (*(volatile unsigned char *)0xF01A2)
+#define TSR02 (*(volatile unsigned short *)0xF01A4)
+#define TSR02L (*(volatile unsigned char *)0xF01A4)
+#define TSR03 (*(volatile unsigned short *)0xF01A6)
+#define TSR03L (*(volatile unsigned char *)0xF01A6)
+#define TSR04 (*(volatile unsigned short *)0xF01A8)
+#define TSR04L (*(volatile unsigned char *)0xF01A8)
+#define TSR05 (*(volatile unsigned short *)0xF01AA)
+#define TSR05L (*(volatile unsigned char *)0xF01AA)
+#define TSR06 (*(volatile unsigned short *)0xF01AC)
+#define TSR06L (*(volatile unsigned char *)0xF01AC)
+#define TSR07 (*(volatile unsigned short *)0xF01AE)
+#define TSR07L (*(volatile unsigned char *)0xF01AE)
+#define TE0 (*(volatile unsigned short *)0xF01B0)
+#define TE0L (*(volatile union un_te0l *)0xF01B0).te0l
+#define TE0L_bit (*(volatile union un_te0l *)0xF01B0).BIT
+#define TS0 (*(volatile unsigned short *)0xF01B2)
+#define TS0L (*(volatile union un_ts0l *)0xF01B2).ts0l
+#define TS0L_bit (*(volatile union un_ts0l *)0xF01B2).BIT
+#define TT0 (*(volatile unsigned short *)0xF01B4)
+#define TT0L (*(volatile union un_tt0l *)0xF01B4).tt0l
+#define TT0L_bit (*(volatile union un_tt0l *)0xF01B4).BIT
+#define TPS0 (*(volatile unsigned short *)0xF01B6)
+#define TO0 (*(volatile unsigned short *)0xF01B8)
+#define TO0L (*(volatile unsigned char *)0xF01B8)
+#define TOE0 (*(volatile unsigned short *)0xF01BA)
+#define TOE0L (*(volatile union un_toe0l *)0xF01BA).toe0l
+#define TOE0L_bit (*(volatile union un_toe0l *)0xF01BA).BIT
+#define TOL0 (*(volatile unsigned short *)0xF01BC)
+#define TOL0L (*(volatile unsigned char *)0xF01BC)
+#define TOM0 (*(volatile unsigned short *)0xF01BE)
+#define TOM0L (*(volatile unsigned char *)0xF01BE)
+#define ELSELR00 (*(volatile unsigned char *)0xF01C0)
+#define ELSELR01 (*(volatile unsigned char *)0xF01C1)
+#define ELSELR02 (*(volatile unsigned char *)0xF01C2)
+#define ELSELR03 (*(volatile unsigned char *)0xF01C3)
+#define ELSELR04 (*(volatile unsigned char *)0xF01C4)
+#define ELSELR05 (*(volatile unsigned char *)0xF01C5)
+#define ELSELR06 (*(volatile unsigned char *)0xF01C6)
+#define ELSELR07 (*(volatile unsigned char *)0xF01C7)
+#define ELSELR08 (*(volatile unsigned char *)0xF01C8)
+#define ELSELR09 (*(volatile unsigned char *)0xF01C9)
+#define ELSELR10 (*(volatile unsigned char *)0xF01CA)
+#define ELSELR11 (*(volatile unsigned char *)0xF01CB)
+#define ELSELR12 (*(volatile unsigned char *)0xF01CC)
+#define ELSELR13 (*(volatile unsigned char *)0xF01CD)
+#define ELSELR14 (*(volatile unsigned char *)0xF01CE)
+#define ELSELR15 (*(volatile unsigned char *)0xF01CF)
+#define ELSELR16 (*(volatile unsigned char *)0xF01D0)
+#define ELSELR17 (*(volatile unsigned char *)0xF01D1)
+#define ELSELR18 (*(volatile unsigned char *)0xF01D2)
+#define ELSELR19 (*(volatile unsigned char *)0xF01D3)
+#define ELSELR20 (*(volatile unsigned char *)0xF01D4)
+#define ELSELR21 (*(volatile unsigned char *)0xF01D5)
+#define ELSELR22 (*(volatile unsigned char *)0xF01D6)
+#define ELSELR23 (*(volatile unsigned char *)0xF01D7)
+#define ELSELR24 (*(volatile unsigned char *)0xF01D8)
+#define ELSELR25 (*(volatile unsigned char *)0xF01D9)
+#define ELSELR26 (*(volatile unsigned char *)0xF01DA)
+#define ELSELR27 (*(volatile unsigned char *)0xF01DB)
+#define ELSELR28 (*(volatile unsigned char *)0xF01DC)
+#define ELSELR29 (*(volatile unsigned char *)0xF01DD)
+#define ELSELR30 (*(volatile unsigned char *)0xF01DE)
+#define IICCTL00 (*(volatile union un_iicctl00 *)0xF0230).iicctl00
+#define IICCTL00_bit (*(volatile union un_iicctl00 *)0xF0230).BIT
+#define IICCTL01 (*(volatile union un_iicctl01 *)0xF0231).iicctl01
+#define IICCTL01_bit (*(volatile union un_iicctl01 *)0xF0231).BIT
+#define IICWL0 (*(volatile unsigned char *)0xF0232)
+#define IICWH0 (*(volatile unsigned char *)0xF0233)
+#define SVA0 (*(volatile unsigned char *)0xF0234)
+#define TKBCR10 (*(volatile unsigned short *)0xF0240)
+#define TKBCR11 (*(volatile unsigned short *)0xF0242)
+#define TKBCR12 (*(volatile unsigned short *)0xF0244)
+#define TKBCR13 (*(volatile unsigned short *)0xF0246)
+#define TKBTGCR1 (*(volatile unsigned short *)0xF0248)
+#define TKBSIR10 (*(volatile unsigned short *)0xF024A)
+#define TKBSIR11 (*(volatile unsigned short *)0xF024C)
+#define TKBDNR10 (*(volatile unsigned char *)0xF024E)
+#define TKBSSR10 (*(volatile unsigned char *)0xF024F)
+#define TKBDNR11 (*(volatile unsigned char *)0xF0250)
+#define TKBSSR11 (*(volatile unsigned char *)0xF0251)
+#define TKBTRG1 (*(volatile union un_tkbtrg1 *)0xF0252).tkbtrg1
+#define TKBTRG1_bit (*(volatile union un_tkbtrg1 *)0xF0252).BIT
+#define TKBFLG1 (*(volatile union un_tkbflg1 *)0xF0253).tkbflg1
+#define TKBFLG1_bit (*(volatile union un_tkbflg1 *)0xF0253).BIT
+#define TKBCRLD10 (*(volatile unsigned short *)0xF0254)
+#define TKBCRLD11 (*(volatile unsigned short *)0xF0256)
+#define TKBCNT1 (*(volatile unsigned short *)0xF0260)
+#define TKBCTL10 (*(volatile unsigned short *)0xF0262)
+#define TKBMFR1 (*(volatile unsigned short *)0xF0264)
+#define TKBIOC10 (*(volatile union un_tkbioc10 *)0xF0266).tkbioc10
+#define TKBIOC10_bit (*(volatile union un_tkbioc10 *)0xF0266).BIT
+#define TKBCLR1 (*(volatile union un_tkbclr1 *)0xF0267).tkbclr1
+#define TKBCLR1_bit (*(volatile union un_tkbclr1 *)0xF0267).BIT
+#define TKBIOC11 (*(volatile union un_tkbioc11 *)0xF0268).tkbioc11
+#define TKBIOC11_bit (*(volatile union un_tkbioc11 *)0xF0268).BIT
+#define TKBCTL11 (*(volatile union un_tkbctl11 *)0xF0269).tkbctl11
+#define TKBCTL11_bit (*(volatile union un_tkbctl11 *)0xF0269).BIT
+#define TKBPSCS1 (*(volatile unsigned char *)0xF026A)
+#define TKBPACTL10 (*(volatile unsigned short *)0xF0270)
+#define TKBPACTL11 (*(volatile unsigned short *)0xF0272)
+#define TKBPAHFS1 (*(volatile union un_tkbpahfs1 *)0xF0274).tkbpahfs1
+#define TKBPAHFS1_bit (*(volatile union un_tkbpahfs1 *)0xF0274).BIT
+#define TKBPAHFT1 (*(volatile union un_tkbpahft1 *)0xF0275).tkbpahft1
+#define TKBPAHFT1_bit (*(volatile union un_tkbpahft1 *)0xF0275).BIT
+#define TKBPAFLG1 (*(volatile union un_tkbpaflg1 *)0xF0276).tkbpaflg1
+#define TKBPAFLG1_bit (*(volatile union un_tkbpaflg1 *)0xF0276).BIT
+#define TKBPACTL12 (*(volatile union un_tkbpactl12 *)0xF0277).tkbpactl12
+#define TKBPACTL12_bit (*(volatile union un_tkbpactl12 *)0xF0277).BIT
+#define TKBCR20 (*(volatile unsigned short *)0xF0280)
+#define TKBCR21 (*(volatile unsigned short *)0xF0282)
+#define TKBCR22 (*(volatile unsigned short *)0xF0284)
+#define TKBCR23 (*(volatile unsigned short *)0xF0286)
+#define TKBTGCR2 (*(volatile unsigned short *)0xF0288)
+#define TKBSIR20 (*(volatile unsigned short *)0xF028A)
+#define TKBSIR21 (*(volatile unsigned short *)0xF028C)
+#define TKBDNR20 (*(volatile unsigned char *)0xF028E)
+#define TKBSSR20 (*(volatile unsigned char *)0xF028F)
+#define TKBDNR21 (*(volatile unsigned char *)0xF0290)
+#define TKBSSR21 (*(volatile unsigned char *)0xF0291)
+#define TKBTRG2 (*(volatile union un_tkbtrg2 *)0xF0292).tkbtrg2
+#define TKBTRG2_bit (*(volatile union un_tkbtrg2 *)0xF0292).BIT
+#define TKBFLG2 (*(volatile union un_tkbflg2 *)0xF0293).tkbflg2
+#define TKBFLG2_bit (*(volatile union un_tkbflg2 *)0xF0293).BIT
+#define TKBCRLD20 (*(volatile unsigned short *)0xF0294)
+#define TKBCRLD21 (*(volatile unsigned short *)0xF0296)
+#define TKBCNT2 (*(volatile unsigned short *)0xF02A0)
+#define TKBCTL20 (*(volatile unsigned short *)0xF02A2)
+#define TKBMFR2 (*(volatile unsigned short *)0xF02A4)
+#define TKBIOC20 (*(volatile union un_tkbioc20 *)0xF02A6).tkbioc20
+#define TKBIOC20_bit (*(volatile union un_tkbioc20 *)0xF02A6).BIT
+#define TKBCLR2 (*(volatile union un_tkbclr2 *)0xF02A7).tkbclr2
+#define TKBCLR2_bit (*(volatile union un_tkbclr2 *)0xF02A7).BIT
+#define TKBIOC21 (*(volatile union un_tkbioc21 *)0xF02A8).tkbioc21
+#define TKBIOC21_bit (*(volatile union un_tkbioc21 *)0xF02A8).BIT
+#define TKBCTL21 (*(volatile union un_tkbctl21 *)0xF02A9).tkbctl21
+#define TKBCTL21_bit (*(volatile union un_tkbctl21 *)0xF02A9).BIT
+#define TKBPSCS2 (*(volatile unsigned char *)0xF02AA)
+#define TKBPACTL20 (*(volatile unsigned short *)0xF02B0)
+#define TKBPACTL21 (*(volatile unsigned short *)0xF02B2)
+#define TKBPAHFS2 (*(volatile union un_tkbpahfs2 *)0xF02B4).tkbpahfs2
+#define TKBPAHFS2_bit (*(volatile union un_tkbpahfs2 *)0xF02B4).BIT
+#define TKBPAHFT2 (*(volatile union un_tkbpahft2 *)0xF02B5).tkbpahft2
+#define TKBPAHFT2_bit (*(volatile union un_tkbpahft2 *)0xF02B5).BIT
+#define TKBPAFLG2 (*(volatile union un_tkbpaflg2 *)0xF02B6).tkbpaflg2
+#define TKBPAFLG2_bit (*(volatile union un_tkbpaflg2 *)0xF02B6).BIT
+#define TKBPACTL22 (*(volatile union un_tkbpactl22 *)0xF02B7).tkbpactl22
+#define TKBPACTL22_bit (*(volatile union un_tkbpactl22 *)0xF02B7).BIT
+#define DTCBAR (*(volatile unsigned char *)0xF02E0)
+#define DSCCTL (*(volatile union un_dscctl *)0xF02E5).dscctl
+#define DSCCTL_bit (*(volatile union un_dscctl *)0xF02E5).BIT
+#define MCKC (*(volatile union un_mckc *)0xF02E6).mckc
+#define MCKC_bit (*(volatile union un_mckc *)0xF02E6).BIT
+#define DTCEN0 (*(volatile union un_dtcen0 *)0xF02E8).dtcen0
+#define DTCEN0_bit (*(volatile union un_dtcen0 *)0xF02E8).BIT
+#define DTCEN1 (*(volatile union un_dtcen1 *)0xF02E9).dtcen1
+#define DTCEN1_bit (*(volatile union un_dtcen1 *)0xF02E9).BIT
+#define DTCEN2 (*(volatile union un_dtcen2 *)0xF02EA).dtcen2
+#define DTCEN2_bit (*(volatile union un_dtcen2 *)0xF02EA).BIT
+#define DTCEN3 (*(volatile union un_dtcen3 *)0xF02EB).dtcen3
+#define DTCEN3_bit (*(volatile union un_dtcen3 *)0xF02EB).BIT
+#define DTCEN4 (*(volatile union un_dtcen4 *)0xF02EC).dtcen4
+#define DTCEN4_bit (*(volatile union un_dtcen4 *)0xF02EC).BIT
+#define CRC0CTL (*(volatile union un_crc0ctl *)0xF02F0).crc0ctl
+#define CRC0CTL_bit (*(volatile union un_crc0ctl *)0xF02F0).BIT
+#define PGCRCL (*(volatile unsigned short *)0xF02F2)
+#define CRCD (*(volatile unsigned short *)0xF02FA)
+#define PFSEG0 (*(volatile union un_pfseg0 *)0xF0300).pfseg0
+#define PFSEG0_bit (*(volatile union un_pfseg0 *)0xF0300).BIT
+#define PFSEG1 (*(volatile union un_pfseg1 *)0xF0301).pfseg1
+#define PFSEG1_bit (*(volatile union un_pfseg1 *)0xF0301).BIT
+#define PFSEG2 (*(volatile union un_pfseg2 *)0xF0302).pfseg2
+#define PFSEG2_bit (*(volatile union un_pfseg2 *)0xF0302).BIT
+#define PFSEG3 (*(volatile union un_pfseg3 *)0xF0303).pfseg3
+#define PFSEG3_bit (*(volatile union un_pfseg3 *)0xF0303).BIT
+#define PFSEG4 (*(volatile union un_pfseg4 *)0xF0304).pfseg4
+#define PFSEG4_bit (*(volatile union un_pfseg4 *)0xF0304).BIT
+#define PFSEG5 (*(volatile union un_pfseg5 *)0xF0305).pfseg5
+#define PFSEG5_bit (*(volatile union un_pfseg5 *)0xF0305).BIT
+#define PFSEG6 (*(volatile union un_pfseg6 *)0xF0306).pfseg6
+#define PFSEG6_bit (*(volatile union un_pfseg6 *)0xF0306).BIT
+#define ISCLCD (*(volatile union un_isclcd *)0xF0308).isclcd
+#define ISCLCD_bit (*(volatile union un_isclcd *)0xF0308).BIT
+#define SUBCUD (*(volatile unsigned short *)0xF0310)
+#define COMPMDR (*(volatile union un_compmdr *)0xF0340).compmdr
+#define COMPMDR_bit (*(volatile union un_compmdr *)0xF0340).BIT
+#define COMPFIR (*(volatile union un_compfir *)0xF0341).compfir
+#define COMPFIR_bit (*(volatile union un_compfir *)0xF0341).BIT
+#define COMPOCR (*(volatile union un_compocr *)0xF0342).compocr
+#define COMPOCR_bit (*(volatile union un_compocr *)0xF0342).BIT
+#define SEG0 (*(volatile unsigned char *)0xF0400)
+#define SEG1 (*(volatile unsigned char *)0xF0401)
+#define SEG2 (*(volatile unsigned char *)0xF0402)
+#define SEG3 (*(volatile unsigned char *)0xF0403)
+#define SEG4 (*(volatile unsigned char *)0xF0404)
+#define SEG5 (*(volatile unsigned char *)0xF0405)
+#define SEG6 (*(volatile unsigned char *)0xF0406)
+#define SEG7 (*(volatile unsigned char *)0xF0407)
+#define SEG8 (*(volatile unsigned char *)0xF0408)
+#define SEG9 (*(volatile unsigned char *)0xF0409)
+#define SEG10 (*(volatile unsigned char *)0xF040A)
+#define SEG11 (*(volatile unsigned char *)0xF040B)
+#define SEG12 (*(volatile unsigned char *)0xF040C)
+#define SEG13 (*(volatile unsigned char *)0xF040D)
+#define SEG14 (*(volatile unsigned char *)0xF040E)
+#define SEG15 (*(volatile unsigned char *)0xF040F)
+#define SEG16 (*(volatile unsigned char *)0xF0410)
+#define SEG17 (*(volatile unsigned char *)0xF0411)
+#define SEG18 (*(volatile unsigned char *)0xF0412)
+#define SEG19 (*(volatile unsigned char *)0xF0413)
+#define SEG20 (*(volatile unsigned char *)0xF0414)
+#define SEG21 (*(volatile unsigned char *)0xF0415)
+#define SEG22 (*(volatile unsigned char *)0xF0416)
+#define SEG23 (*(volatile unsigned char *)0xF0417)
+#define SEG24 (*(volatile unsigned char *)0xF0418)
+#define SEG25 (*(volatile unsigned char *)0xF0419)
+#define SEG26 (*(volatile unsigned char *)0xF041A)
+#define SEG27 (*(volatile unsigned char *)0xF041B)
+#define SEG28 (*(volatile unsigned char *)0xF041C)
+#define SEG29 (*(volatile unsigned char *)0xF041D)
+#define SEG30 (*(volatile unsigned char *)0xF041E)
+#define SEG31 (*(volatile unsigned char *)0xF041F)
+#define SEG32 (*(volatile unsigned char *)0xF0420)
+#define SEG33 (*(volatile unsigned char *)0xF0421)
+#define SEG34 (*(volatile unsigned char *)0xF0422)
+#define SEG35 (*(volatile unsigned char *)0xF0423)
+#define SEG36 (*(volatile unsigned char *)0xF0424)
+#define SEG37 (*(volatile unsigned char *)0xF0425)
+#define SEG38 (*(volatile unsigned char *)0xF0426)
+#define SEG39 (*(volatile unsigned char *)0xF0427)
+#define SEG40 (*(volatile unsigned char *)0xF0428)
+#define SEG41 (*(volatile unsigned char *)0xF0429)
+#define SEG42 (*(volatile unsigned char *)0xF042A)
+#define SEG43 (*(volatile unsigned char *)0xF042B)
+#define SEG44 (*(volatile unsigned char *)0xF042C)
+#define SEG45 (*(volatile unsigned char *)0xF042D)
+#define SEG46 (*(volatile unsigned char *)0xF042E)
+#define SEG47 (*(volatile unsigned char *)0xF042F)
+#define SEG48 (*(volatile unsigned char *)0xF0430)
+#define SEG49 (*(volatile unsigned char *)0xF0431)
+#define SEG50 (*(volatile unsigned char *)0xF0432)
+#define SEG51 (*(volatile unsigned char *)0xF0433)
+#define SEG52 (*(volatile unsigned char *)0xF0434)
+#define SEG53 (*(volatile unsigned char *)0xF0435)
+#define SEG54 (*(volatile unsigned char *)0xF0436)
+#define SEG55 (*(volatile unsigned char *)0xF0437)
+#define TKBCR00 (*(volatile unsigned short *)0xF0500)
+#define TKBCR01 (*(volatile unsigned short *)0xF0502)
+#define TKBCR02 (*(volatile unsigned short *)0xF0504)
+#define TKBCR03 (*(volatile unsigned short *)0xF0506)
+#define TKBTGCR0 (*(volatile unsigned short *)0xF0508)
+#define TKBSIR00 (*(volatile unsigned short *)0xF050A)
+#define TKBSIR01 (*(volatile unsigned short *)0xF050C)
+#define TKBDNR00 (*(volatile unsigned char *)0xF050E)
+#define TKBSSR00 (*(volatile unsigned char *)0xF050F)
+#define TKBDNR01 (*(volatile unsigned char *)0xF0510)
+#define TKBSSR01 (*(volatile unsigned char *)0xF0511)
+#define TKBTRG0 (*(volatile union un_tkbtrg0 *)0xF0512).tkbtrg0
+#define TKBTRG0_bit (*(volatile union un_tkbtrg0 *)0xF0512).BIT
+#define TKBFLG0 (*(volatile union un_tkbflg0 *)0xF0513).tkbflg0
+#define TKBFLG0_bit (*(volatile union un_tkbflg0 *)0xF0513).BIT
+#define TKBCRLD00 (*(volatile unsigned short *)0xF0514)
+#define TKBCRLD01 (*(volatile unsigned short *)0xF0516)
+#define TKBCNT0 (*(volatile unsigned short *)0xF0520)
+#define TKBCTL00 (*(volatile unsigned short *)0xF0522)
+#define TKBMFR0 (*(volatile unsigned short *)0xF0524)
+#define TKBIOC00 (*(volatile union un_tkbioc00 *)0xF0526).tkbioc00
+#define TKBIOC00_bit (*(volatile union un_tkbioc00 *)0xF0526).BIT
+#define TKBCLR0 (*(volatile union un_tkbclr0 *)0xF0527).tkbclr0
+#define TKBCLR0_bit (*(volatile union un_tkbclr0 *)0xF0527).BIT
+#define TKBIOC01 (*(volatile union un_tkbioc01 *)0xF0528).tkbioc01
+#define TKBIOC01_bit (*(volatile union un_tkbioc01 *)0xF0528).BIT
+#define TKBCTL01 (*(volatile union un_tkbctl01 *)0xF0529).tkbctl01
+#define TKBCTL01_bit (*(volatile union un_tkbctl01 *)0xF0529).BIT
+#define TKBPSCS0 (*(volatile unsigned char *)0xF052A)
+#define TKBPACTL00 (*(volatile unsigned short *)0xF0530)
+#define TKBPACTL01 (*(volatile unsigned short *)0xF0532)
+#define TKBPAHFS0 (*(volatile union un_tkbpahfs0 *)0xF0534).tkbpahfs0
+#define TKBPAHFS0_bit (*(volatile union un_tkbpahfs0 *)0xF0534).BIT
+#define TKBPAHFT0 (*(volatile union un_tkbpahft0 *)0xF0535).tkbpahft0
+#define TKBPAHFT0_bit (*(volatile union un_tkbpahft0 *)0xF0535).BIT
+#define TKBPAFLG0 (*(volatile union un_tkbpaflg0 *)0xF0536).tkbpaflg0
+#define TKBPAFLG0_bit (*(volatile union un_tkbpaflg0 *)0xF0536).BIT
+#define TKBPACTL02 (*(volatile union un_tkbpactl02 *)0xF0537).tkbpactl02
+#define TKBPACTL02_bit (*(volatile union un_tkbpactl02 *)0xF0537).BIT
+#define D0FIFOD00 (*(volatile unsigned short *)0xF0580)
+#define D1FIFOD00 (*(volatile unsigned short *)0xF05C0)
+#define SYSCFG (*(volatile unsigned short *)0xF0600)
+#define SYSSTS0 (*(volatile unsigned short *)0xF0604)
+#define DVSTCTR0 (*(volatile unsigned short *)0xF0608)
+#define CFIFOM (*(volatile unsigned short *)0xF0614)
+#define CFIFOML (*(volatile unsigned char *)0xF0614)
+#define D0FIFOM (*(volatile unsigned short *)0xF0618)
+#define D0FIFOML (*(volatile unsigned char *)0xF0618)
+#define D1FIFOM (*(volatile unsigned short *)0xF061C)
+#define D1FIFOML (*(volatile unsigned char *)0xF061C)
+#define CFIFOSEL (*(volatile unsigned short *)0xF0620)
+#define CFIFOCTR (*(volatile unsigned short *)0xF0622)
+#define D0FIFOSEL (*(volatile unsigned short *)0xF0628)
+#define D0FIFOCTR (*(volatile unsigned short *)0xF062A)
+#define D1FIFOSEL (*(volatile unsigned short *)0xF062C)
+#define D1FIFOCTR (*(volatile unsigned short *)0xF062E)
+#define INTENB0 (*(volatile unsigned short *)0xF0630)
+#define INTENB1 (*(volatile unsigned short *)0xF0632)
+#define BRDYENB (*(volatile unsigned short *)0xF0636)
+#define NRDYENB (*(volatile unsigned short *)0xF0638)
+#define BEMPENB (*(volatile unsigned short *)0xF063A)
+#define SOFCFG (*(volatile unsigned short *)0xF063C)
+#define INTSTS0 (*(volatile unsigned short *)0xF0640)
+#define INTSTS1 (*(volatile unsigned short *)0xF0642)
+#define BRDYSTS (*(volatile unsigned short *)0xF0646)
+#define NRDYSTS (*(volatile unsigned short *)0xF0648)
+#define BEMPSTS (*(volatile unsigned short *)0xF064A)
+#define FRMNUM (*(volatile unsigned short *)0xF064C)
+#define USBADDR (*(volatile unsigned short *)0xF0650)
+#define USBREQ (*(volatile unsigned short *)0xF0654)
+#define USBVAL (*(volatile unsigned short *)0xF0656)
+#define USBINDX (*(volatile unsigned short *)0xF0658)
+#define USBLENG (*(volatile unsigned short *)0xF065A)
+#define DCPCFG (*(volatile unsigned short *)0xF065C)
+#define DCPMAXP (*(volatile unsigned short *)0xF065E)
+#define DCPCTR (*(volatile unsigned short *)0xF0660)
+#define PIPESEL (*(volatile unsigned short *)0xF0664)
+#define PIPECFG (*(volatile unsigned short *)0xF0668)
+#define PIPEMAXP (*(volatile unsigned short *)0xF066C)
+#define PIPE4CTR (*(volatile unsigned short *)0xF0676)
+#define PIPE5CTR (*(volatile unsigned short *)0xF0678)
+#define PIPE6CTR (*(volatile unsigned short *)0xF067A)
+#define PIPE7CTR (*(volatile unsigned short *)0xF067C)
+#define PIPE4TRE (*(volatile unsigned short *)0xF069C)
+#define PIPE4TRN (*(volatile unsigned short *)0xF069E)
+#define PIPE5TRE (*(volatile unsigned short *)0xF06A0)
+#define PIPE5TRN (*(volatile unsigned short *)0xF06A2)
+#define DTC0PCFG (*(volatile unsigned short *)0xF06A8)
+#define DTC1PCFG (*(volatile unsigned short *)0xF06AC)
+#define USBBCCTRL0 (*(volatile unsigned short *)0xF06B0)
+#define USBBCOPT0 (*(volatile unsigned short *)0xF06B8)
+#define USBMC (*(volatile unsigned short *)0xF06CC)
+
+/*
+ Sfr bits
+ */
+#define ADTYP ADM2_bit.no0
+#define AWC ADM2_bit.no2
+#define ADRCK ADM2_bit.no3
+#define TOS0 TOS_bit.no0
+#define DACEN PER1_bit.no0
+#define DTCEN PER1_bit.no3
+#define TKB20EN PER1_bit.no4
+#define CMPEN PER1_bit.no5
+#define TMKAEN PER1_bit.no7
+#define DFLEN DFLCTL_bit.no0
+#define TAU0EN PER0_bit.no0
+#define SAU0EN PER0_bit.no2
+#define SAU1EN PER0_bit.no3
+#define IICA0EN PER0_bit.no4
+#define ADCEN PER0_bit.no5
+#define RTCWEN PER0_bit.no7
+#define RPEF RPECTL_bit.no0
+#define RPERDIS RPECTL_bit.no7
+#define TKB21EN PER2_bit.no0
+#define TKB22EN PER2_bit.no1
+#define SPT0 IICCTL00_bit.no0
+#define STT0 IICCTL00_bit.no1
+#define ACKE0 IICCTL00_bit.no2
+#define WTIM0 IICCTL00_bit.no3
+#define SPIE0 IICCTL00_bit.no4
+#define WREL0 IICCTL00_bit.no5
+#define LREL0 IICCTL00_bit.no6
+#define IICE0 IICCTL00_bit.no7
+#define PRS0 IICCTL01_bit.no0
+#define DFC0 IICCTL01_bit.no2
+#define SMC0 IICCTL01_bit.no3
+#define DAD0 IICCTL01_bit.no4
+#define CLD0 IICCTL01_bit.no5
+#define WUP0 IICCTL01_bit.no7
+#define TKBRDT1 TKBTRG1_bit.no0
+#define TKBRSF1 TKBFLG1_bit.no0
+#define TKBMFF1 TKBFLG1_bit.no1
+#define TKBIEF1 TKBFLG1_bit.no2
+#define TKBIRF1 TKBFLG1_bit.no3
+#define TKBSEF10 TKBFLG1_bit.no4
+#define TKBSEF11 TKBFLG1_bit.no5
+#define TKBSSF10 TKBFLG1_bit.no6
+#define TKBSSF11 TKBFLG1_bit.no7
+#define TKBTOD10 TKBIOC10_bit.no0
+#define TKBTOD11 TKBIOC10_bit.no1
+#define TKBTOL10 TKBIOC10_bit.no2
+#define TKBTOL11 TKBIOC10_bit.no3
+#define TKBCLMF1 TKBCLR1_bit.no1
+#define TKBCLIE1 TKBCLR1_bit.no2
+#define TKBCLIR1 TKBCLR1_bit.no3
+#define TKBCLSE10 TKBCLR1_bit.no4
+#define TKBCLSE11 TKBCLR1_bit.no5
+#define TKBTOE10 TKBIOC11_bit.no0
+#define TKBTOE11 TKBIOC11_bit.no1
+#define TKBCE1 TKBCTL11_bit.no7
+#define TKBPAHTS10 TKBPAHFS1_bit.no0
+#define TKBPAHTS11 TKBPAHFS1_bit.no1
+#define TKBPAHTT10 TKBPAHFT1_bit.no0
+#define TKBPAHTT11 TKBPAHFT1_bit.no1
+#define TKBPAHIF10 TKBPAFLG1_bit.no0
+#define TKBPAFIF10 TKBPAFLG1_bit.no1
+#define TKBPAHIF11 TKBPAFLG1_bit.no2
+#define TKBPAFIF11 TKBPAFLG1_bit.no3
+#define TKBPAHSF10 TKBPAFLG1_bit.no4
+#define TKBPAFSF10 TKBPAFLG1_bit.no5
+#define TKBPAHSF11 TKBPAFLG1_bit.no6
+#define TKBPAFSF11 TKBPAFLG1_bit.no7
+#define TKBPACE10 TKBPACTL12_bit.no0
+#define TKBPACE11 TKBPACTL12_bit.no1
+#define TKBRDT2 TKBTRG2_bit.no0
+#define TKBRSF2 TKBFLG2_bit.no0
+#define TKBMFF2 TKBFLG2_bit.no1
+#define TKBIEF2 TKBFLG2_bit.no2
+#define TKBIRF2 TKBFLG2_bit.no3
+#define TKBSEF20 TKBFLG2_bit.no4
+#define TKBSEF21 TKBFLG2_bit.no5
+#define TKBSSF20 TKBFLG2_bit.no6
+#define TKBSSF21 TKBFLG2_bit.no7
+#define TKBTOD20 TKBIOC20_bit.no0
+#define TKBTOD21 TKBIOC20_bit.no1
+#define TKBTOL20 TKBIOC20_bit.no2
+#define TKBTOL21 TKBIOC20_bit.no3
+#define TKBCLMF2 TKBCLR2_bit.no1
+#define TKBCLIE2 TKBCLR2_bit.no2
+#define TKBCLIR2 TKBCLR2_bit.no3
+#define TKBCLSE20 TKBCLR2_bit.no4
+#define TKBCLSE21 TKBCLR2_bit.no5
+#define TKBTOE20 TKBIOC21_bit.no0
+#define TKBTOE21 TKBIOC21_bit.no1
+#define TKBCE2 TKBCTL21_bit.no7
+#define TKBPAHTS20 TKBPAHFS2_bit.no0
+#define TKBPAHTS21 TKBPAHFS2_bit.no1
+#define TKBPAHTT20 TKBPAHFT2_bit.no0
+#define TKBPAHTT21 TKBPAHFT2_bit.no1
+#define TKBPAHIF20 TKBPAFLG2_bit.no0
+#define TKBPAFIF20 TKBPAFLG2_bit.no1
+#define TKBPAHIF21 TKBPAFLG2_bit.no2
+#define TKBPAFIF21 TKBPAFLG2_bit.no3
+#define TKBPAHSF20 TKBPAFLG2_bit.no4
+#define TKBPAFSF20 TKBPAFLG2_bit.no5
+#define TKBPAHSF21 TKBPAFLG2_bit.no6
+#define TKBPAFSF21 TKBPAFLG2_bit.no7
+#define TKBPACE20 TKBPACTL22_bit.no0
+#define TKBPACE21 TKBPACTL22_bit.no1
+#define CRC0EN CRC0CTL_bit.no7
+#define PFSEG04 PFSEG0_bit.no4
+#define PFSEG05 PFSEG0_bit.no5
+#define PFSEG06 PFSEG0_bit.no6
+#define PFSEG07 PFSEG0_bit.no7
+#define PFSEG08 PFSEG1_bit.no0
+#define PFSEG09 PFSEG1_bit.no1
+#define PFSEG10 PFSEG1_bit.no2
+#define PFSEG11 PFSEG1_bit.no3
+#define PFSEG12 PFSEG1_bit.no4
+#define PFSEG13 PFSEG1_bit.no5
+#define PFSEG14 PFSEG1_bit.no6
+#define PFSEG15 PFSEG1_bit.no7
+#define PFSEG16 PFSEG2_bit.no0
+#define PFSEG17 PFSEG2_bit.no1
+#define PFSEG18 PFSEG2_bit.no2
+#define PFSEG19 PFSEG2_bit.no3
+#define PFSEG20 PFSEG2_bit.no4
+#define PFSEG21 PFSEG2_bit.no5
+#define PFSEG22 PFSEG2_bit.no6
+#define PFSEG23 PFSEG2_bit.no7
+#define PFSEG24 PFSEG3_bit.no0
+#define PFSEG25 PFSEG3_bit.no1
+#define PFSEG26 PFSEG3_bit.no2
+#define PFSEG27 PFSEG3_bit.no3
+#define PFSEG28 PFSEG3_bit.no4
+#define PFSEG29 PFSEG3_bit.no5
+#define PFSEG30 PFSEG3_bit.no6
+#define PFSEG31 PFSEG3_bit.no7
+#define PFSEG32 PFSEG4_bit.no0
+#define PFSEG33 PFSEG4_bit.no1
+#define PFSEG34 PFSEG4_bit.no2
+#define PFSEG35 PFSEG4_bit.no3
+#define PFSEG36 PFSEG4_bit.no4
+#define PFSEG37 PFSEG4_bit.no5
+#define PFSEG38 PFSEG4_bit.no6
+#define PFSEG39 PFSEG4_bit.no7
+#define PFSEG40 PFSEG5_bit.no0
+#define PFSEG41 PFSEG5_bit.no1
+#define PFSEG42 PFSEG5_bit.no2
+#define PFSEG43 PFSEG5_bit.no3
+#define PFSEG44 PFSEG5_bit.no4
+#define PFSEG45 PFSEG5_bit.no5
+#define PFSEG46 PFSEG5_bit.no6
+#define PFSEG47 PFSEG5_bit.no7
+#define PFSEG48 PFSEG6_bit.no0
+#define PFSEG49 PFSEG6_bit.no1
+#define PFSEG50 PFSEG6_bit.no2
+#define PFSEG51 PFSEG6_bit.no3
+#define PFSEG52 PFSEG6_bit.no4
+#define PFSEG53 PFSEG6_bit.no5
+#define PFSEG54 PFSEG6_bit.no6
+#define PFSEG55 PFSEG6_bit.no7
+#define C0ENB COMPMDR_bit.no0
+#define C0MON COMPMDR_bit.no3
+#define C1ENB COMPMDR_bit.no4
+#define C1MON COMPMDR_bit.no7
+#define C0IE COMPOCR_bit.no0
+#define C0OE COMPOCR_bit.no1
+#define C0OP COMPOCR_bit.no2
+#define C1IE COMPOCR_bit.no4
+#define C1OE COMPOCR_bit.no5
+#define C1OP COMPOCR_bit.no6
+#define SPDMD COMPOCR_bit.no7
+#define TKBRDT0 TKBTRG0_bit.no0
+#define TKBRSF0 TKBFLG0_bit.no0
+#define TKBMFF0 TKBFLG0_bit.no1
+#define TKBIEF0 TKBFLG0_bit.no2
+#define TKBIRF0 TKBFLG0_bit.no3
+#define TKBSEF00 TKBFLG0_bit.no4
+#define TKBSEF01 TKBFLG0_bit.no5
+#define TKBSSF00 TKBFLG0_bit.no6
+#define TKBSSF01 TKBFLG0_bit.no7
+#define TKBTOD00 TKBIOC00_bit.no0
+#define TKBTOD01 TKBIOC00_bit.no1
+#define TKBTOL00 TKBIOC00_bit.no2
+#define TKBTOL01 TKBIOC00_bit.no3
+#define TKBCLMF0 TKBCLR0_bit.no1
+#define TKBCLIE0 TKBCLR0_bit.no2
+#define TKBCLIR0 TKBCLR0_bit.no3
+#define TKBCLSE00 TKBCLR0_bit.no4
+#define TKBCLSE01 TKBCLR0_bit.no5
+#define TKBTOE00 TKBIOC01_bit.no0
+#define TKBTOE01 TKBIOC01_bit.no1
+#define TKBCE0 TKBCTL01_bit.no7
+#define TKBPAHTS00 TKBPAHFS0_bit.no0
+#define TKBPAHTS01 TKBPAHFS0_bit.no1
+#define TKBPAHTT00 TKBPAHFT0_bit.no0
+#define TKBPAHTT01 TKBPAHFT0_bit.no1
+#define TKBPAHIF00 TKBPAFLG0_bit.no0
+#define TKBPAFIF00 TKBPAFLG0_bit.no1
+#define TKBPAHIF01 TKBPAFLG0_bit.no2
+#define TKBPAFIF01 TKBPAFLG0_bit.no3
+#define TKBPAHSF00 TKBPAFLG0_bit.no4
+#define TKBPAFSF00 TKBPAFLG0_bit.no5
+#define TKBPAHSF01 TKBPAFLG0_bit.no6
+#define TKBPAFSF01 TKBPAFLG0_bit.no7
+#define TKBPACE00 TKBPACTL02_bit.no0
+#define TKBPACE01 TKBPACTL02_bit.no1
+
+/*
+ Interrupt vector addresses
+ */
+#endif
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/main.c b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/main.c
index d83ac826ec..42deaec7d6 100644
--- a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/main.c
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/main.c
@@ -111,8 +111,11 @@ or 0 to run the more comprehensive test and demo application. */
  * main_blinky() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 1.
  * main_full() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 0.
  */
-extern void main_blinky( void );
-extern void main_full( void );
+#if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1
+	extern void main_blinky( void );
+#else
+    extern void main_full( void );
+#endif
 
 /* Prototypes for the standard FreeRTOS callback/hook functions implemented
 within this file. */
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/main_full.c b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/main_full.c
index 13daf1f2b5..1884a52c38 100644
--- a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/main_full.c
+++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/main_full.c
@@ -228,7 +228,11 @@ void main_full( void )
 	is provided on the FreeRTOS.org WEB site. */
 	vStartDynamicPriorityTasks();
 	vStartPolledQueueTasks( tskIDLE_PRIORITY );
-	vCreateBlockTimeTasks();
+
+	/* Additional tasks can be added by un-commenting the line below on devices
+	with sufficient RAM for a larger heap (see configTOTAL_HEAP_SIZE in
+	FreeRTOSConfig.h). */
+	/*vCreateBlockTimeTasks();*/
 
 	/* Create the RegTest tasks as described at the top of this file. */
 	xTaskCreate( prvRegTest1Entry,			/* The function that implements the task. */
@@ -308,7 +312,9 @@ static unsigned short usLastRegTest1Counter = 0, usLastRegTest2Counter = 0;
 
 	if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )
 	{
-		xErrorStatus = pdFAIL;
+		/* Un-comment this line if the block time tasks are included in the
+		demo. */
+		/* xErrorStatus = pdFAIL; */
 	}
 
 	/* Indicate an error if either of the reg test loop counters have not