[CLOSED]: nrf_drv_timer.h not found


#1

Have I just picked a bad time to clone the repo, or do others also see this error?

In file included from ../platform/MCU/NRF51/SPARK_Firmware_Driver/inc/hw_config.h:33:0,
                 from src/bluz/bluetooth_le_hal.c:27:
../platform/MCU/NRF51/SPARK_Firmware_Driver/inc/nrf51_config.h:6:27: fatal error: nrf_drv_timer.h: No such file or directory

I’ve found the file in
bluzDK-firmware/platform/MCU/NRF51/NRF51_StdPeriph_Driver/inc/drivers_nrf/timer/
but not in the path my toolchain is looking for it.

I did as told

git clone https://github.com/bluzDK/bluzDK-firmware.git
cd ./main
make clean all PLATFORM=bluz PARTICLE_DEVELOP=1

#2

Sorry about that. Try a git pull, it should be fixed.

My workspace is a bit of a mess right now as I have all the Nordic SDK files pending and waiting final approval from Nordic for me to upload and open source. I had to change the license in all of them, so I have so many files waiting to checkin I just missed that one in the last commit. Apologies.


#3

Yep, now it works :+1: Thanks!

So I had picked a bad time to clone :stuck_out_tongue_closed_eyes: