1 param([String]$debugfile = "");
\r
3 # This powershell file has been generated by the IAR Embedded Workbench
\r
4 # C - SPY Debugger, as an aid to preparing a command line for running
\r
5 # the cspybat command line utility using the appropriate settings.
\r
7 # Note that this file is generated every time a new debug session
\r
8 # is initialized, so you may want to move or rename the file before
\r
11 # You can launch cspybat by typing Powershell.exe -File followed by the name of this batch file, followed
\r
12 # by the name of the debug file (usually an ELF / DWARF or UBROF file).
\r
14 # Read about available command line parameters in the C - SPY Debugging
\r
15 # Guide. Hints about additional command line parameters that may be
\r
16 # useful in specific cases :
\r
17 # --download_only Downloads a code image without starting a debug
\r
18 # session afterwards.
\r
19 # --silent Omits the sign - on message.
\r
20 # --timeout Limits the maximum allowed execution time.
\r
24 if ($debugfile -eq "")
\r
26 & "C:\devtools\IAR Systems\Embedded Workbench 8.2\common\bin\cspybat" -f "C:\Users\ribarry\Dev\FreeRTOS\Trial\Active\STM32H7_dual_core\WorkingCopy\Demo\CORTEX_M7_M4_STM32H745I_Discovery_IAR\settings\Project.STM32H745I_Discovery_CM4.general.xcl" --backend -f "C:\Users\ribarry\Dev\FreeRTOS\Trial\Active\STM32H7_dual_core\WorkingCopy\Demo\CORTEX_M7_M4_STM32H745I_Discovery_IAR\settings\Project.STM32H745I_Discovery_CM4.driver.xcl"
\r
30 & "C:\devtools\IAR Systems\Embedded Workbench 8.2\common\bin\cspybat" -f "C:\Users\ribarry\Dev\FreeRTOS\Trial\Active\STM32H7_dual_core\WorkingCopy\Demo\CORTEX_M7_M4_STM32H745I_Discovery_IAR\settings\Project.STM32H745I_Discovery_CM4.general.xcl" --debug_file=$debugfile --backend -f "C:\Users\ribarry\Dev\FreeRTOS\Trial\Active\STM32H7_dual_core\WorkingCopy\Demo\CORTEX_M7_M4_STM32H745I_Discovery_IAR\settings\Project.STM32H745I_Discovery_CM4.driver.xcl"
\r