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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-29 2:33 AM
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-29 7:34 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-21 4:51 PM
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.
