UpdUpdate IAR projects to use Embedded Workbench V5.11.

This commit is contained in:
Richard Barry 2008-01-23 08:35:47 +00:00
parent dfb8e7003b
commit 474cb76864
104 changed files with 10988 additions and 22710 deletions

View file

@ -19,13 +19,13 @@
A special exception to the GPL can be applied should you wish to distribute
a combined work that includes FreeRTOS.org, without being obliged to provide
the source code for any proprietary components. See the licensing section
the source code for any proprietary components. See the licensing section
of http://www.FreeRTOS.org for full details of how and when the exception
can be applied.
***************************************************************************
See http://www.FreeRTOS.org for documentation, latest information, license
and contact details. Please ensure to read the configuration and relevant
See http://www.FreeRTOS.org for documentation, latest information, license
and contact details. Please ensure to read the configuration and relevant
port sections of the online documentation.
Also see http://www.SafeRTOS.com a version that has been certified for use
@ -44,7 +44,7 @@
* application requirements.
*
* THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
*----------------------------------------------------------*/
#define configUSE_PREEMPTION 1
@ -52,7 +52,7 @@
#define configUSE_TICK_HOOK 0
#define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 20000000 )
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 70 )
#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 80 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 3000 ) )
#define configMAX_TASK_NAME_LEN ( 3 )
#define configUSE_TRACE_FACILITY 0
@ -74,7 +74,7 @@ to exclude the API function. */
#define INCLUDE_vTaskDelayUntil 0
#define INCLUDE_vTaskDelay 1
#define configKERNEL_INTERRUPT_PRIORITY 255
#endif /* FREERTOS_CONFIG_H */

View file

@ -0,0 +1,58 @@
//*****************************************************************************
//
// boot_demo1.icf - Linker configuration file for boot_demo1.
//
// Copyright (c) 2007 Luminary Micro, Inc. All rights reserved.
// Luminary Micro Confidential - For Use Under NDA Only
//
//*****************************************************************************
//
// Define a memory region that covers the entire 4 GB addressible space of the
// processor.
//
define memory mem with size = 4G;
//
// Define a region for the on-chip flash.
//
define region FLASH = mem:[from 0x00000000 to 0x00003fff];
//
// Define a region for the on-chip SRAM.
//
define region SRAM = mem:[from 0x20000000 to 0x20000fff];
//
// Define a block for the heap. The size should be set to something other
// than zero if things in the C library that require the heap are used.
//
define block HEAP with alignment = 8, size = 0x00000000 { };
//
// Indicate that the read/write values should be initialized by copying from
// flash.
//
initialize by copy { readwrite };
//
// Initicate that the noinit values should be left alone. This includes the
// stack, which if initialized will destroy the return address from the
// initialization code, causing the processor to branch to zero and fault.
//
do not initialize { section .noinit };
//
// Place the interrupt vectors at the start of flash.
//
place at start of FLASH { readonly section .intvec };
//
// Place the remainder of the read-only items into flash.
//
place in FLASH { readonly };
//
// Place all read/write items into SRAM.
//
place in SRAM { readwrite, block HEAP };

View file

@ -1,535 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<project>
<fileVersion>2</fileVersion>
<configuration>
<name>Debug</name>
<outputs>
<file>$PROJ_DIR$\..\..\Source\croutine.c</file>
<file>$PROJ_DIR$\ewarm\Obj\cspy.pbi</file>
<file>$PROJ_DIR$\ewarm\Exe\RTOSDemo.sim</file>
<file>$PROJ_DIR$\ewarm\Obj\commstest.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\pdc.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\list.r79</file>
<file>$PROJ_DIR$\hw_include\hw_ssi.h</file>
<file>$PROJ_DIR$\ewarm\List\RTOSDemo.map</file>
<file>$PROJ_DIR$\..\..\Source\include\projdefs.h</file>
<file>$TOOLKIT_DIR$\inc\stddef.h</file>
<file>$PROJ_DIR$\hw_include\hw_uart.h</file>
<file>$PROJ_DIR$\standalone.xcl</file>
<file>$PROJ_DIR$\hw_include\debug.h</file>
<file>$PROJ_DIR$\hw_include\hw_adc.h</file>
<file>$PROJ_DIR$\hw_include\hw_i2c.h</file>
<file>$PROJ_DIR$\ewarm\Obj\registertest.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\commstest.pbi</file>
<file>$PROJ_DIR$\ewarm\Obj\crhook.pbi</file>
<file>$PROJ_DIR$\..\..\Source\include\FreeRTOS.h</file>
<file>$PROJ_DIR$\hw_include\interrupt.h</file>
<file>$PROJ_DIR$\..\Common\include\crhook.h</file>
<file>$PROJ_DIR$\ewarm\Obj\ParTest.pbi</file>
<file>$PROJ_DIR$\ewarm\Obj\tasks.pbi</file>
<file>$PROJ_DIR$\ewarm\Obj\startup.pbi</file>
<file>$PROJ_DIR$\ewarm\Obj\crflash.pbi</file>
<file>$PROJ_DIR$\..\Common\Minimal\crflash.c</file>
<file>$PROJ_DIR$\ewarm\Obj\startup.r79</file>
<file>$PROJ_DIR$\..\..\Source\include\task.h</file>
<file>$TOOLKIT_DIR$\inc\stdio.h</file>
<file>$PROJ_DIR$\ewarm\Obj\croutine.pbi</file>
<file>$PROJ_DIR$\hw_include\i2c.h</file>
<file>$TOOLKIT_DIR$\inc\ysizet.h</file>
<file>$TOOLKIT_DIR$\lib\dl7mptnnl8n.r79</file>
<file>$PROJ_DIR$\hw_include\gpio.h</file>
<file>$PROJ_DIR$\hw_include\adc.h</file>
<file>$PROJ_DIR$\..\..\Source\include\queue.h</file>
<file>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\portmacro.h</file>
<file>$PROJ_DIR$\ewarm\Obj\portasm.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\tasks.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\cspy.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\port.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\queue.r79</file>
<file>$PROJ_DIR$\hw_include\hw_ints.h</file>
<file>$TOOLKIT_DIR$\inc\xencoding_limits.h</file>
<file>$PROJ_DIR$\ewarm\Obj\crhook.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\qs_dk-lm3s316.pbi</file>
<file>$PROJ_DIR$\ewarm\Exe\RTOSDemo.d79</file>
<file>$PROJ_DIR$\ewarm\Obj\crflash.r79</file>
<file>$PROJ_DIR$\FreeRTOSConfig.h</file>
<file>$PROJ_DIR$\..\Common\include\partest.h</file>
<file>$PROJ_DIR$\hw_include\sysctl.h</file>
<file>$PROJ_DIR$\hw_include\pdc.h</file>
<file>$PROJ_DIR$\hw_include\DriverLib.h</file>
<file>$PROJ_DIR$\ewarm\Obj\ParTest.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\RTOSDemo.pbd</file>
<file>$PROJ_DIR$\qs_dk-lm3s316.c</file>
<file>$TOOLKIT_DIR$\inc\yvals.h</file>
<file>$PROJ_DIR$\ewarm\Obj\main.r79</file>
<file>$PROJ_DIR$\hw_include\hw_types.h</file>
<file>$PROJ_DIR$\..\..\Source\include\portable.h</file>
<file>$PROJ_DIR$\ewarm\Obj\list.pbi</file>
<file>$PROJ_DIR$\..\..\Source\include\croutine.h</file>
<file>$PROJ_DIR$\hw_include\ssi.h</file>
<file>$TOOLKIT_DIR$\inc\stdlib.h</file>
<file>$PROJ_DIR$\ewarm\Obj\queue.pbi</file>
<file>$PROJ_DIR$\ewarm\Obj\pdc.pbi</file>
<file>$TOOLKIT_DIR$\inc\string.h</file>
<file>$PROJ_DIR$\startup.c</file>
<file>$TOOLKIT_DIR$\inc\DLib_Threads.h</file>
<file>$PROJ_DIR$\..\..\utils\cspy.c</file>
<file>$PROJ_DIR$\ewarm\Obj\heap_1.r79</file>
<file>$PROJ_DIR$\..\Common\Minimal\crhook.c</file>
<file>$PROJ_DIR$\commstest.h</file>
<file>$PROJ_DIR$\ewarm\Obj\heap_1.pbi</file>
<file>$TOOLKIT_DIR$\inc\DLib_Defaults.h</file>
<file>$TOOLKIT_DIR$\inc\DLib_Product.h</file>
<file>$PROJ_DIR$\ewarm\Obj\croutine.r79</file>
<file>$PROJ_DIR$\..\..\Source\include\list.h</file>
<file>$PROJ_DIR$\..\Common\include\crflash.h</file>
<file>$PROJ_DIR$\hw_include\diag.h</file>
<file>$PROJ_DIR$\ewarm\Obj\qs_dk-lm3s316.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\main.pbi</file>
<file>$PROJ_DIR$\hw_include\hw_memmap.h</file>
<file>$PROJ_DIR$\hw_include\uart.h</file>
<file>$PROJ_DIR$\..\..\utils\pdc.c</file>
<file>$PROJ_DIR$\hw_include\hw_nvic.h</file>
<file>$TOOLKIT_DIR$\lib\dl7mptnnl8n.h</file>
<file>$PROJ_DIR$\commstest.c</file>
<file>$PROJ_DIR$\main.c</file>
<file>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_1.c</file>
<file>$PROJ_DIR$\ParTest\ParTest.c</file>
<file>$PROJ_DIR$\registertest.s</file>
<file>$PROJ_DIR$\..\..\Source\list.c</file>
<file>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\port.c</file>
<file>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\portasm.s</file>
<file>$PROJ_DIR$\..\..\Source\queue.c</file>
<file>$PROJ_DIR$\..\..\Source\tasks.c</file>
<file>$PROJ_DIR$\hw_include\driverlib.r79</file>
<file>$PROJ_DIR$\ewarm\Obj\port.pbi</file>
<file>$PROJ_DIR$\hw_include\cspy.c</file>
<file>$PROJ_DIR$\hw_include\pdc.c</file>
<file>$PROJ_DIR$\hw_include\startup.c</file>
</outputs>
<file>
<name>$PROJ_DIR$\..\..\Source\croutine.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 76</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 29</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 18 9 56 74 86 75 43 68 31 8 48 59 36 27 77 61</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 18 9 56 74 75 43 68 31 8 48 59 36 27 77 61</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\Common\Minimal\crflash.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 47</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 24</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 18 9 56 74 86 75 43 68 31 8 48 59 36 61 77 35 49 78</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 18 9 56 74 75 43 68 31 8 48 59 36 61 77 35 49 78</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\ewarm\Exe\RTOSDemo.d79</name>
<outputs>
<tool>
<name>XLINK</name>
<file> 7 2</file>
</tool>
</outputs>
<inputs>
<tool>
<name>XLINK</name>
<file> 11 53 3 47 76 39 70 5 57 4 40 37 41 15 26 38 97 32</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\ewarm\Obj\RTOSDemo.pbd</name>
<inputs>
<tool>
<name>BILINK</name>
<file> 21 16 24 29 1 73 60 81 65 98 64 23 22</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\qs_dk-lm3s316.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 80</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 45</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\startup.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 26</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 23</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\utils\cspy.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 39</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 1</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\Common\Minimal\crhook.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 44</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 17</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 18 9 56 74 86 75 43 68 31 8 48 59 36 61 77 35 20</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 18 9 56 74 75 43 68 31 8 48 59 36 61 77 35 20</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\utils\pdc.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 4</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 65</file>
</tool>
</outputs>
</file>
<file>
<name>[ROOT_NODE]</name>
<outputs>
<tool>
<name>XLINK</name>
<file> 46 7 2</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\commstest.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 3</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 16</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 18 9 56 74 86 75 43 68 31 8 48 59 36 27 77 35 61 49 52 42 10 82 58 85 6 14 13 33 19 50 83 62 51 30 34</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 18 9 56 74 75 43 68 31 8 48 59 36 27 77 35 61 49 52 42 10 82 58 85 6 14 13 33 19 50 83 62 51 30 34</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\main.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 57</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 81</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 28 56 74 86 75 43 68 31 18 9 8 48 59 36 27 77 35 61 49 78 72 52 42 10 82 58 85 6 14 13 33 19 50 83 62 51 30 34</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 28 56 74 75 43 68 31 18 9 8 48 59 36 27 77 35 61 49 78 72 52 42 10 82 58 85 6 14 13 33 19 50 83 62 51 30 34</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_1.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 70</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 73</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 63 56 74 86 75 43 68 31 18 9 8 48 59 36 27 77</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 63 56 74 75 43 68 31 18 9 8 48 59 36 27 77</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\ParTest\ParTest.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 53</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 21</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 18 9 56 74 86 75 43 68 31 8 48 59 36 27 77 49 51</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 18 9 56 74 75 43 68 31 8 48 59 36 27 77 49 51</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\registertest.s</name>
<outputs>
<tool>
<name>AARM</name>
<file> 15</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\Source\list.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 5</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 60</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 63 56 74 86 75 43 68 31 18 9 8 48 59 36 77</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 63 56 74 75 43 68 31 18 9 8 48 59 36 77</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\port.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 40</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 98</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 18 9 56 74 86 75 43 68 31 8 48 59 36 27 77</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 18 9 56 74 75 43 68 31 8 48 59 36 27 77</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\portasm.s</name>
<outputs>
<tool>
<name>AARM</name>
<file> 37</file>
</tool>
</outputs>
<inputs>
<tool>
<name>AARM</name>
<file> 48</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\Source\queue.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 41</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 64</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 63 56 74 86 75 43 68 31 66 18 9 8 48 59 36 27 77 61</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 63 56 74 75 43 68 31 66 18 9 8 48 59 36 27 77 61</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\Source\tasks.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 38</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 22</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 28 56 74 86 75 43 68 31 63 66 18 9 8 48 59 36 27 77</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 28 56 74 75 43 68 31 63 66 18 9 8 48 59 36 27 77</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\hw_include\cspy.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 39</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 1</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 79</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 79</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\hw_include\pdc.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 4</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 65</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 82 58 12 33 62 50 51</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 82 58 12 33 62 50 51</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\hw_include\startup.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 26</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 23</file>
</tool>
</outputs>
</file>
</configuration>
</project>

View file

@ -12,7 +12,7 @@
<name>C-SPY</name>
<archiveVersion>2</archiveVersion>
<data>
<version>13</version>
<version>15</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
@ -45,7 +45,7 @@
</option>
<option>
<name>MemFile</name>
<state>$TOOLKIT_DIR$\CONFIG\iolm3s101.ddf</state>
<state>$TOOLKIT_DIR$\CONFIG\debugger\Luminary\iolm3s316.ddf</state>
</option>
<option>
<name>RunToEnable</name>
@ -89,7 +89,7 @@
</option>
<option>
<name>OCLastSavedByProductVersion</name>
<state>4.39B</state>
<state>5.11.0.50615</state>
</option>
<option>
<name>OCDownloadAttachToProgram</name>
@ -103,19 +103,39 @@
<name>UseFlashLoader</name>
<state>1</state>
</option>
<option>
<name>CLowLevel</name>
<state>1</state>
</option>
<option>
<name>OCBE8Slave</name>
<state>1</state>
</option>
</data>
</settings>
<settings>
<name>ARMSIM_ID</name>
<archiveVersion>2</archiveVersion>
<data>
<version>0</version>
<version>1</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
<name>OCSimDriverInfo</name>
<state>1</state>
</option>
<option>
<name>OCSimEnablePSP</name>
<state>0</state>
</option>
<option>
<name>OCSimPspOverrideConfig</name>
<state>0</state>
</option>
<option>
<name>OCSimPspConfigFile</name>
<state></state>
</option>
</data>
</settings>
<settings>
@ -161,6 +181,43 @@
</option>
</data>
</settings>
<settings>
<name>GDBSERVER_ID</name>
<archiveVersion>2</archiveVersion>
<data>
<version>0</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
<name>OCDriverInfo</name>
<state>1</state>
</option>
<option>
<name>TCPIP</name>
<state>aaa.bbb.ccc.ddd</state>
</option>
<option>
<name>DoLogfile</name>
<state>0</state>
</option>
<option>
<name>LogFile</name>
<state>$TOOLKIT_DIR$\cspycomm.log</state>
</option>
<option>
<name>CCJTagBreakpointRadio</name>
<state>0</state>
</option>
<option>
<name>CCJTagDoUpdateBreakpoints</name>
<state>0</state>
</option>
<option>
<name>CCJTagUpdateBreakpoints</name>
<state>main</state>
</option>
</data>
</settings>
<settings>
<name>IARROM_ID</name>
<archiveVersion>2</archiveVersion>
@ -200,7 +257,7 @@
<name>JLINK_ID</name>
<archiveVersion>2</archiveVersion>
<data>
<version>6</version>
<version>9</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
@ -251,14 +308,6 @@
<name>CCJLinkTCPIP</name>
<state>aaa.bbb.ccc.ddd</state>
</option>
<option>
<name>CCJLinkResetRadio</name>
<state>2</state>
</option>
<option>
<name>CCJLinkResetInitSeq</name>
<state>0</state>
</option>
<option>
<name>CCJLinkSpeedRadioV2</name>
<state>0</state>
@ -308,13 +357,51 @@
<name>CCJLinkUpdateBreakpoints</name>
<state>main</state>
</option>
<option>
<name>CCJLinkInterfaceRadio</name>
<state>0</state>
</option>
<option>
<name>OCJLinkAttachSlave</name>
<state>1</state>
</option>
<option>
<name>CCJLinkResetList</name>
<version>0</version>
<state>5</state>
</option>
</data>
</settings>
<settings>
<name>LMIFTDI_ID</name>
<archiveVersion>2</archiveVersion>
<data>
<version>1</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
<name>OCDriverInfo</name>
<state>1</state>
</option>
<option>
<name>LmiftdiSpeed</name>
<state>500</state>
</option>
<option>
<name>CCLmiftdiDoLogfile</name>
<state>0</state>
</option>
<option>
<name>CCLmiftdiLogFile</name>
<state>$TOOLKIT_DIR$\cspycomm.log</state>
</option>
</data>
</settings>
<settings>
<name>MACRAIGOR_ID</name>
<archiveVersion>2</archiveVersion>
<data>
<version>1</version>
<version>2</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
@ -377,6 +464,18 @@
<name>CCMacraigorHWResetDelay</name>
<state></state>
</option>
<option>
<name>CCJTagBreakpointRadio</name>
<state>0</state>
</option>
<option>
<name>CCJTagDoUpdateBreakpoints</name>
<state>0</state>
</option>
<option>
<name>CCJTagUpdateBreakpoints</name>
<state>main</state>
</option>
</data>
</settings>
<settings>
@ -467,27 +566,11 @@
</settings>
<debuggerPlugins>
<plugin>
<file>$EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ewplugin</file>
<loadFlag>1</loadFlag>
</plugin>
<plugin>
<file>$EW_DIR$\common\plugins\Orti\Orti.ewplugin</file>
<file>$TOOLKIT_DIR$\plugins\rtos\CMX\CmxArmPlugin.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$EW_DIR$\common\plugins\Profiling\Profiling.ewplugin</file>
<loadFlag>1</loadFlag>
</plugin>
<plugin>
<file>$EW_DIR$\common\plugins\Stack\stack.ewplugin</file>
<loadFlag>1</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\CMX\CMXArmPlugin.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\CMX\CMXTinyArmPlugin.ewplugin</file>
<file>$TOOLKIT_DIR$\plugins\rtos\CMX\CmxTinyArmPlugin.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
@ -498,10 +581,34 @@
<file>$TOOLKIT_DIR$\plugins\rtos\OSE\OseEpsilonPlugin.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\PowerPac\PowerPacRTOS.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$EW_DIR$\common\plugins\Profiling\Profiling.ENU.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$EW_DIR$\common\plugins\Stack\Stack.ENU.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
</debuggerPlugins>
</configuration>
</project>

View file

@ -10,15 +10,11 @@
<debug>1</debug>
<settings>
<name>General</name>
<archiveVersion>2</archiveVersion>
<archiveVersion>3</archiveVersion>
<data>
<version>9</version>
<version>14</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
<name>GProcessorMode</name>
<state>1</state>
</option>
<option>
<name>ExePath</name>
<state>ewarm\Exe</state>
@ -33,21 +29,13 @@
</option>
<option>
<name>Variant</name>
<version>5</version>
<state>25</state>
<version>7</version>
<state>31</state>
</option>
<option>
<name>GEndianMode</name>
<state>0</state>
</option>
<option>
<name>GInterwork</name>
<state>0</state>
</option>
<option>
<name>GStackAlign</name>
<state>0</state>
</option>
<option>
<name>Input variant</name>
<version>1</version>
@ -95,11 +83,7 @@
</option>
<option>
<name>RTConfigPath</name>
<state>$TOOLKIT_DIR$\LIB\dl7mptnnl8n.h</state>
</option>
<option>
<name>RTLibraryPath</name>
<state>$TOOLKIT_DIR$\LIB\dl7mptnnl8n.r79</state>
<state>$TOOLKIT_DIR$\INC\DLib_Config_Normal.h</state>
</option>
<option>
<name>OGProductVersion</name>
@ -107,7 +91,7 @@
</option>
<option>
<name>OGLastSavedByProductVersion</name>
<state>4.40A</state>
<state>5.11.0.50615</state>
</option>
<option>
<name>GeneralMisraRules</name>
@ -126,13 +110,25 @@
<name>OGChipSelectEditMenu</name>
<state>LM3S316 Luminary LM3S316</state>
</option>
<option>
<name>GenLowLevelInterface</name>
<state>0</state>
</option>
<option>
<name>GEndianModeBE</name>
<state>1</state>
</option>
<option>
<name>OGBufferedTerminalOutput</name>
<state>0</state>
</option>
</data>
</settings>
<settings>
<name>ICCARM</name>
<archiveVersion>2</archiveVersion>
<data>
<version>13</version>
<version>19</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
@ -197,36 +193,15 @@
<name>CCObjPrefix</name>
<state>1</state>
</option>
<option>
<name>CCOptSizeSpeed</name>
<state>0</state>
</option>
<option>
<name>CCOptimization</name>
<version>0</version>
<state>2</state>
</option>
<option>
<name>CCAllowList</name>
<version>1</version>
<state>1001010</state>
</option>
<option>
<name>CCObjUseModuleName</name>
<state>0</state>
</option>
<option>
<name>CCObjModuleName</name>
<state></state>
<state>0000000</state>
</option>
<option>
<name>CCDebugInfo</name>
<state>1</state>
</option>
<option>
<name>IProcessorMode</name>
<state>1</state>
</option>
<option>
<name>IEndianMode</name>
<state>1</state>
@ -235,14 +210,6 @@
<name>IProcessor</name>
<state>1</state>
</option>
<option>
<name>IStackAlign</name>
<state>1</state>
</option>
<option>
<name>IInterwork</name>
<state>1</state>
</option>
<option>
<name>IExtraOptionsCheck</name>
<state>0</state>
@ -281,7 +248,7 @@
</option>
<option>
<name>OutputFile</name>
<state>$FILE_BNAME$.r79</state>
<state>$FILE_BNAME$.o</state>
</option>
<option>
<name>CCLangSelect</name>
@ -291,23 +258,6 @@
<name>CCLibConfigHeader</name>
<state>1</state>
</option>
<option>
<name>CCOptSizeSpeedSlave</name>
<state>0</state>
</option>
<option>
<name>CCOptimizationSlave</name>
<version>0</version>
<state>2</state>
</option>
<option>
<name>CCCodeFunctions</name>
<state>CODE</state>
</option>
<option>
<name>CCData</name>
<state>DATA</state>
</option>
<option>
<name>PreInclude</name>
<state></state>
@ -321,18 +271,6 @@
<name>CompilerMisraOverride</name>
<state>0</state>
</option>
<option>
<name>CCModuleTypeOverride</name>
<state>0</state>
</option>
<option>
<name>CCModuleType</name>
<state>0</state>
</option>
<option>
<name>CCModuleTypeCmdlineProducer</name>
<state>0</state>
</option>
<option>
<name>CCIncludePath2</name>
<state>$PROJ_DIR$\</state>
@ -348,6 +286,31 @@
<name>CCStdIncludePath</name>
<state>$TOOLKIT_DIR$\INC\</state>
</option>
<option>
<name>CCCodeSection</name>
<state>.text</state>
</option>
<option>
<name>IInterwork2</name>
<state>0</state>
</option>
<option>
<name>IProcessorMode2</name>
<state>1</state>
</option>
<option>
<name>CCOptLevel</name>
<state>1</state>
</option>
<option>
<name>CCOptStrategy</name>
<version>0</version>
<state>0</state>
</option>
<option>
<name>CCOptLevelSlave</name>
<state>1</state>
</option>
</data>
</settings>
<settings>
@ -481,7 +444,7 @@
</option>
<option>
<name>AOutputFile</name>
<state>$FILE_BNAME$.r79</state>
<state>$FILE_BNAME$.o</state>
</option>
<option>
<name>AMultibyteSupport</name>
@ -517,6 +480,36 @@
</option>
</data>
</settings>
<settings>
<name>OBJCOPY</name>
<archiveVersion>0</archiveVersion>
<data>
<version>1</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
<name>OOCOutputFormat</name>
<version>1</version>
<state>0</state>
</option>
<option>
<name>OCOutputOverride</name>
<state>0</state>
</option>
<option>
<name>OOCOutputFile</name>
<state></state>
</option>
<option>
<name>OOCCommandLineProducer</name>
<state>1</state>
</option>
<option>
<name>OOCObjCopyEnable</name>
<state>0</state>
</option>
</data>
</settings>
<settings>
<name>CUSTOM</name>
<archiveVersion>3</archiveVersion>
@ -539,90 +532,156 @@
</data>
</settings>
<settings>
<name>XLINK</name>
<archiveVersion>2</archiveVersion>
<name>ILINK</name>
<archiveVersion>0</archiveVersion>
<data>
<version>18</version>
<version>5</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
<name>XOutOverride</name>
<name>IlinkLibIOConfig</name>
<state>1</state>
</option>
<option>
<name>XLinkMisraHandler</name>
<state>0</state>
</option>
<option>
<name>OutputFile</name>
<state>RTOSDemo.d79</state>
<name>IlinkInputFileSlave</name>
<state>0</state>
</option>
<option>
<name>OutputFormat</name>
<version>11</version>
<state>16</state>
<name>IlinkOutputFile</name>
<state>RTOSDemo.out</state>
</option>
<option>
<name>FormatVariant</name>
<version>7</version>
<state>16</state>
<name>IlinkDebugInfoEnable</name>
<state>1</state>
</option>
<option>
<name>SecondaryOutputFile</name>
<state>(None for the selected format)</state>
</option>
<option>
<name>XDefines</name>
<name>IlinkKeepSymbols</name>
<state></state>
</option>
<option>
<name>AlwaysOutput</name>
<state>0</state>
</option>
<option>
<name>OverlapWarnings</name>
<state>0</state>
</option>
<option>
<name>NoGlobalCheck</name>
<state>0</state>
</option>
<option>
<name>XList</name>
<state>1</state>
</option>
<option>
<name>SegmentMap</name>
<state>1</state>
</option>
<option>
<name>ListSymbols</name>
<state>2</state>
</option>
<option>
<name>PageLengthCheck</name>
<state>0</state>
</option>
<option>
<name>PageLength</name>
<state>80</state>
</option>
<option>
<name>XIncludes</name>
<state>$TOOLKIT_DIR$\LIB\</state>
</option>
<option>
<name>ModuleStatus</name>
<state>0</state>
</option>
<option>
<name>XclOverride</name>
<state>1</state>
</option>
<option>
<name>XclFile</name>
<state>$PROJ_DIR$\standalone.xcl</state>
</option>
<option>
<name>XclFileSlave</name>
<name>IlinkRawBinaryFile</name>
<state></state>
</option>
<option>
<name>IlinkRawBinarySymbol</name>
<state></state>
</option>
<option>
<name>IlinkRawBinarySegment</name>
<state></state>
</option>
<option>
<name>IlinkRawBinaryAlign</name>
<state></state>
</option>
<option>
<name>IlinkDefines</name>
<state></state>
</option>
<option>
<name>IlinkConfigDefines</name>
<state></state>
</option>
<option>
<name>IlinkMapFile</name>
<state>0</state>
</option>
<option>
<name>IlinkLogFile</name>
<state>0</state>
</option>
<option>
<name>IlinkLogInitialization</name>
<state>0</state>
</option>
<option>
<name>IlinkLogModule</name>
<state>0</state>
</option>
<option>
<name>IlinkLogSection</name>
<state>0</state>
</option>
<option>
<name>IlinkLogVeneer</name>
<state>0</state>
</option>
<option>
<name>IlinkIcfOverride</name>
<state>1</state>
</option>
<option>
<name>IlinkIcfFile</name>
<state>$PROJ_DIR$\LM3S316.icf</state>
</option>
<option>
<name>IlinkIcfFileSlave</name>
<state></state>
</option>
<option>
<name>IlinkEnableRemarks</name>
<state>0</state>
</option>
<option>
<name>IlinkSuppressDiags</name>
<state></state>
</option>
<option>
<name>IlinkTreatAsRem</name>
<state></state>
</option>
<option>
<name>IlinkTreatAsWarn</name>
<state></state>
</option>
<option>
<name>IlinkTreatAsErr</name>
<state></state>
</option>
<option>
<name>IlinkWarningsAreErrors</name>
<state>0</state>
</option>
<option>
<name>IlinkUseExtraOptions</name>
<state>0</state>
</option>
<option>
<name>IlinkExtraOptions</name>
<state></state>
</option>
<option>
<name>IlinkLowLevelInterfaceSlave</name>
<state>1</state>
</option>
<option>
<name>IlinkAutoLibEnable</name>
<state>1</state>
</option>
<option>
<name>IlinkAdditionalLibs</name>
<state>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\IAR\driverlib.a</state>
</option>
<option>
<name>IlinkOverrideProgramEntryLabel</name>
<state>0</state>
</option>
<option>
<name>IlinkProgramEntryLabelSelect</name>
<state>0</state>
</option>
<option>
<name>IlinkProgramEntryLabel</name>
<state>__iar_program_start</state>
</option>
<option>
<name>IlinkNXPLPCChecksum</name>
<state>0</state>
</option>
<option>
<name>DoFill</name>
<state>0</state>
@ -632,14 +691,22 @@
<state>0xFF</state>
</option>
<option>
<name>DoCrc</name>
<state>0</state>
<name>FillerStart</name>
<state>0x0</state>
</option>
<option>
<name>FillerEnd</name>
<state>0x0</state>
</option>
<option>
<name>CrcSize</name>
<version>0</version>
<state>1</state>
</option>
<option>
<name>CrcAlign</name>
<state>1</state>
</option>
<option>
<name>CrcAlgo</name>
<state>1</state>
@ -653,169 +720,46 @@
<version>0</version>
<state>0</state>
</option>
<option>
<name>RangeCheckAlternatives</name>
<state>0</state>
</option>
<option>
<name>SuppressAllWarn</name>
<state>0</state>
</option>
<option>
<name>SuppressDiags</name>
<state>w6</state>
</option>
<option>
<name>TreatAsWarn</name>
<state></state>
</option>
<option>
<name>TreatAsErr</name>
<state></state>
</option>
<option>
<name>ModuleLocalSym</name>
<version>0</version>
<state>0</state>
</option>
<option>
<name>CrcBitOrder</name>
<version>0</version>
<state>0</state>
</option>
<option>
<name>XExtraOptionsCheck</name>
<state>0</state>
</option>
<option>
<name>XExtraOptions</name>
<state></state>
</option>
<option>
<name>IncludeSuppressed</name>
<state>0</state>
</option>
<option>
<name>OXLibIOConfig</name>
<state>1</state>
</option>
<option>
<name>ModuleSummary</name>
<state>0</state>
</option>
<option>
<name>xcProgramEntryLabel</name>
<state>ResetISR</state>
</option>
<option>
<name>DebugInformation</name>
<state>0</state>
</option>
<option>
<name>RuntimeControl</name>
<state>1</state>
</option>
<option>
<name>IoEmulation</name>
<state>1</state>
</option>
<option>
<name>XcRTLibraryFile</name>
<state>1</state>
</option>
<option>
<name>AllowExtraOutput</name>
<state>1</state>
</option>
<option>
<name>GenerateExtraOutput</name>
<state>1</state>
</option>
<option>
<name>XExtraOutOverride</name>
<state>0</state>
</option>
<option>
<name>ExtraOutputFile</name>
<state>RTOSDemo.sim</state>
</option>
<option>
<name>ExtraOutputFormat</name>
<version>11</version>
<state>60</state>
</option>
<option>
<name>ExtraFormatVariant</name>
<version>7</version>
<state>2</state>
</option>
<option>
<name>xcOverrideProgramEntryLabel</name>
<state>1</state>
</option>
<option>
<name>xcProgramEntryLabelSelect</name>
<state>0</state>
</option>
<option>
<name>ListOutputFormat</name>
<state>0</state>
</option>
<option>
<name>BufferedTermOutput</name>
<state>0</state>
</option>
<option>
<name>OverlaySystemMap</name>
<state>0</state>
</option>
<option>
<name>RawBinaryFile</name>
<state></state>
</option>
<option>
<name>RawBinarySymbol</name>
<state></state>
</option>
<option>
<name>RawBinarySegment</name>
<state></state>
</option>
<option>
<name>RawBinaryAlign</name>
<state></state>
</option>
<option>
<name>XLinkMisraHandler</name>
<state>0</state>
</option>
<option>
<name>CrcAlign</name>
<state>1</state>
</option>
<option>
<name>CrcInitialValue</name>
<state>0x0</state>
</option>
<option>
<name>DoCrc</name>
<state>0</state>
</option>
<option>
<name>IlinkBE8Slave</name>
<state>1</state>
</option>
<option>
<name>IlinkBufferedTerminalOutput</name>
<state>1</state>
</option>
</data>
</settings>
<settings>
<name>XAR</name>
<archiveVersion>2</archiveVersion>
<name>IARCHIVE</name>
<archiveVersion>0</archiveVersion>
<data>
<version>0</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
<name>XARInputs</name>
<name>IarchiveInputs</name>
<state></state>
</option>
<option>
<name>XAROverride</name>
<name>IarchiveOverride</name>
<state>0</state>
</option>
<option>
<name>XAROutput</name>
<name>IarchiveOutput</name>
<state>###Unitialized###</state>
</option>
</data>
@ -868,12 +812,6 @@
<name>$PROJ_DIR$\..\..\Source\tasks.c</name>
</file>
</group>
<group>
<name>Libraries</name>
<file>
<name>$PROJ_DIR$\hw_include\driverlib.r79</name>
</file>
</group>
<group>
<name>Luminary Code</name>
<file>

View file

@ -19,13 +19,13 @@
A special exception to the GPL can be applied should you wish to distribute
a combined work that includes FreeRTOS.org, without being obliged to provide
the source code for any proprietary components. See the licensing section
the source code for any proprietary components. See the licensing section
of http://www.FreeRTOS.org for full details of how and when the exception
can be applied.
***************************************************************************
See http://www.FreeRTOS.org for documentation, latest information, license
and contact details. Please ensure to read the configuration and relevant
See http://www.FreeRTOS.org for documentation, latest information, license
and contact details. Please ensure to read the configuration and relevant
port sections of the online documentation.
Also see http://www.SafeRTOS.com a version that has been certified for use
@ -67,7 +67,7 @@ task. */
/* FIFO setting for the UART. The FIFO is not used to create a better test. */
#define commsFIFO_SET ( 0x10 )
/* The string that is transmitted on the UART contains sequentially the
/* The string that is transmitted on the UART contains sequentially the
characters from commsFIRST_TX_CHAR to commsLAST_TX_CHAR. */
#define commsFIRST_TX_CHAR '0'
#define commsLAST_TX_CHAR 'z'
@ -114,7 +114,7 @@ void vSerialInit( void )
GPIODirModeSet( GPIO_PORTA_BASE, GPIO_PIN_0 | GPIO_PIN_1, GPIO_DIR_MODE_HW );
/* Configure the UART for 8-N-1 operation. */
UARTConfigSet( UART0_BASE, commsBAUD_RATE, UART_CONFIG_WLEN_8 | UART_CONFIG_PAR_NONE | UART_CONFIG_STOP_ONE );
UARTConfigSetExpClk( UART0_BASE, SysCtlClockGet(), commsBAUD_RATE, UART_CONFIG_WLEN_8 | UART_CONFIG_PAR_NONE | UART_CONFIG_STOP_ONE );
/* We dont want to use the fifo. This is for test purposes to generate
as many interrupts as possible. */
@ -122,6 +122,7 @@ void vSerialInit( void )
/* Enable both Rx and Tx interrupts. */
HWREG( UART0_BASE + UART_O_IM ) |= ( UART_INT_TX | UART_INT_RX );
IntPrioritySet( INT_UART0, configKERNEL_INTERRUPT_PRIORITY );
IntEnable( INT_UART0 );
}
/*-----------------------------------------------------------*/
@ -209,7 +210,7 @@ portBASE_TYPE xTaskWokenByPost = pdFALSE;
if( ( HWREG(UART0_BASE + UART_O_FR ) & UART_FR_RXFF ) )
{
/* Get the char from the buffer and post it onto the queue of
Rxed chars. Posting the character should wake the task that is
Rxed chars. Posting the character should wake the task that is
blocked on the queue waiting for characters. */
cRxedChar = ( portCHAR ) HWREG( UART0_BASE + UART_O_DR );
xTaskWokenByPost = xQueueSendFromISR( xCommsQueue, &cRxedChar, xTaskWokenByPost );
@ -234,7 +235,7 @@ portBASE_TYPE xTaskWokenByPost = pdFALSE;
{
/* If a task was woken by the character being received then we force
a context switch to occur in case the task is of higher priority than
the currently executing task (i.e. the task that this interrupt
the currently executing task (i.e. the task that this interrupt
interrupted.) */
portEND_SWITCHING_ISR( xTaskWokenByPost );
}
@ -274,8 +275,8 @@ static portCHAR cRxedChar, cExpectedChar;
{
if( cExpectedChar == commsLAST_TX_CHAR )
{
/* We have reached the end of the string - we now expect to
receive the first character in the string again. The LED is
/* We have reached the end of the string - we now expect to
receive the first character in the string again. The LED is
toggled to indicate that the entire string was received without
error. */
vParTestToggleLED( commsRX_LED );

View file

@ -78,7 +78,8 @@ PDCInit(void)
//
// Configure the SSI port.
//
SSIConfig(SSI_BASE, SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 1000000, 8);
SSIConfigSetExpClk(SSI_BASE, SysCtlClockGet(), SSI_FRF_MOTO_MODE_0,
SSI_MODE_MASTER, 1000000, 8);
SSIEnable(SSI_BASE);
//

View file

@ -80,6 +80,10 @@ extern void SSIIntEnable(unsigned long ulBase, unsigned long ulIntFlags);
extern void SSIIntRegister(unsigned long ulBase, void(*pfnHandler)(void));
extern unsigned long SSIIntStatus(unsigned long ulBase, tBoolean bMasked);
extern void SSIIntUnregister(unsigned long ulBase);
extern void SSIConfigSetExpClk(unsigned long ulBase, unsigned long ulSSIClk,
unsigned long ulProtocol, unsigned long ulMode,
unsigned long ulBitRate,
unsigned long ulDataWidth);
#ifdef __cplusplus
}

View file

@ -37,7 +37,6 @@
// Forward declaration of the default fault handlers.
//
//*****************************************************************************
void ResetISR(void);
static void NmiSR(void);
static void FaultISR(void);
static void IntDefaultHandler(void);
@ -56,7 +55,7 @@ extern void vUART_ISR( void );
// The entry point for the application.
//
//*****************************************************************************
extern void main(void);
extern void __iar_program_start(void);
//*****************************************************************************
//
@ -66,57 +65,7 @@ extern void main(void);
#ifndef STACK_SIZE
#define STACK_SIZE 50
#endif
static unsigned long pulStack[STACK_SIZE] = {
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb,
0xbbbbbbbb };
static unsigned long pulStack[STACK_SIZE] @ ".noinit";
//*****************************************************************************
//
// A union that describes the entries of the vector table. The union is needed
@ -138,11 +87,11 @@ uVectorEntry;
// 0x0000.0000.
//
//*****************************************************************************
__root const uVectorEntry g_pfnVectors[] @ "INTVEC" =
__root const uVectorEntry __vector_table[] @ ".intvec" =
{
{ .ulPtr = (unsigned long)pulStack + sizeof(pulStack) },
// The initial stack pointer
ResetISR, // The reset handler
__iar_program_start, // The reset handler
NmiSR, // The NMI handler
FaultISR, // The hard fault handler
IntDefaultHandler, // The MPU fault handler
@ -189,58 +138,6 @@ __root const uVectorEntry g_pfnVectors[] @ "INTVEC" =
IntDefaultHandler // FLASH Control
};
//*****************************************************************************
//
// The following are constructs created by the linker, indicating where the
// the "data" and "bss" segments reside in memory. The initializers for the
// for the "data" segment resides immediately following the "text" segment.
//
//*****************************************************************************
#pragma segment="DATA_ID"
#pragma segment="DATA_I"
#pragma segment="DATA_Z"
//*****************************************************************************
//
// This is the code that gets called when the processor first starts execution
// following a reset event. Only the absolutely necessary set is performed,
// after which the application supplied entry() routine is called. Any fancy
// actions (such as making decisions based on the reset cause register, and
// resetting the bits in that register) are left solely in the hands of the
// application.
//
//*****************************************************************************
void
ResetISR(void)
{
unsigned long *pulSrc, *pulDest, *pulEnd;
//
// Copy the data segment initializers from flash to SRAM.
//
pulSrc = __segment_begin("DATA_ID");
pulDest = __segment_begin("DATA_I");
pulEnd = __segment_end("DATA_I");
while(pulDest < pulEnd)
{
*pulDest++ = *pulSrc++;
}
//
// Zero fill the bss segment.
//
pulDest = __segment_begin("DATA_Z");
pulEnd = __segment_end("DATA_Z");
while(pulDest < pulEnd)
{
*pulDest++ = 0;
}
//
// Call the application's entry point.
//
main();
}
//*****************************************************************************
//

View file

@ -94,6 +94,8 @@ extern void UARTIntEnable(unsigned long ulBase, unsigned long ulIntFlags);
extern void UARTIntDisable(unsigned long ulBase, unsigned long ulIntFlags);
extern unsigned long UARTIntStatus(unsigned long ulBase, tBoolean bMasked);
extern void UARTIntClear(unsigned long ulBase, unsigned long ulIntFlags);
extern void UARTConfigSetExpClk(unsigned long ulBase, unsigned long ulUARTClk,
unsigned long ulBaud, unsigned long ulConfig);
#ifdef __cplusplus
}

View file

@ -22,7 +22,7 @@
<MixedMode>1</MixedMode><CodeCovEnabled>0</CodeCovEnabled><CodeCovShow>0</CodeCovShow></Disassembly>
<CodeCovEnabled>0</CodeCovEnabled><MixedMode>1</MixedMode><CodeCovShow>0</CodeCovShow></Disassembly>
<Build>
<ColumnWidth0>20</ColumnWidth0>
<ColumnWidth1>1004</ColumnWidth1>
@ -33,7 +33,7 @@
<Windows>
<Wnd2>
<Wnd0>
<Tabs>
<Tab>
<Identity>TabID-30594-29847</Identity>
@ -41,24 +41,24 @@
<Factory>Workspace</Factory>
<Session>
<NodeDict><ExpandedNode>RTOSDemo</ExpandedNode><ExpandedNode>RTOSDemo/FreeRTOS Source</ExpandedNode><ExpandedNode>RTOSDemo/FreeRTOS Source/croutine.c</ExpandedNode></NodeDict></Session>
<NodeDict><ExpandedNode>RTOSDemo</ExpandedNode><ExpandedNode>RTOSDemo/Demo Source</ExpandedNode></NodeDict></Session>
</Tab>
</Tabs>
<SelectedTab>0</SelectedTab></Wnd2><Wnd3><Tabs><Tab><Identity>TabID-30273-20034</Identity><TabName>Debug Log</TabName><Factory>Debug-Log</Factory><Session/></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd3></Windows>
<SelectedTab>0</SelectedTab></Wnd0><Wnd1><Tabs><Tab><Identity>TabID-30273-20034</Identity><TabName>Debug Log</TabName><Factory>Debug-Log</Factory><Session/></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd1></Windows>
<Editor>
<Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\CORTEX_LM3S316_IAR\main.c</Filename><XPos>0</XPos><YPos>182</YPos><SelStart>7817</SelStart><SelEnd>7817</SelEnd></Tab><ActiveTab>0</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\CORTEX_LM3S316_IAR\FreeRTOSConfig.h</Filename><XPos>0</XPos><YPos>21</YPos><SelStart>1991</SelStart><SelEnd>1991</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\CORTEX_LM3S316_IAR\hw_include\startup.c</Filename><XPos>0</XPos><YPos>254</YPos><SelStart>9644</SelStart><SelEnd>9644</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Source\tasks.c</Filename><XPos>0</XPos><YPos>733</YPos><SelStart>26424</SelStart><SelEnd>26424</SelEnd></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
<Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\CORTEX_LM3S316_IAR\main.c</Filename><XPos>0</XPos><YPos>189</YPos><SelStart>7972</SelStart><SelEnd>7972</SelEnd></Tab><ActiveTab>0</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Source\portable\IAR\ARM_CM3\port.c</Filename><XPos>0</XPos><YPos>153</YPos><SelStart>5936</SelStart><SelEnd>5936</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\Devtools\IAR Systems\Embedded Workbench 5.0\ARM\examples\Luminary\Stellaris\src\adc.c</Filename><XPos>0</XPos><YPos>670</YPos><SelStart>23790</SelStart><SelEnd>23790</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Source\croutine.c</Filename><XPos>0</XPos><YPos>280</YPos><SelStart>11509</SelStart><SelEnd>11509</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\CORTEX_LM3S316_IAR\FreeRTOSConfig.h</Filename><XPos>0</XPos><YPos>39</YPos><SelStart>2397</SelStart><SelEnd>2397</SelEnd></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
<Positions>
<Top><Row0><Sizes><Toolbar-00a0baa0><key>iaridepm1</key></Toolbar-00a0baa0><Toolbar-023fb418><key>debuggergui1</key></Toolbar-023fb418></Sizes></Row0></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>728</Bottom><Right>348</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>200</yscreen><sizeHorzCX>142857</sizeHorzCX><sizeHorzCY>205761</sizeHorzCY><sizeVertCX>250000</sizeVertCX><sizeVertCY>751029</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>198</Bottom><Right>1402</Right><x>-2</x><y>-2</y><xscreen>1404</xscreen><yscreen>200</yscreen><sizeHorzCX>1002857</sizeHorzCX><sizeHorzCY>205761</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>205761</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>
<Top><Row0><Sizes><Toolbar-012843f8><key>iaridepm.enu1</key></Toolbar-012843f8><Toolbar-0737acd0><key>debuggergui.enu1</key></Toolbar-0737acd0></Sizes></Row0></Top><Left><Row0><Sizes><Wnd0><Rect><Top>-2</Top><Left>-2</Left><Bottom>738</Bottom><Right>348</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>202</yscreen><sizeHorzCX>142857</sizeHorzCX><sizeHorzCY>205703</sizeHorzCY><sizeVertCX>250000</sizeVertCX><sizeVertCY>753564</sizeVertCY></Rect></Wnd0></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd1><Rect><Top>-2</Top><Left>-2</Left><Bottom>200</Bottom><Right>1402</Right><x>-2</x><y>-2</y><xscreen>1404</xscreen><yscreen>202</yscreen><sizeHorzCX>1002857</sizeHorzCX><sizeHorzCY>205703</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>205703</sizeVertCY></Rect></Wnd1></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>
</Desktop>
</Project>

View file

@ -15,6 +15,8 @@ UseTrigger=1
TriggerName=main
LimitSize=0
ByteLimit=50
[CodeCoverage]
Enabled=_ 0
[Log file]
LoggingEnabled=_ 0
LogFile=_ ""
@ -25,8 +27,7 @@ LogFile=_ ""
[Disassemble mode]
mode=1
[Breakpoints]
Bp0=_ "Log" "Memory8:0x20000850" 0 0 0 0 "" 0 "" 0
Count=1
Count=0
[TraceHelper]
Enabled=0
ShowSource=1

View file

@ -22,7 +22,7 @@
<PreferedWindows><Position>3</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows/></PreferedWindows><ColumnWidth0>20</ColumnWidth0><ColumnWidth1>1004</ColumnWidth1><ColumnWidth2>267</ColumnWidth2><ColumnWidth3>66</ColumnWidth3></Build>
<TerminalIO/>
<Profiling/>
<Debug-Log/></Static>
<Debug-Log/><Find-in-Files><ColumnWidth0>482</ColumnWidth0><ColumnWidth1>68</ColumnWidth1><ColumnWidth2>826</ColumnWidth2></Find-in-Files></Static>
<Windows>
@ -34,24 +34,24 @@
<Factory>Workspace</Factory>
<Session>
<NodeDict><ExpandedNode>RTOSDemo</ExpandedNode><ExpandedNode>RTOSDemo/Demo Source</ExpandedNode></NodeDict></Session>
<NodeDict><ExpandedNode>RTOSDemo</ExpandedNode><ExpandedNode>RTOSDemo/Libraries</ExpandedNode></NodeDict></Session>
</Tab>
</Tabs>
<SelectedTab>0</SelectedTab></Wnd2><Wnd3><Tabs><Tab><Identity>TabID-24894-24921</Identity><TabName>Build</TabName><Factory>Build</Factory><Session/></Tab><Tab><Identity>TabID-10790-31422</Identity><TabName>Debug Log</TabName><Factory>Debug-Log</Factory><Session/></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd3></Windows>
<SelectedTab>0</SelectedTab></Wnd2><Wnd3><Tabs><Tab><Identity>TabID-24894-24921</Identity><TabName>Build</TabName><Factory>Build</Factory><Session/></Tab><Tab><Identity>TabID-10790-31422</Identity><TabName>Debug Log</TabName><Factory>Debug-Log</Factory><Session/></Tab><Tab><Identity>TabID-27705-5723</Identity><TabName>Find in Files</TabName><Factory>Find-in-Files</Factory><Session/></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd3></Windows>
<Editor>
<Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\CORTEX_LM3S316_IAR\main.c</Filename><XPos>0</XPos><YPos>182</YPos><SelStart>7817</SelStart><SelEnd>7817</SelEnd></Tab><ActiveTab>0</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\CORTEX_LM3S316_IAR\FreeRTOSConfig.h</Filename><XPos>0</XPos><YPos>21</YPos><SelStart>1991</SelStart><SelEnd>1991</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\CORTEX_LM3S316_IAR\hw_include\startup.c</Filename><XPos>0</XPos><YPos>254</YPos><SelStart>9644</SelStart><SelEnd>9644</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Source\tasks.c</Filename><XPos>0</XPos><YPos>733</YPos><SelStart>26424</SelStart><SelEnd>26424</SelEnd></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
<Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\Demo\CORTEX_LM3S316_IAR\main.c</Filename><XPos>0</XPos><YPos>189</YPos><SelStart>7972</SelStart><SelEnd>7972</SelEnd></Tab><ActiveTab>0</ActiveTab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
<Positions>
<Top><Row0><Sizes><Toolbar-00a0baa0><key>iaridepm1</key></Toolbar-00a0baa0></Sizes></Row0><Row1><Sizes/></Row1></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>728</Bottom><Right>260</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>200</yscreen><sizeHorzCX>142857</sizeHorzCX><sizeHorzCY>205761</sizeHorzCY><sizeVertCX>187143</sizeVertCX><sizeVertCY>751029</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>198</Bottom><Right>1402</Right><x>-2</x><y>-2</y><xscreen>1404</xscreen><yscreen>200</yscreen><sizeHorzCX>1002857</sizeHorzCX><sizeHorzCY>205761</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>205761</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>
<Top><Row0><Sizes><Toolbar-012843f8><key>iaridepm.enu1</key></Toolbar-012843f8></Sizes></Row0><Row1><Sizes/></Row1></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>738</Bottom><Right>260</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>202</yscreen><sizeHorzCX>142857</sizeHorzCX><sizeHorzCY>205703</sizeHorzCY><sizeVertCX>187143</sizeVertCX><sizeVertCY>753564</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>200</Bottom><Right>1402</Right><x>-2</x><y>-2</y><xscreen>1404</xscreen><yscreen>202</yscreen><sizeHorzCX>1002857</sizeHorzCX><sizeHorzCY>205703</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>205703</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>
</Desktop>
</Workspace>