diff options
author | wilsonjwco <87050999+wilsonjwco@users.noreply.github.com> | 2021-07-11 11:47:24 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-11 19:47:24 +0200 |
commit | 7fee2c25894a3113a580d98c947048152af977d9 (patch) | |
tree | 91584f389b72f50dd9f6702c0fef2f4d4d15b843 /doc | |
parent | 829b16a303fdf1d143e15ad53aa3a39251671fe0 (diff) |
Update buildAndProgram.md (#477)
Corrected typo in example usage of cmake BUILD_DFU option. Changed from -BUILD_DFU=1 to -DBUILD_DFU=1
Diffstat (limited to 'doc')
-rw-r--r-- | doc/buildAndProgram.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/buildAndProgram.md b/doc/buildAndProgram.md index afd526e0..5fe593ae 100644 --- a/doc/buildAndProgram.md +++ b/doc/buildAndProgram.md @@ -27,7 +27,7 @@ CMake configures the project according to variables you specify the command line **NRFJPROG**|Path to the NRFJProg executable. Used only if `USE_JLINK` is 1.|`-DNRFJPROG=/opt/nrfjprog/nrfjprog` **GDB_CLIENT_BIN_PATH**|Path to arm-none-eabi-gdb executable. Used only if `USE_GDB_CLIENT` is 1.|`-DGDB_CLIENT_BIN_PATH=/home/jf/nrf52/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gdb` **GDB_CLIENT_TARGET_REMOTE**|Target remote connection string. Used only if `USE_GDB_CLIENT` is 1.|`-DGDB_CLIENT_TARGET_REMOTE=/dev/ttyACM0` -**BUILD_DFU (\*\*)**|Build DFU files while building (needs [adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil)).|`-BUILD_DFU=1` +**BUILD_DFU (\*\*)**|Build DFU files while building (needs [adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil)).|`-DBUILD_DFU=1` ####(**) Note about **CMAKE_BUILD_TYPE**: By default, this variable is set to *Release*. It compiles the code with size and speed optimizations. We use this value for all the binaries we publish when we [release](https://github.com/JF002/InfiniTime/releases) new versions of InfiniTime. |