You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
468 B
20 lines
468 B
cmake_minimum_required(VERSION 3.13)
|
|
include(pico_sdk_import.cmake)
|
|
project(test_project C CXX ASM)
|
|
set(CMAKE_C_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
pico_sdk_init()
|
|
|
|
add_executable(test
|
|
main.c oled.c
|
|
ufb/framebuffer.c ufb/utf8.c ufb/font.c ufb/fb_7seg.c ufb/fb_text.c
|
|
)
|
|
|
|
|
|
target_include_directories(test PRIVATE ufb)
|
|
|
|
pico_enable_stdio_usb(test 1)
|
|
#pico_enable_stdio_uart(test 1)
|
|
|
|
pico_add_extra_outputs(test)
|
|
target_link_libraries(test pico_stdlib hardware_spi)
|
|
|