cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, i'm trying to build my project using makefile, it works on CMD windows, but doesn't work on STM32CubeIDE, it gives: GIT describing... ../../gitdescribe: line 3: $'\r': command not found, and then build failed. thanks in advance

OFati.1
Associate II
 
2 REPLIES 2
Pavel A.
Evangelist III

What does the "gitdescribe" command do in your makefile? It is not needed to build and is not a part of the CubeIDE toolchain.

Commands needed to build are compile and link.

-- pa

OFati.1
Associate II

hello, actually when compiling the first thing the program shows git describe content i solved this problem by calling dos2unix for the gitdescribe file, apparently the file was edited on linux when called on windows it cause this issue.