adafruit / Adafruit_nRF52_Bootloader

USB-enabled bootloaders for the nRF52 BLE SoC chips
MIT License
427 stars 380 forks source link

No such file or directory for "nrf.h" #275

Closed TobiasRoeddiger closed 1 year ago

TobiasRoeddiger commented 1 year ago

Operating System

MacOS

INFO_UF2.TXT

not compiled

What happened ?

I would like to flash via Serial1 and therefore would like to modify the bootloader (btw: are there any obvious ways on how to do that?) I can not compile the standard bootloader because the file nrf.h is not found.

How to reproduce ?

open the terminal and navigate to the repository. then run:

make BOARD=feather_nrf52840_express all

Debug Log

CC dfu_ble_svc.c
In file included from src/dfu_ble_svc.c:41:
lib/sdk11/components/libraries/bootloader_dfu/dfu_ble_svc.h:39:10: fatal error: nrf.h: No such file or directory
   39 | #include "nrf.h"
      |          ^~~~~~~
compilation terminated.
make: *** [_build/build-feather_nrf52840_express/dfu_ble_svc.o] Error 1

Screenshots

No response

TobiasRoeddiger commented 1 year ago

Nevermind, I forgot to initialize the submodules.

git submodule update --init --recursive