For compiling our code examples under Windows, we currently provide the GNU ARM toolchain Yagarto. If, for any reason, you updated the make tool to a more recent version (part of MinGW) or if you are using another environment for compiling, you might run into the following problem after starting "make all" (last lines of the console output):
Code: Select all
Creating bin file example_ser.bin cp example_ser.hex temp.hex hex2bin.exe -s 0000 temp.hex sh: hex2bin.exe: command not found make: *** [example_ser.bin] Error 127
There are two options to solve the problem:
- Adapt the makefile in the root directory of the source example.
- [Recommended] Copy the hex2bin.exe file from the root directory of the source example to a directory that is contained in the search path (Windows environment variable PATH).
For example, this is usually the case with the installation directory of the Yagarto Tools (C:\yagarto-tools-20121018).