NanoVNA2-firmware icon indicating copy to clipboard operation
NanoVNA2-firmware copied to clipboard

Unable to compile (libopencm3 error)

Open nieldk opened this issue 4 years ago • 3 comments

Latest pull (4aa4540) doesnt seem to compile at all. Error seems to be in the included libopencm3 This is the error from

make BOARDNAME=board_v2_plus EXTRA_CFLAGS="-DSWEEP_POINTS_MAX=201 -DSAVEAREA_MAX=7"


  BUILD   lib/stm32/f0
/bin/sh: 2: Syntax error: Unterminated quoted string
make[1]: *** [Makefile:73: lib/stm32/f0] Error 2
make[1]: Leaving directory '/home/nieldk/build/NanoVNA-V2-firmware/libopencm3'
make: *** [Makefile:76: libopencm3/lib/libopencm3_gd32f3_nofpu.a] Error 2

nieldk avatar Feb 14 '21 18:02 nieldk

replace the backslash in line #27 of libopencm3/Makefile with a slash, make it looking like

SRCLIBDIR:= $(subst $(space),/$(space),$(realpath lib))

dc0sk avatar May 07 '21 11:05 dc0sk

replace the backslash in line #27 of libopencm3/Makefile with a slash, make it looking like

SRCLIBDIR:= $(subst $(space),/$(space),$(realpath lib))

or remove the backslash. But, this should be changed in the repository.

nieldk avatar May 07 '21 11:05 nieldk

Hello, i have at same problem try with my repository. I made this branch for change the reference clock of ADF4350/Si

Repo:https://github.com/Jampag/NanoVna-V2-referance-clock-25MHz

Jampag avatar Nov 23 '22 21:11 Jampag