NanoVNA V2 Forum

Note: this page is a mirror of https://groups.io/g/NanoVNAV2.
Click here to join and see most recent posts.

MCULIB #Compiler


hwalker 2020/05/19 07:07

Salil Tembe wrote:
"..I forgot that Gabriel hasn't uploaded the mculib folder to git. It contains all the drivers. Is there any other link to the source which contains all the dependencies?"
=======================================
Salil,
Hugen was able to compile the firmware for his prototype NanoVNA-V2 (same as Gabriel's project but with case and battery) so the complete source must be available somewhere. Gabriel is a member of this group and may be able to assist you.

- Herb

Dragan Milivojevic 2020/05/19 16:22

https://github.com/gabriel-tenma-white/mculib

On Tue, 19 May 2020 at 16:07, hwalker <herbwalker2476@gmail.com> wrote:

DiSlord 2020/05/19 08:09

I can compile firmware under Windows, use eclipse
Sources:
MCULIB
https://github.com/gabriel-tenma-white/mculib
libopencm3 version for gd32f3
https://github.com/nanovna/libopencm3-gd32f3
NanoVNA V2
https://github.com/nanovna/NanoVNA-V2-firmware

Under windows need install python, and fix
>libopencm3\mk\genlink-config.mk
>libopencm3\mk\genlink-rules.mk
All shell commands
>shell $(OPENCM3_DIR)
Change on
>shell python $(OPENCM3_DIR)

Also in NanoVNA-V2-firmware need set correct path MCULIB and libopencm3
>MCULIB ?= persist/mculib
>OPENCM3_DIR ?= persist/libopencm3

Before compile NanoVNA V2 need build libopencm3

pa3wle 2020/05/19 13:54

I got it compiling on Debian.
Indeed change the Makefile to point to other two repos and build those first.
I used the arm none eabi compiler from the Debian repository.

Salil Tembe 2020/05/20 06:37

Thanks for the git link to the MCULIB. I will clone the repo and try to do a first compile this weekend.

To reply to this topic, join https://groups.io/g/NanoVNAV2