nrf/README: Add use of "make submodules" in alternative build paragraph.

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.
This commit is contained in:
Chris Hemingway 2021-01-24 14:40:44 +00:00 committed by Damien George
parent 2aecf378be
commit 993ab6aa2c

View File

@ -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: Alternatively the target board could be defined:
make BOARD=pca10040 make submodules
make BOARD=pca10040 deploy make BOARD=pca10040
make BOARD=pca10040 deploy
## Compile without LTO enabled ## Compile without LTO enabled