added things example and irext driver project

This commit is contained in:
2018-01-22 08:13:12 +08:00
parent e95a7bec0e
commit 580970c1eb
134 changed files with 36391 additions and 0 deletions

View File

@@ -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

View File

@@ -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"
}

View 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"

View 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

View File

@@ -60,7 +60,7 @@
<Factory>Workspace</Factory>
<Session>
<NodeDict>
<ExpandedNode>STM8_Demo</ExpandedNode>
<ExpandedNode>STM8_Driver</ExpandedNode>
</NodeDict>
</Session>
</Tab>

View 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