2022-03-23 09:34:52 +00:00
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../../drivers/esp32spi/esp32spi.cmake)
|
2021-03-29 17:05:06 +01:00
|
|
|
add_library(pico_wireless INTERFACE)
|
|
|
|
|
|
|
|
target_sources(pico_wireless INTERFACE
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/pico_wireless.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(pico_wireless INTERFACE ${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
2021-03-29 21:08:29 +01:00
|
|
|
target_link_libraries(pico_wireless INTERFACE pico_stdlib hardware_spi esp32spi)
|