From 5d04a6c26ae2a605cfa9015185d8fad5b48543dd Mon Sep 17 00:00:00 2001 From: Samveen Date: Sun, 12 Jan 2020 10:21:08 +0530 Subject: [PATCH] show passing of GNU_INSTALL_ROOT to make via param --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dcc83f..03e78c6 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,13 @@ Compiling file: main.c make: *** [_build/main.o] Error 127 ``` -... you may need to edit the `Makefile` and update `GNU_INSTALL_ROOT` to point to the root path of your GCC ARM toolchain. +... you may need to pass the location of the GCC ARM toolchain binaries to `make` using +the variable `GNU_INSTALL_ROOT` as below: +``` +$ make GNU_INSTALL_ROOT=/opt/gcc-arm-none-eabi-9-2019-q4-major/bin/ BOARD=feather_nrf52832 all +``` + +_Please note that the path needs a trailing path separator (a `/`)_ #### 2. `mergehex: No such file or directory`