nanovna-v2 / NanoVNA2-firmware

Firmware for NanoVNA V2
https://nanorfe.com/nanovna-v2.html
215 stars 85 forks source link

Unable to compile (libopencm3 error) #73

Open nieldk opened 3 years ago

nieldk commented 3 years ago

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
dc0sk commented 3 years ago

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

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

nieldk commented 3 years ago

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.

Jampag commented 1 year ago

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