Skip to content

Commit

Permalink
nrf/README: Add use of "make submodules" in alternative build paragraph.
Browse files Browse the repository at this point in the history
Add "make submodules" to commands when building for the first time.
Otherwise, on a first time build, the submodules have not been checked out
and a lot of `fatal error: nrfx.h: No such file or directory` errors are
printed.
  • Loading branch information
cHemingway authored and dpgeorge committed Jan 30, 2021
1 parent 2aecf37 commit 993ab6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ports/nrf/README.md
Expand Up @@ -62,8 +62,9 @@ By default, the PCA10040 (nrf52832) is used as compile target. To build and flas

Alternatively the target board could be defined:

make BOARD=pca10040
make BOARD=pca10040 deploy
make submodules
make BOARD=pca10040
make BOARD=pca10040 deploy

## Compile without LTO enabled

Expand Down

0 comments on commit 993ab6a

Please sign in to comment.