20 lines
340 B
CMake
20 lines
340 B
CMake
add_library(tmc2209_driver STATIC
|
|
src/tmc2209/step.cpp
|
|
src/tmc2209/uart_interface.cpp
|
|
src/tmc2209/uart_registers.cpp
|
|
)
|
|
|
|
target_include_directories(tmc2209_driver PUBLIC
|
|
include/tmc2209/
|
|
build/
|
|
./
|
|
)
|
|
|
|
target_link_libraries(tmc2209_driver
|
|
pico_stdlib
|
|
hardware_uart
|
|
hardware_pio
|
|
FreeRTOS-Kernel-Heap4
|
|
)
|
|
|