From e808c09e188827dd0f62f422174948bcb2d171d1 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 29 Aug 2010 17:15:14 +0000 Subject: [PATCH] Work on the RX62N IAR demo, which is now functional. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1071 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/RX600_RX62N-MDK_IAR/FreeRTOSConfig.h | 11 +- Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewd | 229 +++++ Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewp | 860 +++++++++++++++++- .../Renesas-Files/hwsetup.c | 30 +- Demo/RX600_RX62N-MDK_IAR/main-blinky.c | 2 +- Demo/RX600_RX62N-MDK_IAR/main-full.c | 32 +- .../settings/RTOSDemo.dbgdt | 26 +- .../RX600_RX62N-MDK_IAR/settings/RTOSDemo.dni | 6 +- .../settings/RTOSDemo.wsdt | 14 +- 9 files changed, 1136 insertions(+), 74 deletions(-) diff --git a/Demo/RX600_RX62N-MDK_IAR/FreeRTOSConfig.h b/Demo/RX600_RX62N-MDK_IAR/FreeRTOSConfig.h index e26c1a95b..7990d1b91 100644 --- a/Demo/RX600_RX62N-MDK_IAR/FreeRTOSConfig.h +++ b/Demo/RX600_RX62N-MDK_IAR/FreeRTOSConfig.h @@ -33,9 +33,9 @@ FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. You should have received a copy of the GNU General Public - License and the FreeRTOS license exception along with FreeRTOS; if not it - can be viewed here: http://www.freertos.org/a00114.html and also obtained + more details. You should have received a copy of the GNU General Public + License and the FreeRTOS license exception along with FreeRTOS; if not it + can be viewed here: http://www.freertos.org/a00114.html and also obtained by writing to Richard Barry, contact details for whom are available on the FreeRTOS WEB site. @@ -102,6 +102,11 @@ Interrupts that use a priority above this will not be effected by anything the kernel is doing. */ #define configMAX_SYSCALL_INTERRUPT_PRIORITY 4 +/* The peripheral used to generate the tick interrupt is configured as part of +the application code. This constant should be set to the vector number of the +peripheral chosen. As supplied this is CMT0. */ +#define configTICK_VECTOR 28 /*VECT_CMT0_CMI0*/ + /* Set the following definitions to 1 to include the API function, or zero to exclude the API function. */ diff --git a/Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewd b/Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewd index 5aa0e6318..2808ba314 100644 --- a/Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewd +++ b/Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewd @@ -460,6 +460,235 @@ + + Debug-with-optimisation + + RX + + 1 + + C-SPY + 2 + + 4 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + RXEMUE20 + 1 + + 0 + 1 + 1 + + + + + + + + + RXJLINK + 1 + + 0 + 1 + 1 + + + + + + + + + SIMRX + 1 + + 1 + 1 + 1 + + + + + + + + + $TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin + 0 + + + $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin + 1 + + + $EW_DIR$\common\plugins\FreeRTOS\FreeRTOSPlugin.ewplugin + 0 + + + $EW_DIR$\common\plugins\OpenRTOS\OpenRTOSPlugin.ewplugin + 0 + + + $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\Profiling\Profiling.ENU.ewplugin + 1 + + + $EW_DIR$\common\plugins\Stack\Stack.ENU.ewplugin + 1 + + + $EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin + 1 + + + diff --git a/Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewp b/Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewp index 3a1f0c43f..daa33d3b9 100644 --- a/Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewp +++ b/Demo/RX600_RX62N-MDK_IAR/RTOSDemo.ewp @@ -275,8 +275,839 @@ + + + + + + + + + + + + + + + + + + + + + + + + + ARX + 2 + + 3 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 1 + + 0 + 1 + 1 + + + + + + + + + CUSTOM + 3 + + + + + + + BICOMP + 0 + + + + BUILDACTION + 1 + + + + + + + ILINK + 1 + + 0 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 1 + + 0 + 1 + 1 + + + + + + + BILINK + 0 + + + + + Blinky + + RX + + 1 + + General + 2 + + 3 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCRX + 3 + + 10 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - Blinky + Debug-with-optimisation RX @@ -860,7 +1691,7 @@