Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


"sh: C:\Program: No such file or directory" revisited...

Greetings,

This is related to a fresh 64bit install (attempt...) on 64bit Windows 7, with 64bit JVM installed.

I haven’t gotten a good installation yet. Any attempt to build anything, no matter how simple, leads to:

make all
sh: C:\Program: No such file or directory
make: *** startup/startup_stm32f427x.o Error 127

- I’ve repeated a clean install and followed the “Getting Started” guidance to the letter with no change in symptoms.
- I’ve gone back and read all the forum entries. This issue was discussed a few times a while back. Past solutions have included removing spaces from installation and workspace paths (I don’t have any), removing special characters from installation and workspace paths (I don’t have any) and some reference was made to “don’t know what it was but the problem went away” (I don’t know what to do with that info...).
- I’ve recursively grep’d both my workspace directory and ac6 directory for ‘C:\Program’ and the only place is shows up is in the error logs (which say the same as above).

I need new ideas on how to find the problem(s) in my installation. All are appreciated!

Thanks,

Steve.

SOLVED.

I had git installed on my windows platform. Git has an sh.exe. The path to git’s sh.exe was through C:\Program Files (x86)... This was determined by opening a command prompt and running “where sh”. Thanks to: https://github.com/STAT545-UBC/Discussion/issues/54Question for pointing me in the right direction. Uninstalling git fixed the problem. Presumably, I can reinstall git on a path with no spaces... Interestingly, after uninstalling git, “where sh” results in a “could not find...” which presumably means that Openstm32/eclipse searches the path before going to a copy that’s not on the path...

I’d like to reinstall git in it’s default location but apparently that’s not going to work...

Steve.


Windows Git followup:
I’ve reinstalled Git for Windows. I installed it in C:\Git, I kept the previous install option (not the default) for setting the path so that windows command line will run all the Git and Unix-like tools (which may have been one of the enablers of my previous troubles).

System Workbench still works fine. :-)

Steve.

You could just add double quotes around the git entry in the PATH environmental variable.
i.e. “C:\Program Files (x86)\Git\bin”

Saves uninstalling it then re-installing it.

Andy