pimoroni-pico/examples/pico_wireless/sdcard_http.cmake

15 lines
392 B
CMake
Raw Normal View History

2021-05-05 17:32:35 +01:00
add_executable(
wireless_sdcard_http
sdcard_http.cpp
)
# enable usb output, enable uart output
pico_enable_stdio_usb(wireless_sdcard_http 1)
pico_enable_stdio_uart(wireless_sdcard_http 1)
# Pull in pico libraries that we need
target_link_libraries(wireless_sdcard_http sdcard fatfs pico_stdlib pico_wireless)
# create map/bin/hex file etc.
pico_add_extra_outputs(wireless_sdcard_http)