Skip to main content
OFati.1
Associate
June 29, 2020
Question

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

  • June 29, 2020
  • 2 replies
  • 691 views

..

This topic has been closed for replies.

2 replies

Pavel A.
June 29, 2020

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
OFati.1Author
Associate
July 21, 2020

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.