Use git describe for the REVISION define
This commit is contained in:
parent
18f405aa46
commit
08a2581297
@ -14,7 +14,7 @@ OBJCOPYFLAGS = -O binary
|
||||
|
||||
BIN=$(CP) -O ihex
|
||||
CCBASE = colorchord/embeddedstm32f407
|
||||
DEFS = -DSTM32F40_41xxx -DHSE_VALUE=8000000 -DREVISION=\"`git rev-parse HEAD`\"
|
||||
DEFS = -DSTM32F40_41xxx -DHSE_VALUE=8000000 -DREVISION=\"`git describe --match=NeVeRmAtCh --always --abbrev=40 --dirty`\"
|
||||
STARTUP = $(CCBASE)/lib/startup_stm32f40_41xxx.s
|
||||
STLIB = $(CCBASE)/STM32F4xx_StdPeriph_Driver
|
||||
EMCOM = $(CCBASE)/../embeddedcommon
|
||||
|
Loading…
Reference in New Issue
Block a user