From fc79b0ffb1ab4b5336e049cb3fc9e91ba2d978e8 Mon Sep 17 00:00:00 2001 From: dizcza Date: Sun, 5 Jun 2022 11:18:48 +0300 Subject: [PATCH 1/2] fixed firmware manual build docs --- firmware/README | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firmware/README b/firmware/README index b4505694..54f14c12 100644 --- a/firmware/README +++ b/firmware/README @@ -31,6 +31,12 @@ $ hackrf_spiflash -w hackrf_usb.bin If you have a Jawbreaker, add -DBOARD=JAWBREAKER to the cmake command. If you have a rad1o, use -DBOARD=RAD1O instead. +If you get the "`arm-none-eabi-gcc` is not a full path and was not found in the PATH" +error during `cmake ..`, install the package with `sudo apt-get install gcc-arm-none-eabi`. + +If you get the "ModuleNotFoundError: No module named 'yaml'" error during `make`, +run `pip install pyyaml` to install the Python yaml pip package. + It is possible to use a USB Device Firmware Upgrade (DFU) method to load firmware into RAM. This is normally only required to recover a device that has had faulty firmware loaded, but it can also be useful for firmware developers. From a2c30a889606343610c707cfcc6a6306e1f3e851 Mon Sep 17 00:00:00 2001 From: Danylo Ulianych Date: Thu, 15 Sep 2022 07:39:48 +0300 Subject: [PATCH 2/2] Update firmware/README Co-authored-by: Martin Ling --- firmware/README | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/README b/firmware/README index 54f14c12..8235e816 100644 --- a/firmware/README +++ b/firmware/README @@ -32,7 +32,10 @@ If you have a Jawbreaker, add -DBOARD=JAWBREAKER to the cmake command. If you have a rad1o, use -DBOARD=RAD1O instead. If you get the "`arm-none-eabi-gcc` is not a full path and was not found in the PATH" -error during `cmake ..`, install the package with `sudo apt-get install gcc-arm-none-eabi`. +error during `cmake ..`, install the +[ARM GNU toolchain](https://developer.arm.com/Tools%20and%20Software/GNU%20Toolchain). +This toolchain is pre-packaged on many platforms and distributions, e.g. on Debian/Ubuntu +you can run `sudo apt-get install gcc-arm-none-eabi` to install it. If you get the "ModuleNotFoundError: No module named 'yaml'" error during `make`, run `pip install pyyaml` to install the Python yaml pip package.