Firmware version 0.0.0-dev ([unknown version])

#1

When I compile, I am prompted for firmware version 0.0.0-dev ([unknown version])

0 Likes

#2

The build script uses git to find the version. For it to work, check that this command works in your current folder: git describe --always.

0 Likes

#3

I got the same error. I’m trying to make a new firmware to solve the w-command serial problem.

git describe --always --tags --dirty=*
fw-v0.4.8-8-ge3a92f2*

build/version.h:

#define FW_VERSION "[unknown version]"
#define FW_VERSION_MAJOR 0
#define FW_VERSION_MINOR 0
#define FW_VERSION_REVISION 0
#define FW_VERSION_UNRELEASED 1

Is this a problem or can I use the .hex file generated by make?

0 Likes

#4

Try deleteing build/version.h and trying again. Also, did you setup your tup.config correctly?

0 Likes

#5

Nevermind, it turned out I was using Python 2.7 instead of 3.7…

0 Likes