Hi there!
I am using the bluetooth/peripheral_hr sample as a basis for my application, on top of which I need to include the nrfx_qspi driver. However, I get a "undefined reference to nrfx_qspi_init" error during linking. I have tried to move the source file to my /src/drivers directory, modified my prj.conf file to include "CONFIG_NRFX_QSPI=y", and modified my CMakeLists.txt file as follows:
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(peripheral_hr)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE
${app_sources}
)
zephyr_include_directories(src)
zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth)
add_subdirectory(src/drivers)
I have looked at a lot of the older forum questions related to this topic. The older ones mention something about a "sdk_config.h" file, but I do not see anything of the sorts.
Any information on how I can move forward would be much appreciated! Thanks in advance.