EW:Version 10.0 Error with PostProcess with STM32CubeIDE execution of batch file STM32CubeIDE_ew_post_process.cmd
Hello Embedded Wizard team,
I am using Embedded Wizard version10.0 Pro edition and working with STM32F746G Discovery board.
I tried to create a STM32CubeIDE Project , Hence followed below instructions
https://doc.embedded-wizard.de/getting-started-stm32f746-discovery?v=10.00
When the Postprocess is Default (blank space) I am able to execute the project with no errors and Warnings.And
When the Postprocess is to C:\Users\.....\STM32F746-Discovery\Application\Project\STM32CubeIDE\STM32F746-Discovery\STM32CubeIDE_ew_post_process.cmd
And Built , the below error appears.
'PowerShell.exe' is not recognized as an internal or external command,
operable program or batch file.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This Embedded Wizard Post Process needs at least V4.0 of Windows Powershell
Powershell update can be found at:
https://docs.microsoft.com/de-de/powershell/scripting/setup/installing-windows-powershell
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hence I changed the path of the PowerShell.exe in STM32CubeIDE_ew_post_process.cmd batch file , to actual path of powershell.exe in my computer
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command "& '%realativepath%\STM32CubeIDE_ew_post_process_power_shell_script.ps1'"
However , I still am getting below error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Unknown error occured during Embedded Wizard Post Process!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Could you please let me know , What needs to be done to fix this issue ?
Thank you
Hemanth