mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
AIRCOPY update
This commit is contained in:
17
Makefile
17
Makefile
@ -8,7 +8,7 @@ ENABLE_SWD := 0
|
||||
ENABLE_OVERLAY := 0
|
||||
ENABLE_LTO := 1
|
||||
ENABLE_UART := 1
|
||||
ENABLE_UART_DEBUG := 1
|
||||
ENABLE_UART_DEBUG := 0
|
||||
ENABLE_AIRCOPY := 1
|
||||
ENABLE_AIRCOPY_FREQ := 1
|
||||
ENABLE_FMRADIO := 1
|
||||
@ -48,6 +48,14 @@ ENABLE_COPY_CHAN_TO_VFO := 1
|
||||
|
||||
TARGET = firmware
|
||||
|
||||
GIT_HASH_TMP := $(shell git rev-parse --short HEAD)
|
||||
ifeq ($(GIT_HASH_TMP),)
|
||||
GIT_HASH := "NOGIT"
|
||||
else
|
||||
GIT_HASH := $(GIT_HASH_TMP)
|
||||
endif
|
||||
$(info GIT_HASH = $(GIT_HASH))
|
||||
|
||||
ifeq ($(ENABLE_UART), 0)
|
||||
ENABLE_UART_DEBUG := 0
|
||||
endif
|
||||
@ -195,13 +203,6 @@ endif
|
||||
OBJCOPY = arm-none-eabi-objcopy
|
||||
SIZE = arm-none-eabi-size
|
||||
|
||||
# the user might not have/want git installed
|
||||
# can set own version string here (max 7 chars)
|
||||
GIT_HASH := $(shell git rev-parse --short HEAD)
|
||||
#GIT_HASH := 230930b
|
||||
|
||||
$(info GIT_HASH = $(GIT_HASH))
|
||||
|
||||
ASFLAGS = -c -mcpu=cortex-m0
|
||||
ifeq ($(ENABLE_OVERLAY),1)
|
||||
ASFLAGS += -DENABLE_OVERLAY
|
||||
|
Reference in New Issue
Block a user