added #define __FPU_PRESENT to tm4c_cmsis.h for lessons 12-16
MMS 5 years ago
parent 997ab4a022
commit 9262793a9a

@ -341,6 +341,8 @@ void PWM1Fault_IRQHandler(void);
#define __MPU_PRESENT 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 3 /*!< Number of Bits used for Prio Levels*/
#define __Vendor_SysTickConfig 0 /*!< 1 if different SysTick config used */
#define __FPU_PRESENT 1 /*!< FPU present or not */
#define TARGET_IS_BLIZZARD_RA1 1 /*!< Class of device (for TI library) */
#include "core_cm4.h" /* Cortex-M4 processor and core periphs */

@ -341,6 +341,8 @@ void PWM1Fault_IRQHandler(void);
#define __MPU_PRESENT 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 3 /*!< Number of Bits used for Prio Levels*/
#define __Vendor_SysTickConfig 0 /*!< 1 if different SysTick config used */
#define __FPU_PRESENT 1 /*!< FPU present or not */
#define TARGET_IS_BLIZZARD_RA1 1 /*!< Class of device (for TI library) */
#include "core_cm4.h" /* Cortex-M4 processor and core periphs */

@ -341,6 +341,8 @@ void PWM1Fault_IRQHandler(void);
#define __MPU_PRESENT 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 3 /*!< Number of Bits used for Prio Levels*/
#define __Vendor_SysTickConfig 0 /*!< 1 if different SysTick config used */
#define __FPU_PRESENT 1 /*!< FPU present or not */
#define TARGET_IS_BLIZZARD_RA1 1 /*!< Class of device (for TI library) */
#include "core_cm4.h" /* Cortex-M4 processor and core periphs */

@ -341,6 +341,8 @@ void PWM1Fault_IRQHandler(void);
#define __MPU_PRESENT 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 3 /*!< Number of Bits used for Prio Levels*/
#define __Vendor_SysTickConfig 0 /*!< 1 if different SysTick config used */
#define __FPU_PRESENT 1 /*!< FPU present or not */
#define TARGET_IS_BLIZZARD_RA1 1 /*!< Class of device (for TI library) */
#include "core_cm4.h" /* Cortex-M4 processor and core periphs */

@ -341,6 +341,8 @@ void PWM1Fault_IRQHandler(void);
#define __MPU_PRESENT 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 3 /*!< Number of Bits used for Prio Levels*/
#define __Vendor_SysTickConfig 0 /*!< 1 if different SysTick config used */
#define __FPU_PRESENT 1 /*!< FPU present or not */
#define TARGET_IS_BLIZZARD_RA1 1 /*!< Class of device (for TI library) */
#include "core_cm4.h" /* Cortex-M4 processor and core periphs */

@ -0,0 +1,18 @@
@echo off
:: ==========================================================================
:: Product: QP/C script for running MSquared Resource Standard Metrics (RSM)
::
:: Contact information:
:: https://state-machine.com
:: mailto:info@state-machine.com
:: ==========================================================================
setlocal
set RCMHOME="C:\tools\MSquared\M2 RSM"
set RSM_OUTPUT=rsm_metrics.txt
set RSM_INPUT=*.h *.c
%RCMHOME%\rsm.exe -fd -n -xNOCOMMAND -xNOCONFIG -u"File cfg rsm_qpc.cfg" %RSM_INPUT% > %RSM_OUTPUT%
endlocal

File diff suppressed because it is too large Load Diff

@ -0,0 +1,606 @@
# ==========================================================================
# Configuration file for MSquared Resource Standard Metrics (RSM)
# ==========================================================================
####################################################################
# RSM Operational Configuration ####################################
# Company Specific Header
# This line will appear at the top of all reports
# Typical uses include copyrights, security and project markings
# You must specify both a text version for text and csv reports
# and an HTML version.
Report Header Active : No
Report Header Text Line : Standard Metrics Report
Report Header HTML Line : <font color="RED" size="+2"><B><I>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Standard Metrics Report</I></B></font>
# Enable user defined configuration files.
# The file rsm.cfg is read from the location of the rsm.lic file.
# This file can enable this option to allow users to override the
# operational configuration of RSM. This option is enabled by the
# end user with the -u "File cfg path\file" option
Enable user defined configuration files : Yes
# Windows 9x and DOS are case insensitive file systems.
# Files like foo.c and foo.C are seen as C source files.
# If *.C files are C++ files under these operating systems
# or you are operating on NT or UNIX set this option to
# case sensitivity equal to Yes.
Source file names are case sensitive : No
# Show a progress indicator when processing files and
# code differentials.
Show progress indicator : Yes
Detailed Progress Showing File Names : Yes
# Number of files which comprise a status marker when
# status is indicated during lengthy operations.
Progress status interval number of files: 10
# Show file dates when displaying file metrics.
Show file date and size : No
# RSM will process only files with the following extensions.
# The user may add to this list, but RSM is designed to process
# only the C, C++, C# and Java languages.
Validate file extensions for processing : Yes
# Specify the extensions for each type of supported language.
# Files extensions are separated by commas and are case sensitive
# if case sensitivity is specified in this file (comma separated,no spaces).
C File Extensions : c
C Header File Extensions : h
C++ File Extensions : cc,cpp,cxx,h,hh,H,hxx
C++ Header File Extensions : h,hh,H,hxx
C# File Extensions : cs
Java File Extensions : java
# Other files are not officially supported by RSM
# but lines will be counted as LOC
Other File Extensions :
# When analyzing *.h files, treat header files as
# both C and C++. If you use separate extensions for C++ and
# C header files, then set this option to No.
Treat C headers as C++ : Yes
# RSM will not process files when the path/file name contains
# a pattern in the pattern list (comma separated,no spaces).
Pattern Filter Active : No
Pattern Filter : .designer.c
# RSM Code skip strings allow the RSM parser to skip
# processing of all code between the start and stop
# tokens. This is useful for machine generated code.
# Code tokens are unique in the could base and if
# found on a code line the rsm processing will be effected.
# Start and stop tokens must match within a file and
# cannot span files. A token cannot contain spaces and
# must be alphnumeric and can contain the underscore.
# Quality skip tokens turn off just quality notice checking.
# i.e. // RSM_IGNORE_BEGIN
# some code ....
# // RSM_IGNORE_END
RSM Code Skip Start Token : RSM_IGNORE_BEGIN
RSM Code Skip End Token : RSM_IGNORE_END
RSM Code Quality Skip Start Token : RSM_IGNORE_QUALITY_BEGIN
RSM Code Quality Skip End Token : RSM_IGNORE_QUALITY_END
Activate RSM code skip tokens : Yes
# RSM will not process files in local directories when this
# flag is set. This will prevent recursive descent into
# these directories (comma separated,no spaces).
Do not process these local directories : No
Local directory names not processed : test,sccs,cvs,rcs,svn
# Names in reports include file, namespace or package, class
# and function names. These names can get quite long and will
# extend beyond the report right margin. This setting will
# wrap the name to the report right margin.
Wrap long names in reports : Yes
####################################################################
# RSM Configuration for Baseline Metrics Differentials #############
# The following path location specifies where work files
# are to be created. The path must be a location with write
# permissions. RSM will create work files in the current
# directory if no path is specified.
Work file location path :
# When processing code line differentials, ignore
# blank line changes in the code.
Ignore code differential blank lines : Yes
# When processing code line differentials, ignore
# blanks and tab changes in the code.
Ignore code differential white space : Yes
# Maximum number of lines in a file when using Longest Common Sequence
# differential algorithm. This value establishes the line to line
# comparison matrix size. This value has been set to the maximum allowed
# under 32 bit operating systems. It is not advised to make this value >
# than 10000. If you have a machine with very low physical memory you may
# want to use a value of 6000 to 7000 where 10000 should be a maximum.
# When file lengths exceed the matrix limits, the file is segmented to fit
# the matrix size.
Maximum LCS file size, number of lines : 10000
# Code differential metrics determine lines that are
# different in the current baseline compared to the
# older baseline. This metric can include
# lines that are removed from the current baseline.
Add removed older lines as modified : No
# When showing differential details for each file
# using the switch -ws
Show equal lines : Yes
Show lines removed from older file : Yes
Show lines added (mod) to newer file : Yes
# The following parameter, when set to Yes will cause
# the files stored into work files to be relative to the
# location specified by the -w"create top_dir", baseline
# top directory.
Relative Work Files : Yes
# User defined productivity values for determining works
# rates for baseline metric differentials.
Work Seconds per Hour : 3600
Work Hours per Shift : 8
Work Shifts per Day : 1
Work Days per Week : 5
Work Hours per Man Day : 8
Work Hours per Man Week : 40
Work Hours per Man Month : 160
Work Hours per Man Year : 1960
#####################################################################
# Function point conversion factors for LOC metrics
#
Header File Function Points per LOC : 0
Header File Function Points per eLOC : 0
Header File Function Points per lLOC : 0
C File Function Points per LOC : 128
C File Function Points per eLOC : 128
C File Function Points per lLOC : 128
C++ File Function Points per LOC : 53
C++ File Function Points per eLOC : 53
C++ File Function Points per lLOC : 53
Java File Function Points per LOC : 53
Java File Function Points per eLOC : 53
Java File Function Points per lLOC : 53
C# File Function Points per LOC : 53
C# File Function Points per eLOC : 53
C# File Function Points per lLOC : 53
Other File Function Points per LOC : 0
Other File Function Points per eLOC : 0
Other File Function Points per lLOC : 0
####################################################################
# RSM Configuration for cyclomatic complexity ######################
#
# McCabe Cyclomatic Complexity includes the following constructs in
# the calculation.
# function call + if + inline if + while + for + foreach
# case + goto + logical or + Logical and
#
# You may tailor the cyclomatic complexity calculation to meet your
# specific requirements.
Include 'function call' in cyclomatic complexity: Yes
Include 'while' in cyclomatic complexity : Yes
Include 'for' in cyclomatic complexity : Yes
Include 'switch' in cyclomatic complexity : No
Include 'case' in cyclomatic complexity : Yes
Include 'if' in cyclomatic complexity : Yes
Include 'else' in cyclomatic complexity : No
Include '?' inlined if in cyclomatic complexity : Yes
Include 'goto' in cyclomatic complexity : Yes
Include '||' or 'or' in cyclomatic complexity : Yes
Include '&&' or 'and' in cyclomatic complexity : Yes
####################################################################
# RSM Quality Notices Configuration ################################
# User Defined Quality Notices UDQN
# Specify the file name which contains the UDQN definitions
# See this provided example for a tutorial on UDQN.
RSM user defined quality notice file : rsm_udqn.cfg
# Re-order the quality notice format so that if a line number
# is emitted, the line number precedes the notice number. This
# option enables code editors to parse the notice line.
Reorder notice, line in quality notices : No
# RSM Quality Notices For Code Style ###################################
# Quality Notice No. 1
# Emit a quality notice when the physical line length
# is greater than the specified number of characters.
Quality Notice 1 : Yes
Maximum Line Length : 80
# Quality Notice No. 2
# Emit a quality notice when the function name length
# is greater than the specified number of characters.
Quality Notice 2 : Yes
Maximum Function Name Length : 32
# Quality Notice No. 21
# Emit a quality notice when a file does not contain
# the specified key string.
Quality Notice 21 : No
RSM KEY String :
# RSM Quality Notices For Stability and Maintainability ################
# Quality Notice No. 3
# Emit a quality notice when ellipsis '...' are identified
# within a functions parameter list thus enabling variable
# arguments.
Quality Notice 3 : Yes
# Quality Notice No. 4
# Emit a quality notice if there exists an assignment
# operator '=' within a logical 'if' condition.
Quality Notice 4 : Yes
# Quality Notice No. 5
# Emit a quality notice if there exists an assignment
# operator '=' within a logical 'while' condition.
Quality Notice 5 : Yes
# Quality Notice No. 6
# Emit a quality notice when a pre-decrement operator '--'
# is identified within the code.
Quality Notice 6 : No
# Quality Notice No. 7
# Emit a quality notice when a pre-increment operator '++'
# is identified within the code.
Quality Notice 7 : No
# Quality Notice No. 8
# Emit a quality notice when the 'realloc' function
# is identified within the code.
Quality Notice 8 : Yes
# Quality Notice No. 9
# Emit a quality notice when the 'goto' function
# is identified within the code.
Quality Notice 9 : Yes
# Quality Notice No. 10
# Emit a quality notice when the Non-ANSI function
# prototype is identified within the code.
Quality Notice 10 : Yes
# Quality Notice No. 11
# Emit a quality notice when open and closed brackets
# '[ ]' are not balance within a file.
Quality Notice 11 : Yes
# Quality Notice No. 12
# Emit a quality notice when open and closed parenthesis
# '()' are not balance within a file.
Quality Notice 12 : Yes
# Quality Notice No. 13
# Emit a quality notice when a 'switch' statement does
# not have a 'default' condition.
Quality Notice 13 : Yes
# Quality Notice No. 14
# Emit a quality notice when there are more 'case' conditions
# than 'break' statements or 'fall through' comments.
Use default in case/break comparison : Yes
Quality Notice 14 : Yes
# Quality Notice No. 15
# Emit a quality notice when a friend class
# is identified within the code.
Quality Notice 15 : Yes
# Quality Notice No. 22
# Emit a quality notice when each if, else, for
# or while is not bound by scope.
Quality Notice 22 : Yes
# Quality Notice No. 23
# Emit a quality notice when the '?' or the implied
# if-then-else construct has been identified.
Quality Notice 23 : Yes
# Quality Notice No. 24
# Emit a quality notice when an ANSI C++ keyword
# is identified within a *.c or a *.h file.
Quality Notice 24 : Yes
# Quality Notice No. 26
# Emit a quality notice when a void * is identified
# within a source file.
Quality Notice 26 : No
# Quality Notice No. 27
# Emit a quality notice when the number of function
# return points is greater than the specified maximum.
Quality Notice 27 : Yes
Maximum functional return points : 1
Count goto as a function return point : Yes
# Quality Notice No. 28
# Emit a quality notice when the cyclomatic complexity
# of a function exceeds the specified maximum.
Quality Notice 28 : Yes
Maximum functional cyclomatic complexity: 10
# Quality Notice No. 29
# Emit a quality notice when the number of function
# input parameters exceeds the specified maximum.
Quality Notice 29 : Yes
Maximum functional interface complexity : 6
# Quality Notice No. 49
# Emit a quality notice when function parameters
# are blank or not specified, thus requiring void.
Quality Notice 49 : Yes
# Quality Notice No. 30
# Emit a quality notice when a TAB character is identified
# within the source code. Indentation with TAB will create
# editor and device dependent formatting.
Quality Notice 30 : Yes
# Quality Notice No. 32
# Emit a quality notice when 'using namespace'
# has been identified in a C++ source file.
Quality Notice 32 : Yes
# Quality Notice No. 33
# Emit a quality notice when a class/struct definition
# is identified within a function definition.
Quality Notice 33 : Yes
# Quality Notice No. 34
# Emit a quality notice when a class definition
# contains a pointer to a data item.
Quality Notice 34 : Yes
# Quality Notice No. 35
# Emit a quality notice when a class definition
# contains public data.
Quality Notice 35 : Yes
# Reference Quality Notice No. 35
# Ignore public data for specific types of data
Ignore public event data : Yes
Ignore public const data : Yes
Ignore public delegate data : Yes
# Quality Notice No. 36
# Emit a quality notice when a class definition
# contains protected data.
Quality Notice 36 : Yes
# Quality Notice No. 37
# Emit a quality notice when a base class, with virtual
# functions, does not contain a virtual destructor.
Quality Notice 37 : Yes
# Quality Notice No. 38
# Emit a quality notice when exception handling is
# present within a function.
Quality Notice 38 : Yes
# Quality Notice No. 39
# Emit a quality notice when the number of class/struct methods
# exceed the specified maximum (public, protected and private).
Quality Notice 39 : Yes
Maximum number of methods per class : 100
# Quality Notice No. 40
# Emit a quality notice when the depth of the inheritance
# tree exceeds the specified maximum value.
Quality Notice 40 : Yes
Maximum depth of inheritance tree : 4
# Quality Notice No. 41
# Emit a quality notice when the number of direct derived
# classes exceeds the specified maximum value.
Quality Notice 41 : Yes
Maximum number of derived child classes : 10
# Quality Notice No. 42
# Emit a quality notice when the multiple inheritance
# has been identified.
Quality Notice 42 : Yes
# Quality Notice No. 43
# Emit a quality notice when the keyword 'continue'
# has been identified.
Quality Notice 43 : Yes
# Quality Notice No. 44
# Emit a quality notice when the keyword 'break'
# has been identified outside a 'switch' logic
# control structure.
Quality Notice 44 : Yes
# Quality Notice No. 45
# Emit a quality notice when a file does not
# have equal counts of new and delete.
Quality Notice 45 : Yes
# Quality Notice No. 50
# Emit a quality notice when a variable is assigned
# to a literal number and not a symbolic constant.
Quality Notice 50 : No
Include zero (0) as literal assignment : No
# Quality Notice No. 55
# Emit a quality notice when the depth of scope
# exceeds the specified maximum value. This condition
# indicates complex logic and/or a maintenance concern.
Quality Notice 55 : Yes
Maximum depth of scope : 6
# Quality Notice No. 56
# Emit a quality notice when sequential breaks are
# identified without a respective case statement.
Quality Notice 56 : Yes
# RSM Quality Notices for Functional/Struct and Class Content ##########
# Minimum LOC for content analysis for blank lines
# comments, and white space.
Min. Function LOC for content analysis : 5
Min. Class/Struct LOC content analysis : 10
# Quality Notice No. 16
# Emit a quality notice when function, struct, class
# or interface white space percentage is less than
# the specified minimum.
Quality Notice 16 : Yes
Minimum Function Whitespace Percent : 10.00
# Quality Notice No. 17
# Emit a quality notice when function comment line
# percentage is less than the specified minimum.
Quality Notice 17 : No
Minimum Function Comment Line Percent : 10.00
# Quality Notice No. 18
# Emit a quality notice when the eLOC within a
# function exceeds the specified maximum.
Quality Notice 18 : Yes
Maximum Function eLOC : 200
# Quality Notice No. 48
# Emit a quality notice when the lLOC within a
# function does not meet the specified minimum.
# This notice serves to find nop functions.
Quality Notice 48 : Yes
Minimum Function lLOC : 0
# Quality Notice No. 31
# Emit a quality notice when class/struct comment line
# percentage is less than the specified minimum.
Quality Notice 31 : Yes
Minimum Class/Struct Comment Percent : 10.00
# Quality Notice No. 46
# Emit a quality notice when function, struct, class
# or interface blank line percentage is less than the
# specified minimum.
Quality Notice 46 : No
Minimum Function Blank Line Percent : 10.00
# Quality Notice No. 51
# Emit a quality notice when a function
# does not have a preceding comment.
Quality Notice 51 : Yes
# Quality Notice No. 52
# Emit a quality notice when a class
# does not have a preceding comment.
Quality Notice 52 : Yes
# Quality Notice No. 53
# Emit a quality notice when a struct
# does not have a preceding comment.
Quality Notice 53 : Yes
# Quality Notice No. 54
# Emit a quality notice when a interface
# does not have a preceding comment.
Quality Notice 54 : Yes
# RSM Quality Notices for File Content #
# Quality Notice No. 19
# Emit a quality notice when file white space
# percentage is less than the specified minimum.
# Consider setting Notice 30 to No.
Quality Notice 19 : Yes
Minimum File Whitespace Percent : 10.00
A TAB is equivalent to n space : 2
# Quality Notice No. 20
# Emit a quality notice when file comment line
# percentage is less than the specified minimum.
Quality Notice 20 : Yes
Minimum File Comment Line Percent : 10.00
# Quality Notice No. 47
# Emit a quality notice when file blank line
# percentage is less than the specified minimum.
Quality Notice 47 : No
Minimum File Blank Line Percent : 10.00
# Quality Notice No. 57
# Emit a quality notice when RSM skip lines conditions
# are met by a matching token.
Quality Notice 57 : No
# Quality Notice No. 58
# Emit a quality notice when RSM skip quality notice conditions
# are met by a matching token.
Quality Notice 58 : No
# RSM Quality Notices Miscellaneous ####################################
# Quality Notice No. 25
# Deprecated in Version 6.70
# See settings under language extensions.
####################################################################
# Code Listing Report Configuration ################################
# The following parameters setup source code printing.
# These values become the default settings.
Printed Line Length : 80
Printed Page Length : 55
Printed Left Margin : 5
Printed Top Margin : 1
Printed Page Header : RSM Code Listing
Page breaks in code print format : No
####################################################################
# HTML Report and Color Configuration ##############################
# The following parameters setup HTML report output. The hyperlinks
# for source code can be either absolute or relative.
Relative HTML Links : No
# The following color parameters modify the HTML report
# output. Colors can be specified as Hex or Name.
# Blank color parameters will result to the browser default.
HTML RSM Color : #0000FF
HTML Date Color : #0000FF
HTML Text Color : #000000
HTML VLink Color : #660099
HTML Link Color : #0000EE
HTML Background Color : #F8F8F8
HTML Error Color : #FF0000
HTML Line Color : #003399
HTML Old File Differential Color : #CC0033
HTML New File Differential Color : #336666
HTML File Name Color : #0000FF
HTML Function Color : #0000FF
HTML Function Parameter Color : #006600
HTML Template Color : #006699
HTML Macro Color : #33CCFF
HTML Class Color : #663300
HTML Inheritance Color : #FF3300
HTML Struct Color : #990000
HTML Notice Color : #CC0000
HTML Header Color : #993300
HTML New Code Differential Color : #3366CC
HTML Removed Code Differential Color : #FF0000
HTML Modified Code Differential Color : #993300
HTML Equal Code Differential Color : #00CC00
HTML Total Color : #993300
HTML Inheritance Depth Color : #333300
HTML Inheritance Child Color : #CC6600
####################################################################
# end of rsm.cfg

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,24 +0,0 @@
@REM This batch file has been generated by the IAR Embedded Workbench
@REM C-SPY Debugger, as an aid to preparing a command line for running
@REM the cspybat command line utility using the appropriate settings.
@REM
@REM Note that this file is generated every time a new debug session
@REM is initialized, so you may want to move or rename the file before
@REM making changes.
@REM
@REM You can launch cspybat by typing the name of this batch file followed
@REM by the name of the debug file (usually an ELF/DWARF or UBROF file).
@REM
@REM Read about available command line parameters in the C-SPY Debugging
@REM Guide. Hints about additional command line parameters that may be
@REM useful in specific cases:
@REM --download_only Downloads a code image without starting a debug
@REM session afterwards.
@REM --silent Omits the sign-on message.
@REM --timeout Limits the maximum allowed execution time.
@REM
"C:\tools\IAR\ARM_KS_7.10\common\bin\cspybat" "C:\tools\IAR\ARM_KS_7.10\arm\bin\armproc.dll" "C:\tools\IAR\ARM_KS_7.10\arm\bin\armsim2.dll" %1 --plugin "C:\tools\IAR\ARM_KS_7.10\arm\bin\armbat.dll" --backend -B "--endian=little" "--cpu=Cortex-M0" "--fpu=None" "--semihosting=none" "--multicore_nr_of_cores=1"

@ -1,24 +0,0 @@
@REM This batch file has been generated by the IAR Embedded Workbench
@REM C-SPY Debugger, as an aid to preparing a command line for running
@REM the cspybat command line utility using the appropriate settings.
@REM
@REM Note that this file is generated every time a new debug session
@REM is initialized, so you may want to move or rename the file before
@REM making changes.
@REM
@REM You can launch cspybat by typing the name of this batch file followed
@REM by the name of the debug file (usually an ELF/DWARF or UBROF file).
@REM
@REM Read about available command line parameters in the C-SPY Debugging
@REM Guide. Hints about additional command line parameters that may be
@REM useful in specific cases:
@REM --download_only Downloads a code image without starting a debug
@REM session afterwards.
@REM --silent Omits the sign-on message.
@REM --timeout Limits the maximum allowed execution time.
@REM
"C:\tools\IAR\ARM_KS_6.70\common\bin\cspybat" "C:\tools\IAR\ARM_KS_6.70\arm\bin\armproc.dll" "C:\tools\IAR\ARM_KS_6.70\arm\bin\armsim2.dll" %1 --plugin "C:\tools\IAR\ARM_KS_6.70\arm\bin\armbat.dll" --backend -B "--endian=little" "--cpu=Cortex-M4F" "--fpu=VFPv4" "-p" "C:\tools\IAR\ARM_KS_6.70\arm\CONFIG\debugger\TexasInstruments\TM4C123FH6PM.ddf" "--semihosting=none" "--device=TM4C123FH6PM"

@ -1,189 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<Project>
<Desktop>
<Static>
<Debug-Log>
<PreferedWindows>
<Position>3</Position>
<ScreenPosX>0</ScreenPosX>
<ScreenPosY>0</ScreenPosY>
<Windows>
<Window>
<Factory>Memory</Factory>
</Window>
</Windows>
</PreferedWindows>
<ColumnWidth0>20</ColumnWidth0><ColumnWidth1>1214</ColumnWidth1></Debug-Log>
<Build>
<ColumnWidth0>20</ColumnWidth0>
<ColumnWidth1>910</ColumnWidth1>
<ColumnWidth2>242</ColumnWidth2>
<ColumnWidth3>60</ColumnWidth3>
<PreferedWindows>
<Position>3</Position>
<ScreenPosX>0</ScreenPosX>
<ScreenPosY>0</ScreenPosY>
<Windows>
<Window>
<Factory>Debug-Log</Factory>
</Window>
<Window>
<Factory>Locals</Factory>
</Window>
</Windows>
</PreferedWindows>
</Build>
<Workspace>
<ColumnWidths>
<Column0>140</Column0><Column1>18</Column1><Column2>20</Column2><Column3>0</Column3></ColumnWidths>
<PreferedWindows><Position>1</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows/></PreferedWindows></Workspace>
<Disassembly>
<col-names>
<item>Disassembly</item><item>_I0</item></col-names>
<col-widths>
<item>625</item><item>20</item></col-widths>
<DisasmHistory><item>__CLZ</item><item>0x0</item><item>0x181</item><item>0x00</item></DisasmHistory>
<PreferedWindows>
<Position>2</Position>
<ScreenPosX>0</ScreenPosX>
<ScreenPosY>0</ScreenPosY>
<Windows/>
</PreferedWindows>
<ShowCodeCoverage>1</ShowCodeCoverage><ShowInstrProfiling>1</ShowInstrProfiling></Disassembly>
<Register>
<PreferedWindows>
<Position>2</Position>
<ScreenPosX>0</ScreenPosX>
<ScreenPosY>0</ScreenPosY>
<Windows/>
</PreferedWindows>
</Register>
<Locals>
<col-names>
<item>Location</item><item>Type</item><item>Value</item><item>Variable</item></col-names>
<col-widths>
<item>150</item><item>100</item><item>313</item><item>100</item></col-widths>
<PreferedWindows>
<Position>3</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>WATCH_1</Factory></Window></Windows></PreferedWindows>
</Locals>
<Memory>
<PreferedWindows>
<Position>3</Position>
<ScreenPosX>0</ScreenPosX>
<ScreenPosY>0</ScreenPosY>
<Windows>
<Window>
<Factory>Debug-Log</Factory>
</Window>
</Windows>
</PreferedWindows>
<FindDirection>1</FindDirection><FindAsHex>0</FindAsHex></Memory>
<WATCH_1><PreferedWindows><Position>3</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>Locals</Factory></Window></Windows></PreferedWindows><expressions><item>p1</item><item>w</item><item>t</item><item/></expressions><col-names><item>Expression</item><item>Location</item><item>Type</item><item>Value</item></col-names><col-widths><item>100</item><item>150</item><item>100</item><item>100</item></col-widths></WATCH_1><STACK_1><col-names><item>Data</item><item>Frame</item><item>Location</item><item>Type</item><item>Value</item><item>Variable</item></col-names><col-widths><item>100</item><item>100</item><item>100</item><item>100</item><item>100</item><item>100</item></col-widths><PreferedWindows><Position>1</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows/></PreferedWindows><stack>CSTACK</stack><width>4</width><vars>1</vars><offset>0</offset></STACK_1><CallStack><col-names><item>Frame</item><item>_I0</item></col-names><col-widths><item>400</item><item>20</item></col-widths><PreferedWindows><Position>3</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>Memory</Factory></Window></Windows></PreferedWindows></CallStack></Static>
<Windows>
<Wnd1>
<Tabs>
<Tab>
<Identity>TabID-24810-31557</Identity>
<TabName>Debug Log</TabName>
<Factory>Debug-Log</Factory>
<Session/>
</Tab>
<Tab><Identity>TabID-6677-6678</Identity><TabName>Watch 1</TabName><Factory>WATCH_1</Factory></Tab></Tabs>
<SelectedTab>0</SelectedTab></Wnd1><Wnd2>
<Tabs>
<Tab>
<Identity>TabID-17847-32302</Identity>
<TabName>Disassembly</TabName>
<Factory>Disassembly</Factory>
<Session/>
</Tab>
</Tabs>
<SelectedTab>0</SelectedTab></Wnd2><Wnd3>
<Tabs>
<Tab>
<Identity>TabID-5530-32328</Identity>
<TabName>Register</TabName>
<Factory>Register</Factory>
<Session>
<State0>APSR</State0><REG1>0</REG1><REG2>0</REG2><Group>1</Group><States>0</States></Session>
</Tab>
</Tabs>
<SelectedTab>0</SelectedTab></Wnd3><Wnd4>
<Tabs>
<Tab>
<Identity>TabID-28072-32315</Identity>
<TabName>Memory</TabName>
<Factory>Memory</Factory>
<Session>
<ZoneNumber>0</ZoneNumber><SelectionAnchor>0</SelectionAnchor><SelectionEnd>0</SelectionEnd><UnitsPerGroup>4</UnitsPerGroup><EndianMode>0</EndianMode><DataCovEnabled>0</DataCovEnabled><DataCovShown>0</DataCovShown><AutoRefresh>0</AutoRefresh><HScroll>0</HScroll><VScroll>0</VScroll></Session>
</Tab>
<Tab><Identity>TabID-5816-12392</Identity><TabName>Call Stack</TabName><Factory>CallStack</Factory></Tab></Tabs>
<SelectedTab>0</SelectedTab></Wnd4><Wnd5><Tabs><Tab><Identity>TabID-18136-2779</Identity><TabName>Locals</TabName><Factory>Locals</Factory></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd5></Windows>
<Editor>
<Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\startup_tm4c.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>17</YPos2><SelStart2>1827</SelStart2><SelEnd2>1827</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\..\tools\IAR\ARM_KS_7.10\arm\CMSIS\Include\core_cm4.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>0</YPos2><SelStart2>6426</SelStart2><SelEnd2>6426</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\main.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>23</YPos2><SelStart2>674</SelStart2><SelEnd2>674</SelEnd2></Tab><ActiveTab>2</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\delay.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>0</YPos2><SelStart2>121</SelStart2><SelEnd2>121</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\delay.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>206</YPos2><SelStart2>5860</SelStart2><SelEnd2>8072</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\tm4c_cmsis.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>8</YPos2><SelStart2>12930</SelStart2><SelEnd2>12930</SelEnd2></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
<Positions>
<Top><Row0><Sizes><Toolbar-0288C6F8><key>iaridepm.enu1</key></Toolbar-0288C6F8></Sizes></Row0><Row1><Sizes><Toolbar-0D82D390><key>debuggergui.enu1</key></Toolbar-0D82D390></Sizes></Row1></Top><Left><Row0><Sizes/></Row0></Left><Right><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>919</Bottom><Right>796</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>130</yscreen><sizeHorzCX>104167</sizeHorzCX><sizeHorzCY>125241</sizeHorzCY><sizeVertCX>415625</sizeVertCX><sizeVertCY>887283</sizeVertCY></Rect></Wnd2></Sizes></Row0><Row1><Sizes><Wnd3><Rect><Top>-2</Top><Left>794</Left><Bottom>919</Bottom><Right>1058</Right><x>794</x><y>-2</y><xscreen>200</xscreen><yscreen>130</yscreen><sizeHorzCX>104167</sizeHorzCX><sizeHorzCY>125241</sizeHorzCY><sizeVertCX>137500</sizeVertCX><sizeVertCY>887283</sizeVertCY></Rect></Wnd3></Sizes></Row1></Right><Bottom><Row0><Sizes><Wnd4><Rect><Top>-2</Top><Left>-2</Left><Bottom>50</Bottom><Right>567</Right><x>-2</x><y>-2</y><xscreen>569</xscreen><yscreen>52</yscreen><sizeHorzCX>296354</sizeHorzCX><sizeHorzCY>50096</sizeHorzCY><sizeVertCX>104167</sizeVertCX><sizeVertCY>125241</sizeVertCY></Rect></Wnd4><Wnd5><Rect><Top>0</Top><Left>0</Left><Bottom>0</Bottom><Right>0</Right><x>565</x><y>-2</y><xscreen>738</xscreen><yscreen>52</yscreen><sizeHorzCX>384375</sizeHorzCX><sizeHorzCY>50096</sizeHorzCY><sizeVertCX>104167</sizeVertCX><sizeVertCY>125241</sizeVertCY></Rect></Wnd5><Wnd1><Rect><Top>0</Top><Left>0</Left><Bottom>0</Bottom><Right>0</Right><x>1301</x><y>-2</y><xscreen>621</xscreen><yscreen>52</yscreen><sizeHorzCX>323438</sizeHorzCX><sizeHorzCY>50096</sizeHorzCY><sizeVertCX>104167</sizeVertCX><sizeVertCY>125241</sizeVertCY></Rect></Wnd1></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>
</Desktop>
</Project>

@ -1,87 +0,0 @@
[Stack]
FillEnabled=0
OverflowWarningsEnabled=1
WarningThreshold=90
SpWarningsEnabled=1
WarnLogOnly=1
UseTrigger=1
TriggerName=main
LimitSize=0
ByteLimit=50
[LMIFTDIDriver]
LMI_ResetMode=0x00000001
[DebugChecksum]
Checksum=463317160
[Exceptions]
StopOnUncaught=_ 0
StopOnThrow=_ 0
[CallStack]
ShowArgs=0
[Disassembly]
MixedMode=1
[MemoryMap]
Enabled=0
Base=0
UseAuto=0
TypeViolation=1
UnspecRange=1
ActionState=1
[LMIFTDI]
LMIFTDIserialNo=0E2006F4
LMIFTDIfoundProbes=
[Breakpoints]
Bp0=_ "STD_CODE" "0x00000300" 0 0 0 0 "" 0 ""
Bp1=_ "STD_CODE" "{$PROJ_DIR$\main.c}.88.3" 1 0 0 0 "" 0 ""
Count=2
[watch_formats]
Fmt0={W}0:s32 4 0
[CallStackLog]
Enabled=0
[Log file]
LoggingEnabled=_ 0
LogFile=_ ""
Category=_ 0
[TermIOLog]
LoggingEnabled=_ 0
LogFile=_ ""
[DriverProfiling]
Enabled=0
Mode=1
Graph=0
Symbiont=0
Exclusions=
[InterruptLog]
LogEnabled=0
SumEnabled=0
GraphEnabled=0
ShowTimeLog=1
ShowTimeSum=1
SumSortOrder=0
[DataLog]
LogEnabled=0
SumEnabled=0
GraphEnabled=0
ShowTimeLog=1
ShowTimeSum=1
[Disassemble mode]
mode=0
[Breakpoints2]
Bp0=_ 1 "STD_CODE2" "{$PROJ_DIR$\main.c}.47.23" 0 0 1 "" 0 ""
Count=1
[Interrupts]
Enabled=1
[MemConfig]
Base=1
Manual=0
Ddf=1
TypeViol=0
Stop=1
[Trace1]
Enabled=0
ShowSource=1
[Aliases]
Count=0
SuppressDialog=0
[Simulator]
Freq=10000000
MultiCoreRunAll=1

@ -1,67 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<Workspace>
<ConfigDictionary>
<CurrentConfigs><Project>project/Debug</Project></CurrentConfigs></ConfigDictionary>
<Desktop>
<Static>
<Workspace>
<ColumnWidths>
<Column0>228</Column0><Column1>20</Column1><Column2>20</Column2><Column3>0</Column3></ColumnWidths>
</Workspace>
<Build>
<ColumnWidth0>20</ColumnWidth0><ColumnWidth1>910</ColumnWidth1><ColumnWidth2>242</ColumnWidth2><ColumnWidth3>60</ColumnWidth3></Build>
<TerminalIO/>
<Debug-Log><ColumnWidth0>23</ColumnWidth0><ColumnWidth1>1210</ColumnWidth1></Debug-Log></Static>
<Windows>
<Wnd0>
<Tabs>
<Tab>
<Identity>TabID-12647-9510</Identity>
<TabName>Workspace</TabName>
<Factory>Workspace</Factory>
<Session>
<NodeDict><ExpandedNode>project</ExpandedNode></NodeDict></Session>
</Tab>
</Tabs>
<SelectedTab>0</SelectedTab></Wnd0><Wnd1>
<Tabs>
<Tab>
<Identity>TabID-17247-10448</Identity>
<TabName>Build</TabName>
<Factory>Build</Factory>
<Session/>
</Tab>
<Tab><Identity>TabID-11399-5976</Identity><TabName>Debug Log</TabName><Factory>Debug-Log</Factory><Session/></Tab></Tabs>
<SelectedTab>0</SelectedTab></Wnd1></Windows>
<Editor>
<Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\startup_tm4c.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>17</YPos2><SelStart2>1827</SelStart2><SelEnd2>1827</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\..\tools\IAR\ARM_KS_7.10\arm\CMSIS\Include\core_cm4.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>0</YPos2><SelStart2>6426</SelStart2><SelEnd2>6426</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\main.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>23</YPos2><SelStart2>674</SelStart2><SelEnd2>674</SelEnd2></Tab><ActiveTab>2</ActiveTab></Pane><Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\delay.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>0</YPos2><SelStart2>121</SelStart2><SelEnd2>121</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\delay.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>206</YPos2><SelStart2>5860</SelStart2><SelEnd2>8072</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\tm4c_cmsis.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>8</YPos2><SelStart2>12930</SelStart2><SelEnd2>12930</SelEnd2></Tab><ActiveTab>2</ActiveTab></Pane><ActivePane>1</ActivePane><Sizes><Pane><X>503703</X><Y>1000000</Y></Pane><Pane><X>496296</X><Y>1000000</Y></Pane></Sizes><SplitMode>4</SplitMode></Editor>
<Positions>
<Top><Row0><Sizes><Toolbar-0288C6F8><key>iaridepm.enu1</key></Toolbar-0288C6F8></Sizes></Row0><Row1><Sizes/></Row1></Top><Left><Row0><Sizes><Wnd0><Rect><Top>-2</Top><Left>-2</Left><Bottom>800</Bottom><Right>288</Right><x>-2</x><y>-2</y><xscreen>456</xscreen><yscreen>477</yscreen><sizeHorzCX>237500</sizeHorzCX><sizeHorzCY>459538</sizeHorzCY><sizeVertCX>151042</sizeVertCX><sizeVertCY>772640</sizeVertCY></Rect></Wnd0></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd1><Rect><Top>-2</Top><Left>-2</Left><Bottom>193</Bottom><Right>1922</Right><x>-2</x><y>-2</y><xscreen>1924</xscreen><yscreen>195</yscreen><sizeHorzCX>1002083</sizeHorzCX><sizeHorzCY>187861</sizeHorzCY><sizeVertCX>237500</sizeVertCX><sizeVertCY>459538</sizeVertCY></Rect></Wnd1></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>
</Desktop>
</Workspace>

@ -1,2 +0,0 @@
[MainWindow]
WindowPlacement=_ 2493 16 3773 736 3

@ -341,6 +341,8 @@ void PWM1Fault_IRQHandler(void);
#define __MPU_PRESENT 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 3 /*!< Number of Bits used for Prio Levels*/
#define __Vendor_SysTickConfig 0 /*!< 1 if different SysTick config used */
#define __FPU_PRESENT 1 /*!< FPU present or not */
#define TARGET_IS_BLIZZARD_RA1 1 /*!< Class of device (for TI library) */
#include "core_cm4.h" /* Cortex-M4 processor and core periphs */

Loading…
Cancel
Save