I have a project with 4 configurations. Two MCU cores with each their own program, in both DEBUG and RELEASE.
When I add new files to my project I want EWPtool to scan the existing folders, to add new source and header files to the Embedded Workbench Project.
While the source (.c) files are added to all configurations, the include paths are only updated for the currently active configuration.
That means I have to tediously switch through my configurations (with associated project-reload and wait) and select "re-scan ..." and wait for the project to reload again.
To remove the hassle of this, I wanted to setup a PowerShell script that calls EWPtool.exe once for each configuration. Like so:
path\to\EWPtool.exe -p $pwd -n My-Application -c CoreM4-Debug -i false -l true
path\to\EWPtool.exe -p $pwd -n My-Application -c CoreM7-Debug -i false -l true
path\to\EWPtool.exe -p $pwd -n My-Application -c CoreM4-Release -i false -l true
path\to\EWPtool.exe -p $pwd -n My-Application -c CoreM7-Release -i false -l true
My problem:
When I call EWPTool.exe it returns almost immediately, but I can see that it takes "a lot longer" before the actual file operations are done.
So I get 4 quick calls, but only one configuration is actually updated.
Is there a way for EWPtool to not return until it's done? Alternatively, is there a way to "know" when the actual project update has finished.
// Thanks
// Kasper
I have a project with 4 configurations. Two MCU cores with each their own program, in both DEBUG and RELEASE.
When I add new files to my project I want EWPtool to scan the existing folders, to add new source and header files to the Embedded Workbench Project.
While the source (.c) files are added to all configurations, the include paths are only updated for the currently active configuration.
That means I have to tediously switch through my configurations (with associated project-reload and wait) and select "re-scan ..." and wait for the project to reload again.
To remove the hassle of this, I wanted to setup a PowerShell script that calls EWPtool.exe once for each configuration. Like so:
My problem:
When I call
EWPTool.exeit returns almost immediately, but I can see that it takes "a lot longer" before the actual file operations are done.So I get 4 quick calls, but only one configuration is actually updated.
Is there a way for EWPtool to not return until it's done? Alternatively, is there a way to "know" when the actual project update has finished.
// Thanks
// Kasper