28 lines
482 B
CMake
28 lines
482 B
CMake
cmake_minimum_required(VERSION 3.5.0)
|
|
|
|
set(APP_NAME "Blinky")
|
|
|
|
add_executable(${APP_NAME}
|
|
./main.c
|
|
)
|
|
|
|
target_include_directories(Blinky
|
|
PUBLIC ${FREERTOS_ROOT}/include/
|
|
)
|
|
|
|
target_link_libraries(Blinky LINK_PUBLIC
|
|
pico_stdlib
|
|
FreeRTOS-Kernel
|
|
FreeRTOS-Kernel-Heap4
|
|
)
|
|
|
|
get_test_property(FUCKASS Blinky INCLUDE_DIRECTORIES)
|
|
|
|
message(STATUS "Includes are ${FUCKASS}")
|
|
|
|
pico_enable_stdio_usb(${APP_NAME} 1)
|
|
pico_enable_stdio_uart(${APP_NAME} 0)
|
|
|
|
pico_add_extra_outputs(${APP_NAME})
|
|
|