uv-k5-firmware-custom
uv-k5-firmware-custom copied to clipboard
Compilation error (error: 'MSG_Send' reading 30 bytes from a region of size 8)
Hi! thanks for the messenger, it is awesome! I am trying to compile my own with VOX but following the codespaces I get this error:
app/messenger.c: In function 'MSG_StorePacket':
app/messenger.c:698:25: error: 'MSG_Send' reading 30 bytes from a region of size 8 [-Werror=stringop-overread]
698 | MSG_Send("\x1b\x1b\x1bRCVD", true);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app/messenger.c:698:25: note: referencing argument 1 of type 'const char[30]'
app/messenger.c:542:6: note: in a call to function 'MSG_Send'
542 | void MSG_Send(const char txMessage[TX_MSG_LENGTH], bool bServiceMessage) {
| ^~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:488: _build/app/messenger.o] Error 1
@eried ➜ /workspaces/uv-k5-firmware-custom (main) $
is there is any extra step when compiling it?
# ---- STOCK QUANSHENG FERATURES ----
ENABLE_UART ?= 1
ENABLE_AIRCOPY ?= 1
ENABLE_FMRADIO ?= 1
ENABLE_NOAA ?= 0
ENABLE_VOICE ?= 0
ENABLE_VOX ?= 1
ENABLE_ALARM ?= 0
ENABLE_TX1750 ?= 0
ENABLE_PWRON_PASSWORD ?= 0
ENABLE_DTMF_CALLING ?= 0
ENABLE_FLASHLIGHT ?= 0