I am running Arm Dev Studio on Windows and I build our Cortex-M project from the Windows command line.
I setup the environment by running:
cmdsuite.exe
C:\Windows\System32\cmd.exe /c pushd "C:\Program Files\Arm\Development Studio 2022.1\bin" && cmdsuite.exe
I would like the command prompt to land in my project directory. Appending a 'cd' command to the above does not work.
Any suggestions how to do this please?
Or, to ask the same question in a different way, is it possible to configure Windows' Start Menu's Arm DS2022.1 Command Prompt to start the prompt in a custom location?
You can also set these environment variables, then you can use the arm Development Studio command line tools from any command prompt
More information on setting up the environment can be found here:
https://developer.arm.com/documentation/ka004977/latest
I would also recommend adding the "C:\Program Files\Arm\Development Studio 2022.1\bin" to your PATH environment variable. You can edit the system environment for Windows under the "System Properties -> Advanced" tab and click on the "Environment Variables" button.
Note: The latest version of Development Studio currently is 2022.2.