added things example and irext driver project
This commit is contained in:
@@ -25,7 +25,7 @@ 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"
|
||||
"C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\common\bin\cspybat" -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.Debug.general.xcl" --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.Debug.driver.xcl"
|
||||
|
||||
@echo off
|
||||
goto end
|
||||
@@ -34,7 +34,7 @@ goto end
|
||||
|
||||
@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"
|
||||
"C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\common\bin\cspybat" -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.Debug.general.xcl" "--debug_file=%~1" --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.Debug.driver.xcl"
|
||||
|
||||
@echo off
|
||||
:end
|
||||
@@ -23,9 +23,9 @@ param([String]$debugfile = "");
|
||||
|
||||
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"
|
||||
& "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\common\bin\cspybat" -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.Debug.general.xcl" --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.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"
|
||||
& "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\common\bin\cspybat" -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.Debug.general.xcl" --debug_file=$debugfile --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.Debug.driver.xcl"
|
||||
}
|
||||
11
stm8-driver/settings/STM8_Driver.Release.driverxcl
Normal file
11
stm8-driver/settings/STM8_Driver.Release.driverxcl
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"
|
||||
|
||||
|
||||
|
||||
|
||||
40
stm8-driver/settings/STM8_Driver.bat
Normal file
40
stm8-driver/settings/STM8_Driver.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_Driver.Debug.general.xcl" --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.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_Driver.Debug.general.xcl" "--debug_file=%~1" --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.Debug.driver.xcl"
|
||||
|
||||
@echo off
|
||||
:end
|
||||
@@ -60,7 +60,7 @@
|
||||
<Factory>Workspace</Factory>
|
||||
<Session>
|
||||
<NodeDict>
|
||||
<ExpandedNode>STM8_Demo</ExpandedNode>
|
||||
<ExpandedNode>STM8_Driver</ExpandedNode>
|
||||
</NodeDict>
|
||||
</Session>
|
||||
</Tab>
|
||||
31
stm8-driver/settings/STM8_Driver.ps1
Normal file
31
stm8-driver/settings/STM8_Driver.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_Driver.Debug.general.xcl" --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.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_Driver.Debug.general.xcl" --debug_file=$debugfile --backend -f "D:\Project\Iot_Work\irext\examples\stm8-driver\settings\STM8_Driver.Debug.driver.xcl"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user