added things example and irext driver project
This commit is contained in:
40
stm8-example/settings/STM8_Demo.Debug.cspy.bat
Normal file
40
stm8-example/settings/STM8_Demo.Debug.cspy.bat
Normal file
@@ -0,0 +1,40 @@
|
||||
@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
|
||||
|
||||
|
||||
@echo off
|
||||
|
||||
if not "%~1" == "" goto debugFile
|
||||
|
||||
@echo on
|
||||
|
||||
"C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\common\bin\cspybat" -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Demo.Debug.general.xcl" --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Demo.Debug.driver.xcl"
|
||||
|
||||
@echo off
|
||||
goto end
|
||||
|
||||
:debugFile
|
||||
|
||||
@echo on
|
||||
|
||||
"C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\common\bin\cspybat" -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Demo.Debug.general.xcl" "--debug_file=%~1" --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Demo.Debug.driver.xcl"
|
||||
|
||||
@echo off
|
||||
:end
|
||||
31
stm8-example/settings/STM8_Demo.Debug.cspy.ps1
Normal file
31
stm8-example/settings/STM8_Demo.Debug.cspy.ps1
Normal file
@@ -0,0 +1,31 @@
|
||||
param([String]$debugfile = "");
|
||||
|
||||
# This powershell file has been generated by the IAR Embedded Workbench
|
||||
# C - SPY Debugger, as an aid to preparing a command line for running
|
||||
# the cspybat command line utility using the appropriate settings.
|
||||
#
|
||||
# Note that this file is generated every time a new debug session
|
||||
# is initialized, so you may want to move or rename the file before
|
||||
# making changes.
|
||||
#
|
||||
# You can launch cspybat by typing Powershell.exe -File followed by the name of this batch file, followed
|
||||
# by the name of the debug file (usually an ELF / DWARF or UBROF file).
|
||||
#
|
||||
# Read about available command line parameters in the C - SPY Debugging
|
||||
# Guide. Hints about additional command line parameters that may be
|
||||
# useful in specific cases :
|
||||
# --download_only Downloads a code image without starting a debug
|
||||
# session afterwards.
|
||||
# --silent Omits the sign - on message.
|
||||
# --timeout Limits the maximum allowed execution time.
|
||||
#
|
||||
|
||||
|
||||
if ($debugfile -eq "")
|
||||
{
|
||||
& "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\common\bin\cspybat" -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Demo.Debug.general.xcl" --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Demo.Debug.driver.xcl"
|
||||
}
|
||||
else
|
||||
{
|
||||
& "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\common\bin\cspybat" -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Demo.Debug.general.xcl" --debug_file=$debugfile --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Demo.Debug.driver.xcl"
|
||||
}
|
||||
11
stm8-example/settings/STM8_Demo.Debug.driver.xcl
Normal file
11
stm8-example/settings/STM8_Demo.Debug.driver.xcl
Normal file
@@ -0,0 +1,11 @@
|
||||
"-p"
|
||||
|
||||
"C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\stm8\config\ddf\iostm8s207k8.ddf"
|
||||
|
||||
"--mcuname"
|
||||
|
||||
"STM8S207K8"
|
||||
|
||||
|
||||
|
||||
|
||||
11
stm8-example/settings/STM8_Demo.Debug.general.xcl
Normal file
11
stm8-example/settings/STM8_Demo.Debug.general.xcl
Normal file
@@ -0,0 +1,11 @@
|
||||
"C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\stm8\bin\stm8proc.dll"
|
||||
|
||||
"C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\stm8\bin\stm8stlink.dll"
|
||||
|
||||
"D:\Project\Iot_Work\irext\examples\stm8-driver\Debug\Exe\templproj.out"
|
||||
|
||||
--plugin "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\stm8\bin\stm8bat.dll"
|
||||
|
||||
|
||||
|
||||
|
||||
1056
stm8-example/settings/STM8_Demo.dbgdt
Normal file
1056
stm8-example/settings/STM8_Demo.dbgdt
Normal file
File diff suppressed because one or more lines are too long
64
stm8-example/settings/STM8_Demo.dni
Normal file
64
stm8-example/settings/STM8_Demo.dni
Normal file
@@ -0,0 +1,64 @@
|
||||
[Stack]
|
||||
FillEnabled=0
|
||||
OverflowWarningsEnabled=1
|
||||
WarningThreshold=90
|
||||
SpWarningsEnabled=1
|
||||
WarnLogOnly=1
|
||||
UseTrigger=1
|
||||
TriggerName=main
|
||||
LimitSize=0
|
||||
ByteLimit=50
|
||||
[InterruptLog]
|
||||
LogEnabled=0
|
||||
SumEnabled=0
|
||||
GraphEnabled=0
|
||||
ShowTimeLog=1
|
||||
ShowTimeSum=1
|
||||
SumSortOrder=0
|
||||
[DataLog]
|
||||
LogEnabled=0
|
||||
SumEnabled=0
|
||||
GraphEnabled=0
|
||||
ShowTimeLog=1
|
||||
ShowTimeSum=1
|
||||
[Breakpoints2]
|
||||
Count=0
|
||||
[Interrupts]
|
||||
Enabled=1
|
||||
[MemoryMap]
|
||||
Enabled=0
|
||||
Base=0
|
||||
UseAuto=0
|
||||
TypeViolation=1
|
||||
UnspecRange=1
|
||||
ActionState=1
|
||||
[Trace1]
|
||||
Enabled=0
|
||||
ShowSource=1
|
||||
[Simulator]
|
||||
Freq=16000000
|
||||
[DebugChecksum]
|
||||
Checksum=-551179649
|
||||
[CallStack]
|
||||
ShowArgs=0
|
||||
[Disassembly]
|
||||
MixedMode=1
|
||||
[DataSample]
|
||||
LogEnabled=0
|
||||
GraphEnabled=0
|
||||
ShowTimeLog=1
|
||||
ShowTimeSum=1
|
||||
[Log file]
|
||||
LoggingEnabled=_ 0
|
||||
LogFile=_ ""
|
||||
Category=_ 0
|
||||
[TermIOLog]
|
||||
LoggingEnabled=_ 0
|
||||
LogFile=_ ""
|
||||
[Breakpoints]
|
||||
Count=0
|
||||
[Aliases]
|
||||
Count=0
|
||||
SuppressDialog=0
|
||||
[DebuggerSettings]
|
||||
DisableInterruptsWhenStepping=0
|
||||
89
stm8-example/settings/STM8_Demo.dnx
Normal file
89
stm8-example/settings/STM8_Demo.dnx
Normal file
@@ -0,0 +1,89 @@
|
||||
<?xml version="1.0"?>
|
||||
<settings>
|
||||
<Stack>
|
||||
<FillEnabled>0</FillEnabled>
|
||||
<OverflowWarningsEnabled>1</OverflowWarningsEnabled>
|
||||
<WarningThreshold>90</WarningThreshold>
|
||||
<SpWarningsEnabled>1</SpWarningsEnabled>
|
||||
<WarnLogOnly>1</WarnLogOnly>
|
||||
<UseTrigger>1</UseTrigger>
|
||||
<TriggerName>main</TriggerName>
|
||||
<LimitSize>0</LimitSize>
|
||||
<ByteLimit>50</ByteLimit>
|
||||
</Stack>
|
||||
<InterruptLog>
|
||||
<LogEnabled>0</LogEnabled>
|
||||
<SumEnabled>0</SumEnabled>
|
||||
<GraphEnabled>0</GraphEnabled>
|
||||
<ShowTimeLog>1</ShowTimeLog>
|
||||
<ShowTimeSum>1</ShowTimeSum>
|
||||
<SumSortOrder>0</SumSortOrder>
|
||||
</InterruptLog>
|
||||
<DataLog>
|
||||
<LogEnabled>0</LogEnabled>
|
||||
<SumEnabled>0</SumEnabled>
|
||||
<GraphEnabled>0</GraphEnabled>
|
||||
<ShowTimeLog>1</ShowTimeLog>
|
||||
<ShowTimeSum>1</ShowTimeSum>
|
||||
</DataLog>
|
||||
<Breakpoints2>
|
||||
<Count>0</Count>
|
||||
</Breakpoints2>
|
||||
<Interrupts>
|
||||
<Enabled>1</Enabled>
|
||||
</Interrupts>
|
||||
<MemoryMap>
|
||||
<Enabled>0</Enabled>
|
||||
<Base>0</Base>
|
||||
<UseAuto>0</UseAuto>
|
||||
<TypeViolation>1</TypeViolation>
|
||||
<UnspecRange>1</UnspecRange>
|
||||
<ActionState>1</ActionState>
|
||||
</MemoryMap>
|
||||
<Trace1>
|
||||
<Enabled>0</Enabled>
|
||||
<ShowSource>1</ShowSource>
|
||||
</Trace1>
|
||||
<Simulator>
|
||||
<Freq>16000000</Freq>
|
||||
</Simulator>
|
||||
<DebugChecksum>
|
||||
<Checksum>3110544503</Checksum>
|
||||
</DebugChecksum>
|
||||
<CallStack>
|
||||
<ShowArgs>0</ShowArgs>
|
||||
</CallStack>
|
||||
<Disassembly>
|
||||
<MixedMode>1</MixedMode>
|
||||
</Disassembly>
|
||||
<Log_file>
|
||||
<LoggingEnabled>_ 0</LoggingEnabled>
|
||||
<LogFile>_ ""</LogFile>
|
||||
<Category>_ 0</Category>
|
||||
</Log_file>
|
||||
<DataSample>
|
||||
<LogEnabled>0</LogEnabled>
|
||||
<GraphEnabled>0</GraphEnabled>
|
||||
<ShowTimeLog>1</ShowTimeLog>
|
||||
</DataSample>
|
||||
<LogFile>
|
||||
<LoggingEnabled>_ 0</LoggingEnabled>
|
||||
<LogFile>_ ""</LogFile>
|
||||
<Category>_ 0</Category>
|
||||
</LogFile>
|
||||
<TermIOLog>
|
||||
<LoggingEnabled>_ 0</LoggingEnabled>
|
||||
<LogFile>_ ""</LogFile>
|
||||
</TermIOLog>
|
||||
<Breakpoints>
|
||||
<Count>0</Count>
|
||||
</Breakpoints>
|
||||
<Aliases>
|
||||
<Count>0</Count>
|
||||
<SuppressDialog>0</SuppressDialog>
|
||||
</Aliases>
|
||||
<DebuggerSettings>
|
||||
<DisableInterruptsWhenStepping>0</DisableInterruptsWhenStepping>
|
||||
<LeaveTargetRunning>0</LeaveTargetRunning>
|
||||
</DebuggerSettings>
|
||||
</settings>
|
||||
464
stm8-example/settings/STM8_Demo.wsdt
Normal file
464
stm8-example/settings/STM8_Demo.wsdt
Normal file
File diff suppressed because one or more lines are too long
2
stm8-example/settings/STM8_Demo.wspos
Normal file
2
stm8-example/settings/STM8_Demo.wspos
Normal file
@@ -0,0 +1,2 @@
|
||||
[MainWindow]
|
||||
WindowPlacement=_ 226 183 1035 600 3
|
||||
Reference in New Issue
Block a user