Hello all-
For a project we are currently using :
SEGGER Embedded Studio for ARM
Release 7.12a Build 2023031402.52776
Windows x64
Our goal is to allow a Python script to execute when the build process completes. As I understand it, I cannot tell SES to directly execute the PY file. Instead, I have to run a batch file which in turn can execute the Python script. Going to the common project settings I selected our batch file as the Post-Build Command option. The batch file consists of this code :
The problem is that SES freezes up when doing this post-build step. No terminal window pops up for either the BAT file or the PY file and I can't find any evidence that either file actually executed. Nothing can be done with SES since it won't move past the post-build step, including even allowing you to exit the application itself, I have to use Task Manager to abort it. The only feedback I can get from the output window is :
Post-Building ‘edgecon_stm32l062’
C:/Segger_Projects/EdgeCon_0/STM32L062/post_build_script.bat
It is unclear how to further troubleshoot this issue since most posts I can find in the forums merely discuss how to launch a command by choosing it as the post-build step.
For a project we are currently using :
SEGGER Embedded Studio for ARM
Release 7.12a Build 2023031402.52776
Windows x64
Our goal is to allow a Python script to execute when the build process completes. As I understand it, I cannot tell SES to directly execute the PY file. Instead, I have to run a batch file which in turn can execute the Python script. Going to the common project settings I selected our batch file as the Post-Build Command option. The batch file consists of this code :
The problem is that SES freezes up when doing this post-build step. No terminal window pops up for either the BAT file or the PY file and I can't find any evidence that either file actually executed. Nothing can be done with SES since it won't move past the post-build step, including even allowing you to exit the application itself, I have to use Task Manager to abort it. The only feedback I can get from the output window is :
Post-Building ‘edgecon_stm32l062’
C:/Segger_Projects/EdgeCon_0/STM32L062/post_build_script.bat
It is unclear how to further troubleshoot this issue since most posts I can find in the forums merely discuss how to launch a command by choosing it as the post-build step.