]> git.sur5r.net Git - freertos/commitdiff
Start an RL78 demo project.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 2 Sep 2011 10:49:16 +0000 (10:49 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 2 Sep 2011 10:49:16 +0000 (10:49 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1579 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h [new file with mode: 0644]
Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewd [new file with mode: 0644]
Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp [new file with mode: 0644]
Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.eww [new file with mode: 0644]
Demo/RL78_RL78G13_Promo_Board_IAR/RegTest.s87 [new file with mode: 0644]
Demo/RL78_RL78G13_Promo_Board_IAR/main.c [new file with mode: 0644]
Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.cspy.bat [new file with mode: 0644]
Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.dbgdt [new file with mode: 0644]
Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.dni [new file with mode: 0644]
Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.wsdt [new file with mode: 0644]

diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h b/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h
new file mode 100644 (file)
index 0000000..6750551
--- /dev/null
@@ -0,0 +1,161 @@
+/*\r
+    FreeRTOS V7.0.1 - Copyright (C) 2011 Real Time Engineers Ltd.\r
+       \r
+\r
+       FreeRTOS supports many tools and architectures. V7.0.0 is sponsored by:\r
+       Atollic AB - Atollic provides professional embedded systems development\r
+       tools for C/C++ development, code analysis and test automation.\r
+       See http://www.atollic.com\r
+       \r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    FreeRTOS tutorial books are available in pdf and paperback.        *\r
+     *    Complete, revised, and edited pdf reference manuals are also       *\r
+     *    available.                                                         *\r
+     *                                                                       *\r
+     *    Purchasing FreeRTOS documentation will not only help you, by       *\r
+     *    ensuring you get running as quickly as possible and with an        *\r
+     *    in-depth knowledge of how to use FreeRTOS, it will also help       *\r
+     *    the FreeRTOS project to continue with its mission of providing     *\r
+     *    professional grade, cross platform, de facto standard solutions    *\r
+     *    for microcontrollers - completely free of charge!                  *\r
+     *                                                                       *\r
+     *    >>> See http://www.FreeRTOS.org/Documentation for details. <<<     *\r
+     *                                                                       *\r
+     *    Thank you for using FreeRTOS, and thank you for your support!      *\r
+     *                                                                       *\r
+    ***************************************************************************\r
+\r
+\r
+    This file is part of the FreeRTOS distribution.\r
+\r
+    FreeRTOS is free software; you can redistribute it and/or modify it under\r
+    the terms of the GNU General Public License (version 2) as published by the\r
+    Free Software Foundation AND MODIFIED BY the FreeRTOS exception.\r
+    >>>NOTE<<< The modification to the GPL is included to allow you to\r
+    distribute a combined work that includes FreeRTOS without being obliged to\r
+    provide the source code for proprietary components outside of the FreeRTOS\r
+    kernel.  FreeRTOS is distributed in the hope that it will be useful, but\r
+    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
+    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\r
+    more details. You should have received a copy of the GNU General Public\r
+    License and the FreeRTOS license exception along with FreeRTOS; if not it\r
+    can be viewed here: http://www.freertos.org/a00114.html and also obtained\r
+    by writing to Richard Barry, contact details for whom are available on the\r
+    FreeRTOS WEB site.\r
+\r
+    1 tab == 4 spaces!\r
+\r
+    http://www.FreeRTOS.org - Documentation, latest information, license and\r
+    contact details.\r
+\r
+    http://www.SafeRTOS.com - A version that is certified for use in safety\r
+    critical systems.\r
+\r
+    http://www.OpenRTOS.com - Commercial support, development, porting,\r
+    licensing and training services.\r
+*/\r
+\r
+#ifndef FREERTOS_CONFIG_H\r
+#define FREERTOS_CONFIG_H\r
+\r
+/*-----------------------------------------------------------\r
+ * Application specific definitions.\r
+ *\r
+ * These definitions should be adjusted for your particular hardware and\r
+ * application requirements.\r
+ *\r
+ * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE\r
+ * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.\r
+ *\r
+ * See http://www.freertos.org/a00110.html.\r
+ *----------------------------------------------------------*/\r
+\r
+/* This #ifdef prevents the enclosed code being included from within an\r
+asm file.  It is valid in a C file, but not valid in an asm file. */\r
+#ifdef __IAR_SYSTEMS_ICC__\r
+\r
+       #pragma language=extended\r
+       #pragma system_include\r
+\r
+       #include <intrinsics.h>\r
+\r
+       /* Device specific includes. */\r
+       #include <ior5f100le.h>\r
+       #include <ior5f100le_ext.h>\r
+\r
+#endif /* __IAR_SYSTEMS_ICC__ */\r
+\r
+#define configUSE_PREEMPTION                   1\r
+#define configTICK_RATE_HZ                             ( ( portTickType ) 1000 )\r
+#define configMAX_PRIORITIES                   ( ( unsigned portBASE_TYPE ) 4 )\r
+#define configMINIMAL_STACK_SIZE               ( ( unsigned short ) 100 )\r
+#define configMAX_TASK_NAME_LEN                        ( 10 )\r
+#define configUSE_TRACE_FACILITY               0\r
+#define configUSE_16_BIT_TICKS                 1\r
+#define configIDLE_SHOULD_YIELD                        1\r
+#define configTOTAL_HEAP_SIZE                  ( (size_t ) ( 2900 ) )\r
+#define configCHECK_FOR_STACK_OVERFLOW 2\r
+#define configUSE_MUTEXES                              1\r
+\r
+/* Hook function definitions. */\r
+#define configUSE_IDLE_HOOK                            0\r
+#define configUSE_TICK_HOOK                            0\r
+#define configUSE_MALLOC_FAILED_HOOK   1\r
+\r
+/* Software timer definitions. */\r
+#define configUSE_TIMERS                               1\r
+#define configTIMER_TASK_PRIORITY              ( 2 )\r
+#define configTIMER_QUEUE_LENGTH               10\r
+#define configTIMER_TASK_STACK_DEPTH   ( configMINIMAL_STACK_SIZE * 2 )\r
+\r
+/* Co-routine definitions. */\r
+#define configUSE_CO_ROUTINES                  0\r
+#define configMAX_CO_ROUTINE_PRIORITIES        ( 2 )\r
+\r
+/* Set the following definitions to 1 to include the API function, or zero\r
+to exclude the API function. */\r
+#define INCLUDE_vTaskPrioritySet                       1\r
+#define INCLUDE_uxTaskPriorityGet                      1\r
+#define INCLUDE_vTaskDelete                                    0\r
+#define INCLUDE_vTaskCleanUpResources          0\r
+#define INCLUDE_vTaskSuspend                           1\r
+#define INCLUDE_vTaskDelayUntil                                0\r
+#define INCLUDE_vTaskDelay                                     1\r
+#define INCLUDE_xTaskIdleTaskHandleGet                 0\r
+#define INCLUDE_xTimerDaemonTaskHandleGet      0\r
+\r
+\r
+/******************************************************************************\r
+ * PORT SPECIFIC CONFIGURATION OPTIONS\r
+ ******************************************************************************/\r
+\r
+/*\r
+ * RL78/G13 Clock Source Configuration\r
+ * 1 = use internal High Speed Clock Source (typically 32Mhz on the RL78/G13)\r
+ * 0 = use external Clock Source\r
+ */\r
+#define configCLOCK_SOURCE                       1\r
+\r
+/*\r
+ * RL78/G13 Memory Model\r
+ * 1 = use far memory mode\r
+ * 0 = use near memory mode\r
+ *\r
+ * This setting must match the setting in the IAR project options.\r
+ */\r
+#define configMEMORY_MODE                         0\r
+\r
+#if configCLOCK_SOURCE == 0\r
+       #define configCPU_CLOCK_HZ              ( ( unsigned long ) 20000000 )  /* using the external clock source */\r
+#else\r
+       #define configCPU_CLOCK_HZ              ( ( unsigned long ) 32000000 )   /* using the internal high speed clock */\r
+#endif /* configCLOCK_SOURCE */\r
+\r
+#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }\r
+\r
+\r
+\r
+#endif /* FREERTOS_CONFIG_H */\r
+\r
diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewd b/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewd
new file mode 100644 (file)
index 0000000..c135816
--- /dev/null
@@ -0,0 +1,581 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<project>\r
+  <fileVersion>2</fileVersion>\r
+  <configuration>\r
+    <name>Debug</name>\r
+    <toolchain>\r
+      <name>RL78</name>\r
+    </toolchain>\r
+    <debug>1</debug>\r
+    <settings>\r
+      <name>C-SPY</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>DebugMandatory</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugInput</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugProcessorVariant</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebuggerNearConstLocation</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugRunToEnable</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugRunToName</name>\r
+          <state>main</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugMacOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugMacFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DynDriver</name>\r
+          <state>E1RL78</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugDDFOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugDDFFile</name>\r
+          <state>$TOOLKIT_DIR$\CONFIG\DDF\ior5f100le.ddf</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugCUseExtraOptions</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesSuppressCheck1</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesPath1</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesSuppressCheck2</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesPath2</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesSuppressCheck3</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesPath3</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesOffset1</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesOffset2</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesOffset3</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesUse1</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesUse2</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesUse3</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>E1RL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>E1Mandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E1SuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E1VerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E1LogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>E1DoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>E20RL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>E20Mandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E20SuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E20VerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E20LogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>E20DoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>IECRL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>IecMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>IecDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecSupExchAdapter</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>SIMRL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>SimMandatory</name>\r
+          <state>1</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>TKRL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>TKMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>TKDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <debuggerPlugins>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\FreeRTOS\FreeRTOSPlugin.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\OpenRTOS\OpenRTOSPlugin.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Stack\Stack.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+    </debuggerPlugins>\r
+  </configuration>\r
+  <configuration>\r
+    <name>Release</name>\r
+    <toolchain>\r
+      <name>RL78</name>\r
+    </toolchain>\r
+    <debug>0</debug>\r
+    <settings>\r
+      <name>C-SPY</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>DebugMandatory</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugInput</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugProcessorVariant</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebuggerNearConstLocation</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugRunToEnable</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugRunToName</name>\r
+          <state>main</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugMacOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugMacFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DynDriver</name>\r
+          <state>SIMRL78</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugDDFOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugDDFFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugCUseExtraOptions</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesSuppressCheck1</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesPath1</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesSuppressCheck2</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesPath2</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesSuppressCheck3</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesPath3</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesOffset1</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesOffset2</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesOffset3</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesUse1</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesUse2</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugImagesUse3</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>E1RL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>E1Mandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E1SuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E1VerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E1LogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>E1DoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>E20RL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>E20Mandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E20SuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E20VerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>E20LogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>E20DoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>IECRL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>IecMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>IecDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecSupExchAdapter</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>SIMRL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>SimMandatory</name>\r
+          <state>1</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>TKRL78</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>TKMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>TKDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <debuggerPlugins>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\FreeRTOS\FreeRTOSPlugin.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\OpenRTOS\OpenRTOSPlugin.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Stack\Stack.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+    </debuggerPlugins>\r
+  </configuration>\r
+</project>\r
+\r
+\r
diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp b/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp
new file mode 100644 (file)
index 0000000..d7784ff
--- /dev/null
@@ -0,0 +1,1769 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<project>\r
+  <fileVersion>2</fileVersion>\r
+  <configuration>\r
+    <name>Debug</name>\r
+    <toolchain>\r
+      <name>RL78</name>\r
+    </toolchain>\r
+    <debug>1</debug>\r
+    <settings>\r
+      <name>General</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>GenDeviceSelect</name>\r
+          <state>R5F100LE      RL78 - R5F100LE</state>\r
+        </option>\r
+        <option>\r
+          <name>GenCodeModel</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GenDataModel</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GenNearConstLocation</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GenNearConstStart</name>\r
+          <state>0xf2000</state>\r
+        </option>\r
+        <option>\r
+          <name>GenNearConstSize</name>\r
+          <state>51.75</state>\r
+        </option>\r
+        <option>\r
+          <name>GOutputBinary</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ExePath</name>\r
+          <state>Debug\Exe</state>\r
+        </option>\r
+        <option>\r
+          <name>ObjPath</name>\r
+          <state>Debug\Obj</state>\r
+        </option>\r
+        <option>\r
+          <name>ListPath</name>\r
+          <state>Debug\List</state>\r
+        </option>\r
+        <option>\r
+          <name>GenRuntimeLibSelect</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GenRuntimeLibSelectSlave</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GenRTDescription</name>\r
+          <state>Use the normal configuration of the C/EC++ runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.</state>\r
+        </option>\r
+        <option>\r
+          <name>GenRTConfigPath</name>\r
+          <state>$TOOLKIT_DIR$\LIB\dlrl78nn1n.h</state>\r
+        </option>\r
+        <option>\r
+          <name>GenRTLibraryPath</name>\r
+          <state>$TOOLKIT_DIR$\LIB\dlrl78nn1n.r87</state>\r
+        </option>\r
+        <option>\r
+          <name>GenHwSupport</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GenLibInFormatter</name>\r
+          <version>0</version>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>GenLibInFormatterDescription</name>\r
+          <state>No specifier n, no float, no scan set, no assignment suppressing.</state>\r
+        </option>\r
+        <option>\r
+          <name>GenLibOutFormatter</name>\r
+          <version>0</version>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>GenLibOutFormatterDescription</name>\r
+          <state>No specifier a or A, no specifier n, no float.</state>\r
+        </option>\r
+        <option>\r
+          <name>GenStackSize</name>\r
+          <state>128</state>\r
+        </option>\r
+        <option>\r
+          <name>GenNearHeapSize</name>\r
+          <state>256</state>\r
+        </option>\r
+        <option>\r
+          <name>GenFarHeapSize</name>\r
+          <state>4096</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralEnableMisra</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraVerbose</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraVer</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraRules04</name>\r
+          <version>0</version>\r
+          <state>111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraRules98</name>\r
+          <version>0</version>\r
+          <state>1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>ICCRL78</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>5</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>IccDivModInstr</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCore</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCodeModel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccDataModel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccNearConstLocation</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccObjPrefix</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccLibConfigHeader</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccLang</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCDialect</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccAllowVLA</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCppDialect</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccRelaxedFpPrecision</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccRequirePrototypes</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccLanguageConformance</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCharIs</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccMultibyteSupport</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOptLevel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOptStrategy</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOptLevelSlave</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOptAllowList</name>\r
+          <version>0</version>\r
+          <state>00000</state>\r
+        </option>\r
+        <option>\r
+          <name>IccWrksegEnable</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccWrksegSize</name>\r
+          <state>20</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCalltFuncRt</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccModuleTypeOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccModuleType</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccObjModuleNameOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccObjModuleName</name>\r
+          <state>$FILE_BNAME$</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCodeSegmentNameOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCodeSegmentName</name>\r
+          <state>CODE</state>\r
+        </option>\r
+        <option>\r
+          <name>IccGenerateDebugInfo</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOutputFile</name>\r
+          <state>$FILE_BNAME$.r87</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDefines</name>\r
+          <state>__IAR_RL78_G13__</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocComments</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocLine</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCFile</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCMnemonics</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCMessages</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListAssFile</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListAssSource</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCEnableRemarks</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagSuppress</name>\r
+          <state>Pa082</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagRemark</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagWarning</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagError</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagWarnAreErr</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCCompilerRuntimeInfo</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PreInclude</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCIncludePath2</name>\r
+          <state>$PROJ_DIR$\..\..\Source\include</state>\r
+          <state>$PROJ_DIR$\..\Common\include</state>\r
+          <state>$PROJ_DIR$</state>\r
+          <state>$PROJ_DIR$\..\..\Source\portable\IAR\RL78</state>\r
+        </option>\r
+        <option>\r
+          <name>CCStdIncCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraRules04</name>\r
+          <version>0</version>\r
+          <state>111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraRules98</name>\r
+          <version>0</version>\r
+          <state>1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>IccUseExtraOptions</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>ARL78</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>1</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>AsmCore</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmHwSupport</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmObjPrefix</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmOutputFile</name>\r
+          <state>$FILE_BNAME$.r87</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmCaseSensitivity</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmMultibyteSupport</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmAllowMnemonics</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmAllowDirectives</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmMacroChars</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDebugInfo</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListNoDiagnostics</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListIncludeCrossRef</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListMacroDefinitions</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListNoMacroExpansion</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListAssembledOnly</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListTruncateMultiline</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmStdIncludeIgnore</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmIncludePath</name>\r
+          <state>$PROJ_DIR$\..\..\Source\portable\IAR\78K0R</state>\r
+          <state>$PROJ_DIR$</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDefines</name>\r
+          <state>__NEAR_MODEL__</state>\r
+          <state>__NEAR_DATA_MODEL__</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmPreprocOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmPreprocComment</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmPreprocLine</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmEnableRemarks</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsSuppress</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsRemark</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsWarning</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsError</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsWarningsAreErrors</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmLimitNumberOfErrors</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmMaxNumberOfErrors</name>\r
+          <state>100</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmUseExtraOptions</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmCodeModel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDataModel</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>CUSTOM</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <extensions></extensions>\r
+        <cmdline></cmdline>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>BICOMP</name>\r
+      <archiveVersion>0</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+    <settings>\r
+      <name>BUILDACTION</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <prebuild></prebuild>\r
+        <postbuild></postbuild>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>XLINK</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>13</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>XOutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state>RTOSDemo.d87</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFormat</name>\r
+          <version>11</version>\r
+          <state>23</state>\r
+        </option>\r
+        <option>\r
+          <name>FormatVariant</name>\r
+          <version>8</version>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>SecondaryOutputFile</name>\r
+          <state>(None for the selected format)</state>\r
+        </option>\r
+        <option>\r
+          <name>XDefines</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AlwaysOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OverlapWarnings</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NoGlobalCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XList</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>SegmentMap</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>ListSymbols</name>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLengthCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLength</name>\r
+          <state>80</state>\r
+        </option>\r
+        <option>\r
+          <name>XIncludes</name>\r
+          <state>$TOOLKIT_DIR$\LIB\</state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleStatus</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XclOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XclFile</name>\r
+          <state>$TOOLKIT_DIR$\CONFIG\lnkr5f100le.xcl</state>\r
+        </option>\r
+        <option>\r
+          <name>XclFileSlave</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>XLinkMisraHandler</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DoFill</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>FillerByte</name>\r
+          <state>0xFF</state>\r
+        </option>\r
+        <option>\r
+          <name>DoCrc</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcSize</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcAlgo</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcPoly</name>\r
+          <state>0x11021</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcCompl</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RangeCheckAlternatives</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SuppressAllWarn</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SuppressDiags</name>\r
+          <state>w18, w6</state>\r
+        </option>\r
+        <option>\r
+          <name>TreatAsWarn</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>TreatAsErr</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleLocalSym</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcBitOrder</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IncludeSuppressed</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleSummary</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>xcProgramEntryLabel</name>\r
+          <state>__program_start</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugInformation</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RuntimeControl</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IoEmulation</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AllowExtraOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GenerateExtraOutput</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XExtraOutOverride</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraOutputFile</name>\r
+          <state>RTOSDemo.a87</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraOutputFormat</name>\r
+          <version>11</version>\r
+          <state>23</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraFormatVariant</name>\r
+          <version>8</version>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>xcOverrideProgramEntryLabel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>xcProgramEntryLabelSelect</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ListOutputFormat</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>BufferedTermOutput</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>OverlaySystemMap</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinaryFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinarySymbol</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinarySegment</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinaryAlign</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CrcAlign</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcInitialValue</name>\r
+          <state>0x0</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkNearConstLocation</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkRTLibraryFile</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkHwSupport</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkLibIOConfig</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkStackSize</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkNearHeap</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkFarHeap</name>\r
+          <state>1</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>XAR</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>XarOutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XarInputs</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>XarOutputFile</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>INTERNAL_HWSUPPORT</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+    <settings>\r
+      <name>BILINK</name>\r
+      <archiveVersion>0</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+  </configuration>\r
+  <configuration>\r
+    <name>Release</name>\r
+    <toolchain>\r
+      <name>RL78</name>\r
+    </toolchain>\r
+    <debug>0</debug>\r
+    <settings>\r
+      <name>General</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>GenDeviceSelect</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>GenCodeModel</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GenDataModel</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GenNearConstLocation</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GenNearConstStart</name>\r
+          <state>0xF1000</state>\r
+        </option>\r
+        <option>\r
+          <name>GenNearConstSize</name>\r
+          <state>16.00</state>\r
+        </option>\r
+        <option>\r
+          <name>GOutputBinary</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ExePath</name>\r
+          <state>Release\Exe</state>\r
+        </option>\r
+        <option>\r
+          <name>ObjPath</name>\r
+          <state>Release\Obj</state>\r
+        </option>\r
+        <option>\r
+          <name>ListPath</name>\r
+          <state>Release\List</state>\r
+        </option>\r
+        <option>\r
+          <name>GenRuntimeLibSelect</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GenRuntimeLibSelectSlave</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GenRTDescription</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>GenRTConfigPath</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>GenRTLibraryPath</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>GenHwSupport</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GenLibInFormatter</name>\r
+          <version>0</version>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>GenLibInFormatterDescription</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>GenLibOutFormatter</name>\r
+          <version>0</version>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>GenLibOutFormatterDescription</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>GenStackSize</name>\r
+          <state>###Uninitialized###</state>\r
+        </option>\r
+        <option>\r
+          <name>GenNearHeapSize</name>\r
+          <state>###Uninitialized###</state>\r
+        </option>\r
+        <option>\r
+          <name>GenFarHeapSize</name>\r
+          <state>###Uninitialized###</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralEnableMisra</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraVerbose</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraVer</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraRules04</name>\r
+          <version>0</version>\r
+          <state>111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraRules98</name>\r
+          <version>0</version>\r
+          <state>1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>ICCRL78</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>5</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>IccDivModInstr</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCore</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCodeModel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccDataModel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccNearConstLocation</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccObjPrefix</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccLibConfigHeader</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccLang</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCDialect</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccAllowVLA</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCppDialect</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccRelaxedFpPrecision</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccRequirePrototypes</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccLanguageConformance</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCharIs</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccMultibyteSupport</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOptLevel</name>\r
+          <state>3</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOptStrategy</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOptLevelSlave</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOptAllowList</name>\r
+          <version>0</version>\r
+          <state>11111</state>\r
+        </option>\r
+        <option>\r
+          <name>IccWrksegEnable</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccWrksegSize</name>\r
+          <state>20</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCalltFuncRt</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccModuleTypeOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccModuleType</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccObjModuleNameOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccObjModuleName</name>\r
+          <state>$FILE_BNAME$</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCodeSegmentNameOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccCodeSegmentName</name>\r
+          <state>CODE</state>\r
+        </option>\r
+        <option>\r
+          <name>IccGenerateDebugInfo</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccOutputFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDefines</name>\r
+          <state>NDEBUG</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocComments</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocLine</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCMnemonics</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCMessages</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListAssFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListAssSource</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCEnableRemarks</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagSuppress</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagRemark</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagWarning</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagError</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagWarnAreErr</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCCompilerRuntimeInfo</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PreInclude</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCIncludePath2</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCStdIncCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraRules04</name>\r
+          <version>0</version>\r
+          <state>111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraRules98</name>\r
+          <version>0</version>\r
+          <state>1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>IccUseExtraOptions</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>ARL78</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>1</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>AsmCore</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmHwSupport</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmObjPrefix</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmOutputFile</name>\r
+          <state>$FILE_BNAME$.r87</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmCaseSensitivity</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmMultibyteSupport</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmAllowMnemonics</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmAllowDirectives</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmMacroChars</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDebugInfo</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListNoDiagnostics</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListIncludeCrossRef</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListMacroDefinitions</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListNoMacroExpansion</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListAssembledOnly</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmListTruncateMultiline</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmStdIncludeIgnore</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmIncludePath</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDefines</name>\r
+          <state>###Uninitialized###</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmPreprocOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmPreprocComment</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmPreprocLine</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmEnableRemarks</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsSuppress</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsRemark</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsWarning</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsError</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDiagnosticsWarningsAreErrors</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmLimitNumberOfErrors</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmMaxNumberOfErrors</name>\r
+          <state>100</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmUseExtraOptions</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AsmCodeModel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmDataModel</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>CUSTOM</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <extensions></extensions>\r
+        <cmdline></cmdline>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>BICOMP</name>\r
+      <archiveVersion>0</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+    <settings>\r
+      <name>BUILDACTION</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <prebuild></prebuild>\r
+        <postbuild></postbuild>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>XLINK</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>13</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>XOutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFormat</name>\r
+          <version>11</version>\r
+          <state>23</state>\r
+        </option>\r
+        <option>\r
+          <name>FormatVariant</name>\r
+          <version>8</version>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>SecondaryOutputFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>XDefines</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AlwaysOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OverlapWarnings</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NoGlobalCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XList</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SegmentMap</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>ListSymbols</name>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLengthCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLength</name>\r
+          <state>80</state>\r
+        </option>\r
+        <option>\r
+          <name>XIncludes</name>\r
+          <state>###Uninitialized###</state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleStatus</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XclOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XclFile</name>\r
+          <state>lnk0t.xcl</state>\r
+        </option>\r
+        <option>\r
+          <name>XclFileSlave</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>XLinkMisraHandler</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DoFill</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>FillerByte</name>\r
+          <state>0xFF</state>\r
+        </option>\r
+        <option>\r
+          <name>DoCrc</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcSize</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcAlgo</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcPoly</name>\r
+          <state>0x11021</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcCompl</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RangeCheckAlternatives</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SuppressAllWarn</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SuppressDiags</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>TreatAsWarn</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>TreatAsErr</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleLocalSym</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcBitOrder</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IncludeSuppressed</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleSummary</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>xcProgramEntryLabel</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DebugInformation</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>RuntimeControl</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IoEmulation</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AllowExtraOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GenerateExtraOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XExtraOutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraOutputFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraOutputFormat</name>\r
+          <version>11</version>\r
+          <state>23</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraFormatVariant</name>\r
+          <version>8</version>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>xcOverrideProgramEntryLabel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>xcProgramEntryLabelSelect</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ListOutputFormat</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>BufferedTermOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OverlaySystemMap</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinaryFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinarySymbol</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinarySegment</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinaryAlign</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CrcAlign</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcInitialValue</name>\r
+          <state>0x0</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkNearConstLocation</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkRTLibraryFile</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkHwSupport</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkLibIOConfig</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkStackSize</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkNearHeap</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkFarHeap</name>\r
+          <state>1</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>XAR</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>XarOutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XarInputs</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>XarOutputFile</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>INTERNAL_HWSUPPORT</name>\r
+      <archiveVersion>2</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+    <settings>\r
+      <name>BILINK</name>\r
+      <archiveVersion>0</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+  </configuration>\r
+  <group>\r
+    <name>Demo Source</name>\r
+    <group>\r
+      <name>StandardDemos</name>\r
+      <file>\r
+        <name>$PROJ_DIR$\..\Common\Minimal\blocktim.c</name>\r
+      </file>\r
+      <file>\r
+        <name>$PROJ_DIR$\..\Common\Minimal\dynamic.c</name>\r
+      </file>\r
+      <file>\r
+        <name>$PROJ_DIR$\..\Common\Minimal\GenQTest.c</name>\r
+      </file>\r
+      <file>\r
+        <name>$PROJ_DIR$\..\Common\Minimal\PollQ.c</name>\r
+      </file>\r
+      <file>\r
+        <name>$PROJ_DIR$\..\Common\Minimal\semtest.c</name>\r
+      </file>\r
+    </group>\r
+    <file>\r
+      <name>$PROJ_DIR$\main.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\RegTest.s87</name>\r
+    </file>\r
+  </group>\r
+  <group>\r
+    <name>Kernel Source</name>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_1.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\list.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\portable\IAR\RL78\port.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\portable\IAR\RL78\portasm.s87</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\queue.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\tasks.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\timers.c</name>\r
+    </file>\r
+  </group>\r
+</project>\r
+\r
+\r
diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.eww b/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.eww
new file mode 100644 (file)
index 0000000..239a938
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<workspace>\r
+  <project>\r
+    <path>$WS_DIR$\RTOSDemo.ewp</path>\r
+  </project>\r
+  <batchBuild/>\r
+</workspace>\r
+\r
+\r
diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/RegTest.s87 b/Demo/RL78_RL78G13_Promo_Board_IAR/RegTest.s87
new file mode 100644 (file)
index 0000000..13dc31c
--- /dev/null
@@ -0,0 +1,213 @@
+;/*\r
+;    FreeRTOS V6.1.1 - Copyright (C) 2011 Real Time Engineers Ltd.\r
+;\r
+;    ***************************************************************************\r
+;    *                                                                         *\r
+;    * If you are:                                                             *\r
+;    *                                                                         *\r
+;    *    + New to FreeRTOS,                                                   *\r
+;    *    + Wanting to learn FreeRTOS or multitasking in general quickly       *\r
+;    *    + Looking for basic training,                                        *\r
+;    *    + Wanting to improve your FreeRTOS skills and productivity           *\r
+;    *                                                                         *\r
+;    * then take a look at the FreeRTOS books - available as PDF or paperback  *\r
+;    *                                                                         *\r
+;    *        "Using the FreeRTOS Real Time Kernel - a Practical Guide"        *\r
+;    *                  http://www.FreeRTOS.org/Documentation                  *\r
+;    *                                                                         *\r
+;    * A pdf reference manual is also available.  Both are usually delivered   *\r
+;    * to your inbox within 20 minutes to two hours when purchased between 8am *\r
+;    * and 8pm GMT (although please allow up to 24 hours in case of            *\r
+;    * exceptional circumstances).  Thank you for your support!                *\r
+;    *                                                                         *\r
+;    ***************************************************************************\r
+;\r
+;    This file is part of the FreeRTOS distribution.\r
+;\r
+;    FreeRTOS is free software; you can redistribute it and/or modify it under\r
+;    the terms of the GNU General Public License (version 2) as published by the\r
+;    Free Software Foundation AND MODIFIED BY the FreeRTOS exception.\r
+;    ***NOTE*** The exception to the GPL is included to allow you to distribute\r
+;    a combined work that includes FreeRTOS without being obliged to provide the\r
+;    source code for proprietary components outside of the FreeRTOS kernel.\r
+;    FreeRTOS is distributed in the hope that it will be useful, but WITHOUT\r
+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\r
+;    more details. You should have received a copy of the GNU General Public\r
+;    License and the FreeRTOS license exception along with FreeRTOS; if not it\r
+;    can be viewed here: http://www.freertos.org/a00114.html and also obtained\r
+;    by writing to Richard Barry, contact details for whom are available on the\r
+;    FreeRTOS WEB site.\r
+;\r
+;    1 tab == 4 spaces!\r
+;\r
+;    http://www.FreeRTOS.org - Documentation, latest information, license and\r
+;    contact details.\r
+;\r
+;    http://www.SafeRTOS.com - A version that is certified for use in safety\r
+;    critical systems.\r
+;\r
+;    http://www.OpenRTOS.com - Commercial support, development, porting,\r
+;    licensing and training services.\r
+;*/\r
+\r
+\r
+;\r
+; This file defines the RegTest tasks as described at the top of main.c\r
+;\r
+\r
+;------------------------------------------------------------------------------\r
+\r
+#if __CORE__ != __RL78_1__\r
+       #error "This file is only for RL78 Devices"\r
+#endif\r
+\r
+; Functions implemented in this file\r
+;------------------------------------------------------------------------------\r
+\r
+       PUBLIC    vRegTest1\r
+       PUBLIC    vRegTest2\r
+\r
+; Functions used by this file\r
+;------------------------------------------------------------------------------\r
+       EXTERN    vRegTestError\r
+\r
+;------------------------------------------------------------------------------\r
+;   Fill all the registers with known values, then check that the registers\r
+;   contain the expected value.  An incorrect value being indicative of an\r
+;   error in the context switch mechanism.\r
+;\r
+;   Input:  NONE\r
+;\r
+;   Call:   Created as a task.\r
+;\r
+;   Output: NONE\r
+;\r
+;------------------------------------------------------------------------------\r
+    RSEG CODE:CODE\r
+vRegTest1:\r
+\r
+       ; First fill the registers.\r
+       MOVW    AX, #0x1122\r
+       MOVW    BC, #0x3344\r
+       MOVW    DE, #0x5566\r
+       MOVW    HL, #0x7788\r
+       MOV             CS, #0x01\r
+       \r
+#if configMEMORY_MODE == 1     \r
+\r
+       ; ES is not saved or restored when using the near memory model so only\r
+       ; test it when using the far model.\r
+       MOV             ES, #0x02\r
+       \r
+#endif\r
+\r
+loop1:\r
+\r
+       ; Continuously check that the register values remain at their expected\r
+       ; values.  The BRK is to test the yield.  This task runs at low priority\r
+       ; so will also regularly get preempted.\r
+       BRK\r
+\r
+       ; Compare with the expected value.\r
+       CMPW    AX, #0x1122\r
+       BZ              +5\r
+\r
+       ; Jump over the branch to vRegTestError() if the register contained the\r
+       ; expected value - otherwise flag an error by executing vRegTestError().\r
+       BR              vRegTestError   \r
+\r
+       ; Repeat for all the registers.\r
+       MOVW    AX, BC\r
+       CMPW    AX, #0x3344\r
+       BZ              +5\r
+       BR              vRegTestError   \r
+       MOVW    AX, DE\r
+       CMPW    AX, #0x5566\r
+       BZ              +5\r
+       BR              vRegTestError   \r
+       MOVW    AX, HL  \r
+       CMPW    AX, #0x7788\r
+       BZ              +5\r
+       BR              vRegTestError\r
+       MOV             A, CS\r
+       CMP             A, #0x01\r
+       BZ              +5\r
+       BR              vRegTestError\r
+\r
+#if configMEMORY_MODE == 1     \r
+       ; ES is not saved or restored when using the near memory model so only\r
+       ; test it when using the far model.\r
+       MOV             A, ES\r
+       CMP             A, #0x02\r
+       BZ              +5\r
+       BR              vRegTestError\r
+\r
+#endif\r
+\r
+       MOVW    AX, #0x1122\r
+       BR              loop1\r
+\r
+\r
+;------------------------------------------------------------------------------\r
+;   Fill all the registers with known values, then check that the registers\r
+;   contain the expected value.  An incorrect value being indicative of an\r
+;   error in the context switch mechanism.\r
+;\r
+;   Input:  NONE\r
+;\r
+;   Call:   Created as a task.\r
+;\r
+;   Output: NONE\r
+;\r
+;------------------------------------------------------------------------------\r
+    RSEG CODE:CODE\r
+vRegTest2:\r
+\r
+       MOVW    AX, #0x99aa\r
+       MOVW    BC, #0xbbcc\r
+       MOVW    DE, #0xddee\r
+       MOVW    HL, #0xff12\r
+       MOV             CS, #0x03\r
+\r
+#if configMEMORY_MODE == 1     \r
+\r
+       MOV             ES, #0x04       \r
+\r
+#endif\r
+\r
+loop2:\r
+       CMPW    AX, #0x99aa\r
+       BZ              +5\r
+       BR              vRegTestError   \r
+       MOVW    AX, BC\r
+       CMPW    AX, #0xbbcc\r
+       BZ              +5\r
+       BR              vRegTestError   \r
+       MOVW    AX, DE\r
+       CMPW    AX, #0xddee\r
+       BZ              +5\r
+       BR              vRegTestError   \r
+       MOVW    AX, HL  \r
+       CMPW    AX, #0xff12\r
+       BZ              +5\r
+       BR              vRegTestError\r
+       MOV             A, CS\r
+       CMP             A, #0x03\r
+       BZ              +5\r
+       BR              vRegTestError\r
+\r
+#if configMEMORY_MODE == 1             \r
+\r
+       MOV             A, ES\r
+       CMP             A, #0x04\r
+       BZ              +5\r
+       BR              vRegTestError\r
+\r
+#endif\r
+\r
+       MOVW    AX, #0x99aa\r
+       BR              loop2\r
+\r
+\r
+       END\r
diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/main.c b/Demo/RL78_RL78G13_Promo_Board_IAR/main.c
new file mode 100644 (file)
index 0000000..49d502d
--- /dev/null
@@ -0,0 +1,312 @@
+/*\r
+    FreeRTOS V7.0.1 - Copyright (C) 2011 Real Time Engineers Ltd.\r
+       \r
+\r
+       FreeRTOS supports many tools and architectures. V7.0.0 is sponsored by:\r
+       Atollic AB - Atollic provides professional embedded systems development\r
+       tools for C/C++ development, code analysis and test automation.\r
+       See http://www.atollic.com\r
+       \r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    FreeRTOS tutorial books are available in pdf and paperback.        *\r
+     *    Complete, revised, and edited pdf reference manuals are also       *\r
+     *    available.                                                         *\r
+     *                                                                       *\r
+     *    Purchasing FreeRTOS documentation will not only help you, by       *\r
+     *    ensuring you get running as quickly as possible and with an        *\r
+     *    in-depth knowledge of how to use FreeRTOS, it will also help       *\r
+     *    the FreeRTOS project to continue with its mission of providing     *\r
+     *    professional grade, cross platform, de facto standard solutions    *\r
+     *    for microcontrollers - completely free of charge!                  *\r
+     *                                                                       *\r
+     *    >>> See http://www.FreeRTOS.org/Documentation for details. <<<     *\r
+     *                                                                       *\r
+     *    Thank you for using FreeRTOS, and thank you for your support!      *\r
+     *                                                                       *\r
+    ***************************************************************************\r
+\r
+\r
+    This file is part of the FreeRTOS distribution.\r
+\r
+    FreeRTOS is free software; you can redistribute it and/or modify it under\r
+    the terms of the GNU General Public License (version 2) as published by the\r
+    Free Software Foundation AND MODIFIED BY the FreeRTOS exception.\r
+    >>>NOTE<<< The modification to the GPL is included to allow you to\r
+    distribute a combined work that includes FreeRTOS without being obliged to\r
+    provide the source code for proprietary components outside of the FreeRTOS\r
+    kernel.  FreeRTOS is distributed in the hope that it will be useful, but\r
+    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
+    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\r
+    more details. You should have received a copy of the GNU General Public\r
+    License and the FreeRTOS license exception along with FreeRTOS; if not it\r
+    can be viewed here: http://www.freertos.org/a00114.html and also obtained\r
+    by writing to Richard Barry, contact details for whom are available on the\r
+    FreeRTOS WEB site.\r
+\r
+    1 tab == 4 spaces!\r
+\r
+    http://www.FreeRTOS.org - Documentation, latest information, license and\r
+    contact details.\r
+\r
+    http://www.SafeRTOS.com - A version that is certified for use in safety\r
+    critical systems.\r
+\r
+    http://www.OpenRTOS.com - Commercial support, development, porting,\r
+    licensing and training services.\r
+*/\r
+\r
+/* Standard includes. */\r
+#include <stdlib.h>\r
+#include <string.h>\r
+\r
+/* Scheduler include files. */\r
+#include "FreeRTOS.h"\r
+#include "task.h"\r
+#include "timers.h"\r
+\r
+/* Standard demo includes. */\r
+#include "dynamic.h"\r
+\r
+/* The period at which the check timer will expire, in ms, provided no errors\r
+have been reported by any of the standard demo tasks.  ms are converted to the\r
+equivalent in ticks using the portTICK_RATE_MS constant. */\r
+#define mainCHECK_TIMER_PERIOD_MS                      ( 3000UL / portTICK_RATE_MS )\r
+\r
+/* The period at which the check timer will expire, in ms, if an error has been\r
+reported in one of the standard demo tasks.  ms are converted to the equivalent\r
+in ticks using the portTICK_RATE_MS constant. */\r
+#define mainERROR_CHECK_TIMER_PERIOD_MS        ( 200UL / portTICK_RATE_MS )\r
+\r
+/* The LED toggled by the check task. */\r
+#define mainLED_0                                              P7_bit.no7\r
+\r
+/* A block time of zero simple means "don't block". */\r
+#define mainDONT_BLOCK                                         ( 0U )\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+/*\r
+ * The 'check' timer callback function, as described at the top of this file.\r
+ */\r
+static void prvCheckTimerCallback( xTimerHandle xTimer );\r
+\r
+/*\r
+ * This function is called from the C startup routine to setup the processor -\r
+ * in particular the clock source.\r
+ */\r
+int __low_level_init(void);\r
+\r
+/*\r
+ * Functions that define the RegTest tasks as described at the top of this file.\r
+ */\r
+extern void vRegTest1( void *pvParameters );\r
+extern void vRegTest2( void *pvParameters );\r
+\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+/* If an error is discovered by one of the RegTest tasks then this flag is set\r
+to pdFAIL.  The 'check' task then inspects this flag to detect errors within\r
+the RegTest tasks. */\r
+static short sRegTestStatus = pdPASS;\r
+\r
+/* The check timer.  This uses prvCheckTimerCallback() as its callback\r
+function. */\r
+static xTimerHandle xCheckTimer = NULL;\r
+\r
+/* RL78/G13 Option Byte Definition. Watchdog disabled, LVI enabled, OCD interface\r
+enabled. */\r
+__root __far const unsigned char OptionByte[] @ 0x00C0 =\r
+{\r
+       WATCHDOG_DISABLED, LVI_ENABLED, RESERVED_FF, OCD_ENABLED\r
+};\r
+\r
+/* Security byte definition */\r
+__root __far const unsigned char SecuIDCode[]  @ 0x00C4 =\r
+{\r
+       0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x54\r
+};\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+short main( void )\r
+{\r
+       /* Creates all the tasks and timers, then starts the scheduler. */\r
+\r
+       /* First create the 'standard demo' tasks.  These are used to demonstrate\r
+       API functions being used and also to test the kernel port.  More information\r
+       is provided on the FreeRTOS.org WEB site. */\r
+       vStartDynamicPriorityTasks();\r
+\r
+       /* Create the RegTest tasks as described at the top of this file. */\r
+       xTaskCreate( vRegTest1, "Reg1", configMINIMAL_STACK_SIZE, NULL, 0, NULL );\r
+       xTaskCreate( vRegTest2, "Reg2", configMINIMAL_STACK_SIZE, NULL, 0, NULL );      \r
+\r
+       /* Create the software timer that performs the 'check' functionality,\r
+       as described at the top of this file. */\r
+       xCheckTimer = xTimerCreate( ( const signed char * ) "CheckTimer",/* A text name, purely to help debugging. */\r
+                                                               ( mainCHECK_TIMER_PERIOD_MS ),          /* The timer period, in this case 3000ms (3s). */\r
+                                                               pdTRUE,                                                         /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */\r
+                                                               ( void * ) 0,                                           /* The ID is not used, so can be set to anything. */\r
+                                                               prvCheckTimerCallback                           /* The callback function that inspects the status of all the other tasks. */\r
+                                                         );\r
+                                                       \r
+       \r
+       /* Send a command to start the check timer.  It will not actually start\r
+       until the scheduler is running (when vTaskStartScheduler() is called). */\r
+       xTimerStart( xCheckTimer, mainDONT_BLOCK );\r
+       \r
+       /* Finally start the scheduler running. */\r
+       vTaskStartScheduler();\r
+\r
+       /* If this line is reached then vTaskStartScheduler() returned because there\r
+       was insufficient heap memory remaining for the idle task to be created. */\r
+       for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+static void prvCheckTimerCallback( xTimerHandle xTimer )\r
+{\r
+static portBASE_TYPE xChangedTimerPeriodAlready = pdFALSE, xErrorStatus = pdPASS;\r
+\r
+       if( xAreDynamicPriorityTasksStillRunning() != pdTRUE )\r
+       {\r
+               xErrorStatus = pdFAIL;\r
+       }\r
+\r
+       if( sRegTestStatus != pdPASS )\r
+       {\r
+               xErrorStatus = pdFAIL;\r
+       }\r
+\r
+       if( ( xErrorStatus == pdFAIL ) && ( xChangedTimerPeriodAlready == pdFALSE ) )\r
+       {\r
+               /* An error has occurred, but the timer's period has not yet been changed,\r
+               change it now, and remember that it has been changed.  Shortening the\r
+               timer's period means the LED will toggle at a faster rate, giving a\r
+               visible indication that something has gone wrong. */\r
+               xChangedTimerPeriodAlready = pdTRUE;\r
+                       \r
+               /* This call to xTimerChangePeriod() uses a zero block time.  Functions\r
+               called from inside of a timer callback function must *never* attempt to\r
+               block. */\r
+               xTimerChangePeriod( xCheckTimer, ( mainERROR_CHECK_TIMER_PERIOD_MS ), mainDONT_BLOCK );\r
+       }\r
+       \r
+       /* Toggle the LED.  The toggle rate will depend on whether or not an error\r
+       has been found in any tasks. */\r
+       mainLED_0 = !mainLED_0;\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+int __low_level_init(void)\r
+{\r
+unsigned portCHAR ucResetFlag = RESF;\r
+\r
+       portDISABLE_INTERRUPTS();\r
+\r
+       /* Clock Configuration:\r
+       In this port, to use the internal high speed clock source of the\r
+       microcontroller, define the configCLOCK_SOURCE as 1 in FreeRTOSConfig.h.  To\r
+       use an external clock define configCLOCK_SOURCE as 0. */\r
+       #if configCLOCK_SOURCE == 1\r
+       {\r
+               /* Set fMX */\r
+               CMC = 0x00;\r
+               MSTOP = 1U;\r
+               \r
+               /* Set fMAIN */\r
+               MCM0 = 0U;\r
+               \r
+               /* Set fSUB */\r
+               XTSTOP = 1U;\r
+               OSMC = 0x10;\r
+               \r
+               /* Set fCLK */\r
+               CSS = 0U;\r
+               \r
+               /* Set fIH */\r
+               HIOSTOP = 0U;\r
+       }\r
+       #else\r
+       {\r
+               unsigned char ucTempStabset, ucTempStabWait;    \r
+\r
+               /* Set fMX */\r
+               CMC = 0x41;\r
+               OSTS = 0x07;\r
+               MSTOP = 0U;\r
+               ucTempStabset = 0xFF;\r
+               \r
+               do\r
+               {\r
+                       ucTempStabWait = OSTC;\r
+                       ucTempStabWait &= ucTempStabset;\r
+               }\r
+               while( ucTempStabWait != ucTempStabset );\r
+               \r
+               /* Set fMAIN */\r
+               MCM0 = 1U;\r
+               \r
+               /* Set fSUB */\r
+               XTSTOP = 1U;\r
+               OSMC = 0x10;\r
+               \r
+               /* Set fCLK */\r
+               CSS = 0U;\r
+               \r
+               /* Set fIH */\r
+               HIOSTOP = 0U;\r
+       }\r
+       #endif /* configCLOCK_SOURCE == 1 */\r
+       \r
+       /* LED port initialization - set port register. */\r
+       P7 &= 0x7F;\r
+       \r
+       /* Set port mode register. */\r
+       PM7 &= 0x7F;\r
+       \r
+       /* Switch pin initialization - enable pull-up resistor. */\r
+       PU12_bit.no0  = 1;\r
+\r
+       return pdTRUE;\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vRegTestError( void )\r
+{\r
+       /* Called by the RegTest tasks if an error is found.  lRegTestStatus is\r
+       inspected by the check task. */\r
+       sRegTestStatus = pdFAIL;\r
+\r
+       /* Do not return from here as the reg test tasks clobber all registers so\r
+       function calls may not function correctly. */\r
+       for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vApplicationMallocFailedHook( void )\r
+{\r
+       /* Called if a call to pvPortMalloc() fails because there is insufficient\r
+       free memory available in the FreeRTOS heap.  pvPortMalloc() is called\r
+       internally by FreeRTOS API functions that create tasks, queues, software\r
+       timers, and semaphores.  The size of the FreeRTOS heap is set by the\r
+       configTOTAL_HEAP_SIZE configuration constant in FreeRTOSConfig.h. */\r
+       taskDISABLE_INTERRUPTS();\r
+       for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )\r
+{\r
+       ( void ) pcTaskName;\r
+       ( void ) pxTask;\r
+\r
+       /* Run time stack overflow checking is performed if\r
+       configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2.  This hook\r
+       function is called if a stack overflow is detected. */\r
+       taskDISABLE_INTERRUPTS();\r
+       for( ;; );\r
+}\r
diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.cspy.bat b/Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.cspy.bat
new file mode 100644 (file)
index 0000000..7de18dc
--- /dev/null
@@ -0,0 +1,15 @@
+@REM This batch file has been generated by the IAR Embedded Workbench\r
+@REM C-SPY Debugger, as an aid to preparing a command line for running\r
+@REM the cspybat command line utility using the appropriate settings.\r
+@REM\r
+@REM You can launch cspybat by typing the name of this batch file followed\r
+@REM by the name of the debug file (usually an ELF/DWARF or UBROF file).\r
+@REM Note that this file is generated every time a new debug session\r
+@REM is initialized, so you may want to move or rename the file before\r
+@REM making changes.\r
+@REM \r
+\r
+\r
+"C:\devtools\IAR Systems\Embedded Workbench 6.0\common\bin\cspybat" "C:\devtools\IAR Systems\Embedded Workbench 6.0\rl78\bin\rl78proc.dll" "C:\devtools\IAR Systems\Embedded Workbench 6.0\rl78\bin\rl78ocd.dll"  %1 --plugin "C:\devtools\IAR Systems\Embedded Workbench 6.0\rl78\bin\rl78bat.dll" --backend -B "--core" "rl78_1" "--near_const_location" "rom0" "--near_const_start" "0xf2000" "--near_const_size" "51.75" "-p" "C:\devtools\IAR Systems\Embedded Workbench 6.0\rl78\CONFIG\DDF\ior5f100le.ddf" "-d" "e1" \r
+\r
+\r
diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.dbgdt b/Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.dbgdt
new file mode 100644 (file)
index 0000000..dc7c227
--- /dev/null
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<Project>\r
+  <Desktop>\r
+    <Static>\r
+      <Debug-Log>\r
+        \r
+        \r
+      <ColumnWidth0>20</ColumnWidth0><ColumnWidth1>912</ColumnWidth1></Debug-Log>\r
+      <Build>\r
+        \r
+        \r
+        \r
+        \r
+      <ColumnWidth0>20</ColumnWidth0><ColumnWidth1>684</ColumnWidth1><ColumnWidth2>182</ColumnWidth2><ColumnWidth3>45</ColumnWidth3></Build>\r
+      <Workspace>\r
+        <ColumnWidths>\r
+          \r
+          \r
+          \r
+          \r
+        <Column0>270</Column0><Column1>27</Column1><Column2>27</Column2><Column3>27</Column3></ColumnWidths>\r
+      </Workspace>\r
+      <Disassembly>\r
+        \r
+        \r
+        \r
+      <MixedMode>1</MixedMode><CodeCovShow>1</CodeCovShow><InstrProfShow>1</InstrProfShow></Disassembly>\r
+    </Static>\r
+    <Windows>\r
+      \r
+      \r
+      \r
+    <Wnd2>\r
+        <Tabs>\r
+          <Tab>\r
+            <Identity>TabID-30626-17561</Identity>\r
+            <TabName>Debug Log</TabName>\r
+            <Factory>Debug-Log</Factory>\r
+            <Session/>\r
+          </Tab>\r
+          <Tab>\r
+            <Identity>TabID-30103-17570</Identity>\r
+            <TabName>Build</TabName>\r
+            <Factory>Build</Factory>\r
+            <Session/>\r
+          </Tab>\r
+        </Tabs>\r
+        \r
+      <SelectedTab>0</SelectedTab></Wnd2><Wnd3>\r
+        <Tabs>\r
+          <Tab>\r
+            <Identity>TabID-8606-17564</Identity>\r
+            <TabName>Workspace</TabName>\r
+            <Factory>Workspace</Factory>\r
+            <Session>\r
+              \r
+            <NodeDict><ExpandedNode>RTOSDemo</ExpandedNode></NodeDict></Session>\r
+          </Tab>\r
+        </Tabs>\r
+        \r
+      <SelectedTab>0</SelectedTab></Wnd3></Windows>\r
+    <Editor>\r
+      \r
+      \r
+      \r
+      \r
+    <Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\main.c</Filename><XPos>0</XPos><YPos>123</YPos><SelStart>6138</SelStart><SelEnd>6138</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\Source\include\portable.h</Filename><XPos>0</XPos><YPos>41</YPos><SelStart>9284</SelStart><SelEnd>9284</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\Source\tasks.c</Filename><XPos>0</XPos><YPos>455</YPos><SelStart>20208</SelStart><SelEnd>20208</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\FreeRTOSConfig.h</Filename><XPos>0</XPos><YPos>95</YPos><SelStart>5356</SelStart><SelEnd>5356</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\Source\portable\IAR\RL78\port.c</Filename><XPos>0</XPos><YPos>6</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\Source\queue.c</Filename><XPos>0</XPos><YPos>20</YPos><SelStart>2846</SelStart><SelEnd>2846</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\Source\portable\IAR\RL78\portasm.s87</Filename><XPos>0</XPos><YPos>35</YPos><SelStart>2965</SelStart><SelEnd>2965</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\Source\include\FreeRTOS.h</Filename><XPos>0</XPos><YPos>118</YPos><SelStart>6432</SelStart><SelEnd>6476</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\Source\portable\IAR\RL78\portmacro.h</Filename><XPos>0</XPos><YPos>51</YPos><SelStart>3711</SelStart><SelEnd>3711</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\Source\list.c</Filename><XPos>0</XPos><YPos>30</YPos><SelStart>0</SelStart><SelEnd>3157</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\RegTest.s87</Filename><XPos>0</XPos><YPos>183</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Common\Minimal\dynamic.c</Filename><XPos>0</XPos><YPos>344</YPos><SelStart>14819</SelStart><SelEnd>14819</SelEnd></Tab><ActiveTab>11</ActiveTab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
+    <Positions>\r
+      \r
+      \r
+      \r
+      \r
+      \r
+    <Top><Row0><Sizes><Toolbar-013361d0><key>iaridepm.enu1</key></Toolbar-013361d0></Sizes></Row0><Row1><Sizes><Toolbar-04b9a7e8><key>debuggergui.enu1</key></Toolbar-04b9a7e8><Toolbar-0b7be258><key>rl78ocd.enu1</key></Toolbar-0b7be258></Sizes></Row1></Top><Left><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>662</Bottom><Right>344</Right><x>-2</x><y>-2</y><xscreen>346</xscreen><yscreen>254</yscreen><sizeHorzCX>205952</sizeHorzCX><sizeHorzCY>258656</sizeHorzCY><sizeVertCX>205952</sizeVertCX><sizeVertCY>676171</sizeVertCY></Rect></Wnd3></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>252</Bottom><Right>1682</Right><x>-2</x><y>-2</y><xscreen>1684</xscreen><yscreen>254</yscreen><sizeHorzCX>1002381</sizeHorzCX><sizeHorzCY>258656</sizeHorzCY><sizeVertCX>205952</sizeVertCX><sizeVertCY>258656</sizeVertCY></Rect></Wnd2></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
+  </Desktop>\r
+</Project>\r
+\r
+\r
diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.dni b/Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.dni
new file mode 100644 (file)
index 0000000..841fe4b
--- /dev/null
@@ -0,0 +1,184 @@
+[InterruptLog]\r
+LogEnabled=0\r
+SumEnabled=0\r
+GraphEnabled=0\r
+ShowTimeLog=1\r
+ShowTimeSum=1\r
+SumSortOrder=0\r
+[Interrupts]\r
+Enabled=1\r
+[MemoryMap]\r
+Enabled=0\r
+Base=0\r
+UseAuto=0\r
+TypeViolation=1\r
+UnspecRange=1\r
+ActionState=1\r
+[DebugChecksum]\r
+Checksum=-445921582\r
+[DisAssemblyWindow]\r
+NumStates=_ 1\r
+State 1=_ 1\r
+[InstructionProfiling]\r
+Enabled=_ 0\r
+[CodeCoverage]\r
+Enabled=_ 0\r
+[E1]\r
+Map0=0,0,65535,65536\r
+Map1=1,1044224,1048319,4096\r
+MapEntries=2\r
+HWsettings=1,0,0,0,4,0,1,0,16,16\r
+HWsettingsCube=2,4294967295,2,4294967295,0,1,0,0\r
+HWsettingsRsuid=55555555555555555554\r
+EventEntries=0\r
+SeqName0=\r
+SeqData0=0,0\r
+SeqEnable10=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable20=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable30=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable40=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable0=0,0,0,0,0,0,0,0,0,0\r
+SeqData20=0,0,0,0,0,0\r
+SeqName1=\r
+SeqData1=0,0\r
+SeqEnable11=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable21=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable31=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable41=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable1=0,0,0,0,0,0,0,0,0,0\r
+SeqData21=0,0,0,0,0,0\r
+SeqName2=\r
+SeqData2=0,0\r
+SeqEnable12=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable22=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable32=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable42=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable2=0,0,0,0,0,0,0,0,0,0\r
+SeqData22=0,0,0,0,0,0\r
+SeqName3=\r
+SeqData3=0,0\r
+SeqEnable13=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable23=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable33=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable43=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable3=0,0,0,0,0,0,0,0,0,0\r
+SeqData23=0,0,0,0,0,0\r
+SeqName4=\r
+SeqData4=0,0\r
+SeqEnable14=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable24=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable34=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable44=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable4=0,0,0,0,0,0,0,0,0,0\r
+SeqData24=0,0,0,0,0,0\r
+TraceSettings=64,0,0,0,0,0,8192\r
+TimerSettings=0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\r
+CoverSettings=1048192,1048207,0\r
+Version=1,trace.txt\r
+LastDevFile=DR5F100LE.DVF\r
+EmulType=64\r
+BreakToggle=0\r
+EventLimits=0, 1, 1, 0, 0, 0, 2\r
+LastSetupFailed=0\r
+[StackPlugin]\r
+Enabled=1\r
+OverflowWarningsEnabled=1\r
+WarningThreshold=90\r
+SpWarningsEnabled=1\r
+WarnHow=0\r
+UseTrigger=1\r
+TriggerName=main\r
+LimitSize=0\r
+ByteLimit=50\r
+[TK]\r
+LastSetupFailed=1\r
+Map0=0,0,65535,65536\r
+Map1=1,1044224,1048319,4096\r
+MapEntries=2\r
+HWsettings=1,0,0,2,4,0,1,0,16,1\r
+HWsettingsCube=2,4294967295,2,4294967295,0,1,0,0\r
+HWsettingsRsuid=AAAAAAAAAAAAAAAAAAAA\r
+EventEntries=0\r
+SeqName0=\r
+SeqData0=0,0\r
+SeqEnable10=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable20=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable30=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable40=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable0=0,0,0,0,0,0,0,0,0,0\r
+SeqData20=0,0,0,0,0,0\r
+SeqName1=\r
+SeqData1=0,0\r
+SeqEnable11=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable21=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable31=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable41=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable1=0,0,0,0,0,0,0,0,0,0\r
+SeqData21=0,0,0,0,0,0\r
+SeqName2=\r
+SeqData2=0,0\r
+SeqEnable12=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable22=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable32=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable42=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable2=0,0,0,0,0,0,0,0,0,0\r
+SeqData22=0,0,0,0,0,0\r
+SeqName3=\r
+SeqData3=0,0\r
+SeqEnable13=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable23=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable33=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable43=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable3=0,0,0,0,0,0,0,0,0,0\r
+SeqData23=0,0,0,0,0,0\r
+SeqName4=\r
+SeqData4=0,0\r
+SeqEnable14=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable24=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable34=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable44=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable4=0,0,0,0,0,0,0,0,0,0\r
+SeqData24=0,0,0,0,0,0\r
+TraceSettings=64,0,0,0,0,0,8192\r
+TimerSettings=0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\r
+CoverSettings=1048192,1048207,0\r
+Version=1,xxx.txt\r
+LastDevFile=DR5F100LE.DVF\r
+EmulType=0\r
+BreakToggle=0\r
+EventLimits=3, 14, 8, 0, 0, 0, 9999\r
+[Stack]\r
+FillEnabled=0\r
+OverflowWarningsEnabled=1\r
+WarningThreshold=90\r
+SpWarningsEnabled=1\r
+WarnLogOnly=1\r
+UseTrigger=1\r
+TriggerName=main\r
+LimitSize=0\r
+ByteLimit=50\r
+[CallStack]\r
+ShowArgs=0\r
+[Log file]\r
+LoggingEnabled=_ 0\r
+LogFile=_ ""\r
+Category=_ 0\r
+[TermIOLog]\r
+LoggingEnabled=_ 0\r
+LogFile=_ ""\r
+[TraceHelper]\r
+Enabled=0\r
+ShowSource=1\r
+[CallStackLog]\r
+Enabled=0\r
+[DriverProfiling]\r
+Enabled=0\r
+Mode=0\r
+Graph=0\r
+Symbiont=0\r
+[Breakpoints]\r
+Count=0\r
+[Aliases]\r
+A0=_ "C:\Data\RL78_STICK\FreeRTOSV6.1.1\Source\portable\IAR\RL78\portasm.s87" "E:\Data\RL78_STICK\FreeRTOSV6.1.1\Source\portable\IAR\RL78\portasm.s87"\r
+Count=1\r
+SuppressDialog=1\r
diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.wsdt b/Demo/RL78_RL78G13_Promo_Board_IAR/settings/rtosdemo.wsdt
new file mode 100644 (file)
index 0000000..3732f78
--- /dev/null
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<Workspace>\r
+  <ConfigDictionary>\r
+    \r
+  <CurrentConfigs><Project>RTOSDemo/Debug</Project></CurrentConfigs></ConfigDictionary>\r
+  <Desktop>\r
+    <Static>\r
+      <Workspace>\r
+        <ColumnWidths>\r
+          \r
+          \r
+          \r
+          \r
+        <Column0>244</Column0><Column1>27</Column1><Column2>27</Column2><Column3>27</Column3></ColumnWidths>\r
+      </Workspace>\r
+    <Build><ColumnWidth0>20</ColumnWidth0><ColumnWidth1>684</ColumnWidth1><ColumnWidth2>182</ColumnWidth2><ColumnWidth3>45</ColumnWidth3></Build><TerminalIO/><Debug-Log><ColumnWidth0>20</ColumnWidth0><ColumnWidth1>1218</ColumnWidth1></Debug-Log><Disassembly><MixedMode>1</MixedMode><CodeCovShow>1</CodeCovShow><InstrProfShow>1</InstrProfShow></Disassembly><Find-in-Files><ColumnWidth0>439</ColumnWidth0><ColumnWidth1>62</ColumnWidth1><ColumnWidth2>753</ColumnWidth2></Find-in-Files></Static>\r
+    <Windows>\r
+      \r
+    <Wnd0>\r
+        <Tabs>\r
+          <Tab>\r
+            <Identity>TabID-25565-17041</Identity>\r
+            <TabName>Workspace</TabName>\r
+            <Factory>Workspace</Factory>\r
+            <Session>\r
+              \r
+            <NodeDict><ExpandedNode>RTOSDemo</ExpandedNode><ExpandedNode>RTOSDemo/Demo Source</ExpandedNode><ExpandedNode>RTOSDemo/Kernel Source</ExpandedNode></NodeDict></Session>\r
+          </Tab>\r
+        </Tabs>\r
+        \r
+      <SelectedTab>0</SelectedTab></Wnd0><Wnd1><Tabs><Tab><Identity>TabID-4654-17433</Identity><TabName>Build</TabName><Factory>Build</Factory><Session/></Tab><Tab><Identity>TabID-14113-4559</Identity><TabName>Debug Log</TabName><Factory>Debug-Log</Factory><Session/></Tab><Tab><Identity>TabID-7454-1824</Identity><TabName>Find in Files</TabName><Factory>Find-in-Files</Factory><Session/></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd1></Windows>\r
+    <Editor>\r
+      \r
+      \r
+      \r
+      \r
+    <Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\main.c</Filename><XPos>0</XPos><YPos>123</YPos><SelStart>6138</SelStart><SelEnd>6138</SelEnd></Tab><ActiveTab>0</ActiveTab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
+    <Positions>\r
+      \r
+      \r
+      \r
+      \r
+      \r
+    <Top><Row0><Sizes><Toolbar-013361d0><key>iaridepm.enu1</key></Toolbar-013361d0></Sizes></Row0><Row1><Sizes/></Row1><Row2><Sizes/></Row2><Row3><Sizes/></Row3><Row4><Sizes/></Row4><Row5><Sizes/></Row5><Row6><Sizes/></Row6></Top><Left><Row0><Sizes><Wnd0><Rect><Top>-2</Top><Left>-2</Left><Bottom>629</Bottom><Right>318</Right><x>-2</x><y>-2</y><xscreen>263</xscreen><yscreen>200</yscreen><sizeHorzCX>156548</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>190476</sizeVertCX><sizeVertCY>642566</sizeVertCY></Rect></Wnd0></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd1><Rect><Top>-2</Top><Left>-2</Left><Bottom>309</Bottom><Right>1682</Right><x>-2</x><y>-2</y><xscreen>1684</xscreen><yscreen>311</yscreen><sizeHorzCX>1002381</sizeHorzCX><sizeHorzCY>316701</sizeHorzCY><sizeVertCX>205357</sizeVertCX><sizeVertCY>258656</sizeVertCY></Rect></Wnd1></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
+  </Desktop>\r
+</Workspace>\r
+\r
+\r