]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_IAR/settings/RTOSDemo.Debug.cspy.ps1
Renamed RISC-V_RV32_SiFive_HiFive1_IAR directory to RISC-V_RV32_SiFive_HiFive1-RevB_I...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1-RevB_IAR / settings / RTOSDemo.Debug.cspy.ps1
1 param([String]$debugfile = "");\r
2 \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
6 #\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
9 # making changes.\r
10 #\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
13 #\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
21 #\r
22 \r
23 \r
24 if ($debugfile -eq "")\r
25 {\r
26 & "C:\devtools\IAR Systems\Embedded Workbench 8.3\common\bin\cspybat" -f "C:\Users\ribarry\Dev\FreeRTOS\WorkingCopy\FreeRTOS\Demo\RISC-V_RV32_SiFive_HiFive1_IAR\settings\RTOSDemo.Debug.general.xcl" --backend -f "C:\Users\ribarry\Dev\FreeRTOS\WorkingCopy\FreeRTOS\Demo\RISC-V_RV32_SiFive_HiFive1_IAR\settings\RTOSDemo.Debug.driver.xcl" \r
27 }\r
28 else\r
29 {\r
30 & "C:\devtools\IAR Systems\Embedded Workbench 8.3\common\bin\cspybat" -f "C:\Users\ribarry\Dev\FreeRTOS\WorkingCopy\FreeRTOS\Demo\RISC-V_RV32_SiFive_HiFive1_IAR\settings\RTOSDemo.Debug.general.xcl" --debug_file=$debugfile --backend -f "C:\Users\ribarry\Dev\FreeRTOS\WorkingCopy\FreeRTOS\Demo\RISC-V_RV32_SiFive_HiFive1_IAR\settings\RTOSDemo.Debug.driver.xcl" \r
31 }\r