31 lines
459 B
CMake
31 lines
459 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
include(pico_sdk_import.cmake)
|
|
|
|
project(mtgcard)
|
|
|
|
add_executable(mtgcard
|
|
src/main.cpp
|
|
src/display.cpp
|
|
src/pixelstream.cpp
|
|
src/lib.cpp
|
|
src/flash.cpp
|
|
|
|
src/usb_descriptors.c
|
|
)
|
|
|
|
pico_sdk_init()
|
|
|
|
target_include_directories(mtgcard PUBLIC include)
|
|
|
|
target_link_libraries(mtgcard PUBLIC
|
|
pico_stdlib
|
|
hardware_spi
|
|
hardware_dma
|
|
tinyusb_device
|
|
tinyusb_board
|
|
pico_unique_id
|
|
)
|
|
|
|
pico_add_extra_outputs(mtgcard)
|