Download arm cross tools from [here](https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update).
Download arm cross tools from [here](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads).
This version is 32-bit binary, so additional lib32z1 and lib32ncurses5 package required.
You can build firmware using [this docker image](https://cloud.docker.com/u/edy555/repository/docker/edy555/arm-embedded) without installing arm toolchain.
Using [this docker image](https://cloud.docker.com/u/edy555/repository/docker/edy555/arm-embedded) without installing arm toolchain.
$ cd NanoVNA
$ cd NanoVNA
$ docker run -it --rm -v $(PWD):/work edy555/arm-embedded:4.9 make
$ docker run -it --rm -v $(PWD):/work edy555/arm-embedded:8.2 make
## Flash firmware
## Flash firmware
Boot MCU in DFU mode. To do this, jumper BOOT0 pin at powering device.
First, make device enter DFU mode by one of following methods.
Then, burn firmware using dfu-util via USB.
* Jumper BOOT0 pin at powering device
* Select menu Config->DFU (needs recent firmware)
Then, flash firmware using dfu-util via USB.
$ dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D build/ch.bin
$ dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D build/ch.bin
Or do simply
Or simply use make.
$ make flash
$ make flash
@ -95,5 +93,4 @@ Hardware design material is disclosed to prevent bad quality clone. Please let m