← index #5866PR #6794
Related · medium · value 3.533
QUERY · ISSUE

Error when building nRF PCA10059 (nRF52840 dongle)

openby scttnlsnopened 2020-04-05updated 2020-04-20
port-nrf

From within the ports/nrf directory I'm running:

make BOARD=pca10059

And getting the following error:

Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
mkdir -p build-pca10059/genhdr
Create build-pca10059/genhdr/pins.h
GEN build-pca10059/genhdr/mpversion.h
GEN build-pca10059/genhdr/moduledefs.h
make: *** No rule to make target 'lib/tinyusb/src/portable/nordic/nrf5x/hal_nrf5x.c', needed by 'build-pca10059/genhdr/qstr.i.last'.  Stop.

Building other targets (i.e. pca10028) works fine. Any ideas?

CANDIDATE · PULL REQUEST

Update ports/nrf/README.md

closedby cHemingwayopened 2021-01-24updated 2021-01-30
port-nrf

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 generated.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied