I am trying to run the spp_counter.c example in the pico-sdk. When I run make I am getting this error:
fatal error: btstack.h: No such file or directory
58 | #include "btstack.h"
The code is from the repository. CMakeLists.txt:
cmake_minimum_required(VERSION 3.13)
# initialize the SDK based on PICO_SDK_PATH
# Include build functions from Pico SDK
include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)
project(my_project)
# initialize the Raspberry Pi Pico SDK
set(PICO_BOARD pico_w)
pico_sdk_init()
# rest of your project
add_executable(test
test.c
)
# Add pico_stdlib library which aggregates commonly used features
target_link_libraries(test pico_stdlib)
# create map/bin/hex/uf2 file in addition to ELF.
pico_add_extra_outputs(test)
I'm not sure what I'm missing.