Skip to content

Commit 9ff2378

Browse files
authored
Merge pull request #99 from samveen/doc_fix
show passing of GNU_INSTALL_ROOT to make via param
2 parents 454b281 + 5d04a6c commit 9ff2378

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,13 @@ Compiling file: main.c
163163
make: *** [_build/main.o] Error 127
164164
```
165165

166-
... you may need to edit the `Makefile` and update `GNU_INSTALL_ROOT` to point to the root path of your GCC ARM toolchain.
166+
... you may need to pass the location of the GCC ARM toolchain binaries to `make` using
167+
the variable `GNU_INSTALL_ROOT` as below:
168+
```
169+
$ make GNU_INSTALL_ROOT=/opt/gcc-arm-none-eabi-9-2019-q4-major/bin/ BOARD=feather_nrf52832 all
170+
```
171+
172+
_Please note that the path needs a trailing path separator (a `/`)_
167173

168174
#### 2. `mergehex: No such file or directory`
169175

0 commit comments

Comments
 (0)