node.Debug.cspy.bat 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @REM This batch file has been generated by the IAR Embedded Workbench
  2. @REM C-SPY Debugger, as an aid to preparing a command line for running
  3. @REM the cspybat command line utility using the appropriate settings.
  4. @REM
  5. @REM Note that this file is generated every time a new debug session
  6. @REM is initialized, so you may want to move or rename the file before
  7. @REM making changes.
  8. @REM
  9. @REM You can launch cspybat by typing the name of this batch file followed
  10. @REM by the name of the debug file (usually an ELF/DWARF or UBROF file).
  11. @REM
  12. @REM Read about available command line parameters in the C-SPY Debugging
  13. @REM Guide. Hints about additional command line parameters that may be
  14. @REM useful in specific cases:
  15. @REM --download_only Downloads a code image without starting a debug
  16. @REM session afterwards.
  17. @REM --silent Omits the sign-on message.
  18. @REM --timeout Limits the maximum allowed execution time.
  19. @REM
  20. @echo off
  21. if not "%~1" == "" goto debugFile
  22. @echo on
  23. "D:\workSoftware\stm32Software\IAR_STM8\common\bin\cspybat" -f "D:\Project\Lora_node\app\Project\settings\node.Debug.general.xcl" --backend -f "D:\Project\Lora_node\app\Project\settings\node.Debug.driver.xcl"
  24. @echo off
  25. goto end
  26. :debugFile
  27. @echo on
  28. "D:\workSoftware\stm32Software\IAR_STM8\common\bin\cspybat" -f "D:\Project\Lora_node\app\Project\settings\node.Debug.general.xcl" "--debug_file=%~1" --backend -f "D:\Project\Lora_node\app\Project\settings\node.Debug.driver.xcl"
  29. @echo off
  30. :end