I am using NRF52840 DevKit on Ubuntu 18.04 (bionic). I have successfully compiled pc-ble-driver and hex connectivity/softdevice.
I have now download pc-ble-driver-py and would like to reference the compiled version of pc-ble-driver (the one I compiled from source). I am running into following error, which suggests that I can not use my own compiled version of pc-ble-driver. I would like to get a working CMakeLists.txt which can reference the compiled version of pc-ble-driver.
I see following error when I run the "cmake -G "Unix Makefiles" .." command.
My code is structured as:
<ROOT> pc-ble-driver-master - driver and connectivity is compiled successfully here.
<ROOT> pc-ble-driver-py-master - Reference pc-ble-driver-master.
mukul@soumya-SH370:~/nordic/nordic-driver/pc-ble-driver-py-master/build$ cmake -G "Unix Makefiles" ..
CMake Error at CMakeLists.txt:20 (include):
include could not find load file:
pc-ble-driver/cmake/pc-ble-driver.cmake
CMake Error at CMakeLists.txt:21 (add_subdirectory):
The source directory
/home/mukul/nordic/nordic-driver/pc-ble-driver-py-master/pc-ble-driver
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:156 (build_metadata):
Unknown CMake command "build_metadata".
-- Configuring incomplete, errors occurred!
Thanks,
Mukul