From d282c2af0af4f5932d7e79f817f76315c0c0432d Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Fri, 14 Jul 2023 16:18:11 -0500 Subject: [PATCH] Updated Compile firmware (markdown) --- Compile-firmware.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Compile-firmware.md b/Compile-firmware.md index f46f49b..0edae61 100644 --- a/Compile-firmware.md +++ b/Compile-firmware.md @@ -194,6 +194,8 @@ some compiling errors to check it's better to call it without '-j 8') If you want, use -j argument to increase the compile speed, for example `make -j` to auto decide the numbers of threads to compile, or manually set the thread numbers, for example `make -j4` +Developers wishing to test selected functions in the firmware code by running them on their linux PC can also use the command `make build_tests` and then `ctest --output-on-failure` to run the tests. + ## 7. Flash the firmware to HackRF hackrf_spiflash -w /opt/portapack-mayhem/build/firmware/portapack-h1_h2-mayhem.bin