Skip to content

Commit 5f41feb

Browse files
committed
2.0.2
1 parent cba65e7 commit 5f41feb

30 files changed

+4010
-251
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
@REM This batch file has been generated by the IAR Embedded Workbench
2+
@REM C-SPY Debugger, as an aid to preparing a command line for running
3+
@REM the cspybat command line utility using the appropriate settings.
4+
@REM
5+
@REM Note that this file is generated every time a new debug session
6+
@REM is initialized, so you may want to move or rename the file before
7+
@REM making changes.
8+
@REM
9+
@REM You can launch cspybat by typing the name of this batch file followed
10+
@REM by the name of the debug file (usually an ELF/DWARF or UBROF file).
11+
@REM
12+
@REM Read about available command line parameters in the C-SPY Debugging
13+
@REM Guide. Hints about additional command line parameters that may be
14+
@REM useful in specific cases:
15+
@REM --download_only Downloads a code image without starting a debug
16+
@REM session afterwards.
17+
@REM --silent Omits the sign-on message.
18+
@REM --timeout Limits the maximum allowed execution time.
19+
@REM
20+
21+
22+
@echo off
23+
24+
if not "%~1" == "" goto debugFile
25+
26+
@echo on
27+
28+
"C:\tools\IAR\ARM\common\bin\cspybat" -f "C:\GitHub\modern-embedded-programming-course\lesson-04\tm4c123-iar\settings\project.Debug.general.xcl" --backend -f "C:\GitHub\modern-embedded-programming-course\lesson-04\tm4c123-iar\settings\project.Debug.driver.xcl"
29+
30+
@echo off
31+
goto end
32+
33+
:debugFile
34+
35+
@echo on
36+
37+
"C:\tools\IAR\ARM\common\bin\cspybat" -f "C:\GitHub\modern-embedded-programming-course\lesson-04\tm4c123-iar\settings\project.Debug.general.xcl" "--debug_file=%~1" --backend -f "C:\GitHub\modern-embedded-programming-course\lesson-04\tm4c123-iar\settings\project.Debug.driver.xcl"
38+
39+
@echo off
40+
:end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
param([String]$debugfile = "");
2+
3+
# This powershell file has been generated by the IAR Embedded Workbench
4+
# C - SPY Debugger, as an aid to preparing a command line for running
5+
# the cspybat command line utility using the appropriate settings.
6+
#
7+
# Note that this file is generated every time a new debug session
8+
# is initialized, so you may want to move or rename the file before
9+
# making changes.
10+
#
11+
# You can launch cspybat by typing Powershell.exe -File followed by the name of this batch file, followed
12+
# by the name of the debug file (usually an ELF / DWARF or UBROF file).
13+
#
14+
# Read about available command line parameters in the C - SPY Debugging
15+
# Guide. Hints about additional command line parameters that may be
16+
# useful in specific cases :
17+
# --download_only Downloads a code image without starting a debug
18+
# session afterwards.
19+
# --silent Omits the sign - on message.
20+
# --timeout Limits the maximum allowed execution time.
21+
#
22+
23+
24+
if ($debugfile -eq "")
25+
{
26+
& "C:\tools\IAR\ARM\common\bin\cspybat" -f "C:\GitHub\modern-embedded-programming-course\lesson-04\tm4c123-iar\settings\project.Debug.general.xcl" --backend -f "C:\GitHub\modern-embedded-programming-course\lesson-04\tm4c123-iar\settings\project.Debug.driver.xcl"
27+
}
28+
else
29+
{
30+
& "C:\tools\IAR\ARM\common\bin\cspybat" -f "C:\GitHub\modern-embedded-programming-course\lesson-04\tm4c123-iar\settings\project.Debug.general.xcl" --debug_file=$debugfile --backend -f "C:\GitHub\modern-embedded-programming-course\lesson-04\tm4c123-iar\settings\project.Debug.driver.xcl"
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
"--endian=little"
2+
3+
"--cpu=Cortex-M4"
4+
5+
"--fpu=VFPv4_SP"
6+
7+
"-p"
8+
9+
"C:\tools\IAR\ARM\arm\CONFIG\debugger\TexasInstruments\TM4C123GH6PM.ddf"
10+
11+
"--drv_verify_download"
12+
13+
"--semihosting=none"
14+
15+
"--device=TM4C123GH6PM"
16+
17+
"--drv_interface_speed=500"
18+
19+
"--lmiftdi_reset_strategy=0,0"
20+
21+
22+
23+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"C:\tools\IAR\ARM\arm\bin\armPROC.dll"
2+
3+
"C:\tools\IAR\ARM\arm\bin\armLMIFTDI.dll"
4+
5+
"C:\GitHub\modern-embedded-programming-course\lesson-04\tm4c123-iar\dbg\c.out"
6+
7+
--plugin="C:\tools\IAR\ARM\arm\bin\armbat.dll"
8+
9+
--device_macro="C:\tools\IAR\ARM\arm/config/debugger/TexasInstruments/TM4C123.dmac"
10+
11+
--flash_loader="C:\tools\IAR\ARM\arm/config/flashloader/TexasInstruments/FlashTC4_H6_o.board"
12+
13+
14+
15+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<crun>
3+
<version>1</version>
4+
<filter_entries>
5+
<filter index="0" type="default">
6+
<type>*</type>
7+
<start_file>*</start_file>
8+
<end_file>*</end_file>
9+
<action_debugger>0</action_debugger>
10+
<action_log>1</action_log>
11+
</filter>
12+
</filter_entries>
13+
</crun>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Project>
3+
<WindowStorage />
4+
</Project>
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0"?>
2+
<settings>
3+
<LogFile>
4+
<LoggingEnabled>_ 0</LoggingEnabled>
5+
<LogFile>_ "$PROJ_DIR$\LogFile1.log"</LogFile>
6+
<Category2>_ 2</Category2>
7+
</LogFile>
8+
<Stack>
9+
<FillEnabled>0</FillEnabled>
10+
<OverflowWarningsEnabled>1</OverflowWarningsEnabled>
11+
<WarningThreshold>90</WarningThreshold>
12+
<SpWarningsEnabled>1</SpWarningsEnabled>
13+
<WarnLogOnly>1</WarnLogOnly>
14+
<UseTrigger>1</UseTrigger>
15+
<TriggerName>main</TriggerName>
16+
<LimitSize>0</LimitSize>
17+
<ByteLimit>50</ByteLimit>
18+
</Stack>
19+
<DisassembleMode>
20+
<mode>0</mode>
21+
</DisassembleMode>
22+
<Breakpoints2>
23+
<Count>0</Count>
24+
</Breakpoints2>
25+
<Aliases>
26+
<Count>0</Count>
27+
<SuppressDialog>0</SuppressDialog>
28+
</Aliases>
29+
<PlDriver>
30+
<MemConfigValue>C:\tools\IAR\ARM\arm\CONFIG\debugger\TexasInstruments\TM4C123GH6PM.ddf</MemConfigValue>
31+
</PlDriver>
32+
<ArmDriver>
33+
<EnableCache>0</EnableCache>
34+
<EnforceMemoryConfiguration>1</EnforceMemoryConfiguration>
35+
</ArmDriver>
36+
</settings>

0 commit comments

Comments
 (0)