Hola. Estoy tratando de solucionar un problema con mi instalación.
Resumiendo: pc x86, ubuntu 24.04, docker OK, Gladys OK
Estoy intentando instalar un dongle zigate usb
Sigo el tutorial:
Descargo todo, lo descomprimo, y obtengo un mensaje de error después de escribir « make »:
Después de la actualización + build-essential, esto es lo que obtengo:
cc -I. -Wall -O2 -I../Source/ -DDBG_ENABLE -DVERSION=« "56124" » -c ../Source/uart.c
cc -I. -Wall -O2 -I../Source/ -DDBG_ENABLE -DVERSION=« "56124" » -c ../Source/JN51xx_BootLoader.c
../Source/JN51xx_BootLoader.c: In function ‘BL_DownloadExtensionToRamBeforeErase’:
../Source/JN51xx_BootLoader.c:1612:98: warning: passing argument 4 of ‘iBL_WriteRAM’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1612 | 00400 + n, u8ChunkSize, FlashProgrammerExtension_JN5168_bin + n) == -1)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
../Source/JN51xx_BootLoader.c:1219:86: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘const unsigned char *’
1219 | int iUartFd, uint32_t u32Address, uint8_t u8Length, uint8_t *pu8Buffer)
| ~^
cc -I. -Wall -O2 -I../Source/ -DDBG_ENABLE -DVERSION=« "56124" » -c ../Source/Firmware.c
cc -I. -Wall -O2 -I../Source/ -DDBG_ENABLE -DVERSION=« "56124" » -c ../Source/main.c
../Source/main.c: In function ‘main’:
../Source/main.c:115:9: warning: variable ‘iVerify’ set but not used [-Wunused-but-set-variable]
115 | int iVerify = 0;
| ^~~~~~~
cc uart.o JN51xx_BootLoader.o Firmware.o main.o -o JennicModuleProgrammer
Parece mejor, pero no sé interpretar el resultado…
¿Alguna idea?
Gracias